It is currently Sun Dec 17, 2017 2:25 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Thu Aug 13, 2015 7:28 pm 
Offline
User avatar

Joined: Thu Mar 26, 2015 6:34 pm
Posts: 33
I'm attempting to make an adapter for my TNX-HFX4 to free up a cartridge slot (it only has 4, not enough room for the 5th [6th expansion being a YMZ294 taking the place of a 5B])
Image
I think I've got everything figured out but when I try this out on the YM2413 socket on the board I get no sound output. I've gotten everything that's straightforward, like power and ground, xtal in/out, all the data lines, but when it comes to the YM's /IC, /WE, and /CS, I'm not sure where to put them on the VRC7. I had a small talk with rainwarrior about this and he suggested (or it seemed like it) tying /WE and /CS to the VRC7's W/R line (pin 4) and this thread suggests tying /IC to M2, however after taking these steps, I either get no sound or garbage. I'd have used that thread for everything, but since nothing more than overly-saturated flash photos were uploaded, that option's out. Can anyone who knows anything help out?


Top
 Profile  
 
PostPosted: Thu Aug 13, 2015 7:30 pm 
Offline

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6537
Location: Seattle
The Lagrange Point PCB has some kind of amplifier on it. Maybe the output from the VRC7 is extremely quiet otherwise?

Anyway, connectivity "ought" to be /CS→/ROMSEL and /WE→R/W. The VRC7 doesn't have anything like an /InitialClear input, so I'd just leave that floating.


Top
 Profile  
 
PostPosted: Thu Aug 13, 2015 7:38 pm 
Offline
User avatar

Joined: Thu Mar 26, 2015 6:34 pm
Posts: 33
Thanks, I'll try that out tomorrow. Hopefully this works and I can get those boards made.

EDIT: I forgot to add. /WE and /CS are tied together on the HFX as well under the socket. Should I just connect W/R and /ROMSEL together since W/R is already connected to /WE and /CS?


Top
 Profile  
 
PostPosted: Thu Aug 13, 2015 8:52 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 5899
Location: Canada
To clarify, what IaTM told me was that /CS + /WE were bridged for the YM2143, and since this only allows two states (both 0 or both 1), those two states sounded like a /WE function according to the YM2143's datasheet. From the datasheet: both 0 = data writes either register address/contents depending on A0, and both 1 = high impedence data bus.

I didn't review anything else about the adapter idea, so I don't know about any of the other lines or what the expected behaviour of the TNS is for them.


Top
 Profile  
 
PostPosted: Fri Aug 14, 2015 12:29 pm 
Offline
User avatar

Joined: Thu Mar 26, 2015 6:34 pm
Posts: 33
Alright, so I tried it, but for all I know it could be working 100%. The DIP switch to select between on-board YM2413 and VRC7 isn't doing anything as Lagrange Point still works as a sound source despite the switch being in either position (AFAIK, it shouldn't do this at all). I'm out of ideas at this point because I have no other way to test a YM2413.


Top
 Profile  
 
PostPosted: Sat Aug 15, 2015 4:00 am 
Offline

Joined: Fri Jul 04, 2014 2:34 pm
Posts: 296
Location: Germany
I've found a schematic for VRC7, hope this helps.


Attachments:
162343475_large.v1438983636.png
162343475_large.v1438983636.png [ 190.47 KiB | Viewed 1272 times ]
Top
 Profile  
 
PostPosted: Sat Aug 15, 2015 5:05 pm 
Offline
User avatar

Joined: Thu Mar 26, 2015 6:34 pm
Posts: 33
Thanks, but it doesn't really seem to supply anything that already wasn't figured out (besides showing /IC connected to Vcc which makes sense, considering it resets if it's low), plus it's the other way around. Applesorce is using a LP cartridge to drive a YM2413. Then again, I'm pretty sure I'm hideously dense, so I'll pour over this over the next couple of days, start fresh, and hopefully see where I've screwed up because this seems way too obvious.


Top
 Profile  
 
PostPosted: Fri Sep 18, 2015 10:41 am 
Offline
User avatar

Joined: Wed Jul 13, 2011 6:51 am
Posts: 395
Location: Brasilia, Brazil
Connect your VRC7 like this:

Pins to GND:
3, 24, 28, 29

Pins to VCC:
1, 2, 19, 27, 30, 42

/ROMSEL (45) > OPLL /CS
R/W (4) > OPLL /WR

How you connect the clock is critical and depends on how the cart is wired. Perhaps it's best fit a new clock crystal specific for the VRC7 and not use the clock from the board. But if you must:

X2 (17) is equivalent to the XIN OPLL pin.
X1 (18) is equivalent to XOUT OPLL pin.

If they're driving the YM2413 from a single clock signal just connect pin 17 of the VRC7 to pin 8 of the OPLL socket. If they're using the oscillator driver from the OPLL you need to connect pin 18 to pin 9 of the OPLL socket. But long wires might cause the oscillator to not work correctly. So you can make it oscillate by mouting a 3.57Mhz oscillator on the VRC7 like this:


gnd ----||--x--|3.57|--x--||----gnd

3.57 is a 3.579545Mhz quartz oscillator, the two capacitors are 22pf "x" is the spot where you connect pins 17 and 18 of the VRC chip respectively.

Respect the rest of the wiring diagram on the Japanese drawing as it's correct.

If this is done correctly you will have sound being output at VRC7 pin 43. Make sure to use a capacitor and have a resistor (2k2 to 4k7) to GND to drain some current otherwise there won't be any sound.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: Bing [Bot], Google Adsense [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group