Standalone SNAC and RAM
- Bren McGuire
- Posts: 96
- Joined: Tue Mar 01, 2022 7:49 am
- Has thanked: 84 times
- Been thanked: 5 times
Standalone SNAC and RAM
Hi, I just bought a DE10-nano and thanks to all the advancements in the MiSTer project I don't think I'll need an IO board (also because I have to put the DE10 inside an A600 chassis and I'm not sure about the clearance), but I feel that I still need at least a SNAC port, is there a standalone SNAC available? If it is, how do I attach it to the DE10?
About the RAM: is there any important info I should know or I can just buy any random 128MB module (I think this is the correct size for the NEO GEO core, but what about the Saturn and PS1, do they need more RAM?)?
About the RAM: is there any important info I should know or I can just buy any random 128MB module (I think this is the correct size for the NEO GEO core, but what about the Saturn and PS1, do they need more RAM?)?
- Sigismond0
- Posts: 339
- Joined: Mon May 25, 2020 2:21 am
- Has thanked: 1 time
- Been thanked: 66 times
Re: Standalone SNAC and RAM
I wouldn't just buy any random 128MB stick, but as long as it's from a reputable vendor you should be OK. For now, there's no compelling reason to get a second stick for PS1, and Saturn is still too far out to really know if it's going to be needed. Just get a single 128MB stick for now, and maybe sometime down the road get another if it turns out to be necessary.
- Bren McGuire
- Posts: 96
- Joined: Tue Mar 01, 2022 7:49 am
- Has thanked: 84 times
- Been thanked: 5 times
- Sigismond0
- Posts: 339
- Joined: Mon May 25, 2020 2:21 am
- Has thanked: 1 time
- Been thanked: 66 times
Re: Standalone SNAC and RAM
I'm not aware of any commercial ones, though I think I've seen people say they've wired their own SNAC port directly into the GPIO pins. I can't be of any specific help there, and unless you can find someone that's done it do provide details, you'd have to reverse engineer a solution from the IO board PCBA design.
- Bren McGuire
- Posts: 96
- Joined: Tue Mar 01, 2022 7:49 am
- Has thanked: 84 times
- Been thanked: 5 times
Re: Standalone SNAC and RAM
OK, thanks. You've been helpful anyway, in fact you gave me an idea. Here's the PCB design:Sigismond0 wrote: ↑Tue Mar 01, 2022 11:00 pm I'm not aware of any commercial ones, though I think I've seen people say they've wired their own SNAC port directly into the GPIO pins. I can't be of any specific help there, and unless you can find someone that's done it do provide details, you'd have to reverse engineer a solution from the IO board PCBA design.
In case someone knowledgeable on this topic will read this: what if I connect the 4 pins from the GPIO to a USB 3.0 port as shown in the picture? I'm not sure about that lone trace with the question mark though.
You do not have the required permissions to view the files attached to this post.
- amstan
- Posts: 56
- Joined: Sat Feb 12, 2022 8:08 am
- Location: Mountain View, California
- Has thanked: 5 times
- Been thanked: 26 times
- Contact:
Re: Standalone SNAC and RAM
If I were you and wanted to keep this spartan, I would buy a USB3.0 breakout board with some header wires.
You're missing the other side of the board, perhaps open the main layout/schematic file in the appropriate software.Bren McGuire wrote: ↑Tue Mar 01, 2022 11:54 pm what if I connect the 4 pins from the GPIO
In case someone knowledgeable on this topic will read this: what if I connect the 4 pins from the GPIO to a USB 3.0 port as shown in the picture? I'm not sure about that lone trace with the question mark though.
- Bren McGuire
- Posts: 96
- Joined: Tue Mar 01, 2022 7:49 am
- Has thanked: 84 times
- Been thanked: 5 times
Re: Standalone SNAC and RAM
Thanks, that's exactly what I need, you saved me a lot of searching and uncertainty.amstan wrote: ↑Wed Mar 02, 2022 2:13 am If I were you and wanted to keep this spartan, I would buy a USB3.0 breakout board with some header wires.
The other side is this:
But since from this side I cannot see the USB connector I'm a bit lost, I'm not sure about which trace goes where.
You do not have the required permissions to view the files attached to this post.
- Bren McGuire
- Posts: 96
- Joined: Tue Mar 01, 2022 7:49 am
- Has thanked: 84 times
- Been thanked: 5 times
Re: Standalone SNAC and RAM
These ones? I'm still not sure about what to do. I can still only identify the top 4 traces.
Also, in the bottom overlay there are these spots called RN12 and RN13 and I'm not sure what to make of them.
You do not have the required permissions to view the files attached to this post.
- amstan
- Posts: 56
- Joined: Sat Feb 12, 2022 8:08 am
- Location: Mountain View, California
- Has thanked: 5 times
- Been thanked: 26 times
- Contact:
Re: Standalone SNAC and RAM
Based on your hesitance to look at the schematic (or parse what the RN does) I'd say you probably want to use a normal IO board instead.
Those 100ohm series resistors are probably for signal integrity in order to minimize reflections (or perhaps to lower potential current leaks?). You're also missing the last pin, it's probably just GND, but in the layout it might nto be immediatelly apparent. I also see there's 10k pullups on all the signals.
Yes, what you want to do is probably doable, but not with understanding how to do it and what the implications would be.
Those 100ohm series resistors are probably for signal integrity in order to minimize reflections (or perhaps to lower potential current leaks?). You're also missing the last pin, it's probably just GND, but in the layout it might nto be immediatelly apparent. I also see there's 10k pullups on all the signals.
Yes, what you want to do is probably doable, but not with understanding how to do it and what the implications would be.
- Bren McGuire
- Posts: 96
- Joined: Tue Mar 01, 2022 7:49 am
- Has thanked: 84 times
- Been thanked: 5 times
Re: Standalone SNAC and RAM
You're right, it'll be a challenge to make it fit inside my Amiga 600 case though (I've already tried the keyboard and it works perfectly (after remapping F12 to F10).amstan wrote: ↑Thu Mar 03, 2022 4:41 pm Based on your hesitance to look at the schematic (or parse what the RN does) I'd say you probably want to use a normal IO board instead.
Those 100ohm series resistors are probably for signal integrity in order to minimize reflections (or perhaps to lower potential current leaks?). You're also missing the last pin, it's probably just GND, but in the layout it might nto be immediatelly apparent. I also see there's 10k pullups on all the signals.
Yes, what you want to do is probably doable, but not with understanding how to do it and what the implications would be.
Aside from that, the other reason why I didn't want to get an IO board is the Saturn/PS1 cores: if they'll end up needing the extra RAM won't I have to remove the IO board anyways? In this case I'll be back to square one.
- amstan
- Posts: 56
- Joined: Sat Feb 12, 2022 8:08 am
- Location: Mountain View, California
- Has thanked: 5 times
- Been thanked: 26 times
- Contact:
Re: Standalone SNAC and RAM
Space savings are a noble goal.
Wouldn't those same pins be not be available because they go to the ram now? I don't think you can have your cake and eat it too.Bren McGuire wrote: ↑Thu Mar 03, 2022 5:00 pm Aside from that, the other reason why I didn't want to get an IO board is the Saturn/PS1 cores: if they'll end up needing the extra RAM won't I have to remove the IO board anyways? In this case I'll be back to square one.
- Bren McGuire
- Posts: 96
- Joined: Tue Mar 01, 2022 7:49 am
- Has thanked: 84 times
- Been thanked: 5 times
Re: Standalone SNAC and RAM
I didn't know that. I guess that in that case I'll have to find another way to use original controllers, thanks for all the help.
-
- Top Contributor
- Posts: 1323
- Joined: Thu Jun 11, 2020 2:31 am
- Has thanked: 15 times
- Been thanked: 213 times
Re: Standalone SNAC and RAM
a) Yes, you can wire directly to the DE10-Nano. I can provide a map from the USB port to the user I/O pins if needed.
b) No, the user I/O pins and the RAM port are entirely different side-by-side pins and are not related.
b) No, the user I/O pins and the RAM port are entirely different side-by-side pins and are not related.
- Bren McGuire
- Posts: 96
- Joined: Tue Mar 01, 2022 7:49 am
- Has thanked: 84 times
- Been thanked: 5 times
Re: Standalone SNAC and RAM
That'd be great, thank you. Sorry for the delayed reply, I didn't realize there were new messages.
-
- Top Contributor
- Posts: 1323
- Joined: Thu Jun 11, 2020 2:31 am
- Has thanked: 15 times
- Been thanked: 213 times
Re: Standalone SNAC and RAM
Sorry for my delay as well - been working on a few things.Bren McGuire wrote: ↑Tue Mar 08, 2022 6:59 amThat'd be great, thank you. Sorry for the delayed reply, I didn't realize there were new messages.
This is the complete pinout including (standard) wire colors - please let me know if anything is unclear.
Code: Select all
Color USB I/O Signal
----- --- --- ------
RED 1 N/C +5V
WHITE 2 2 TX (MIDI out)
GREEN 3 1 I2C SDA
BLACK 4 4 GND (common)
PURPLE 5 8 I2S DAT
ORANGE 6 7 I2S BCLK
drain 7 6 I2C SCL
BLUE 8 5 I2S WS
YELLOW 9 10 RX (MIDI in) [controlled by IO6 on newest boards]
- Bren McGuire
- Posts: 96
- Joined: Tue Mar 01, 2022 7:49 am
- Has thanked: 84 times
- Been thanked: 5 times
Re: Standalone SNAC and RAM
No problem, thanks a lot. I have a couple of questions though:rhester72 wrote: ↑Sat Mar 12, 2022 10:24 pmSorry for my delay as well - been working on a few things.Bren McGuire wrote: ↑Tue Mar 08, 2022 6:59 amThat'd be great, thank you. Sorry for the delayed reply, I didn't realize there were new messages.
The N/C in USB pin 1 means that I must take the current from a powerline somewhere, right (even directly from the PSU)?
Regarding the pinout, I'm gonna use the wikipedia one: it seems to match with yours but I want to be sure, is it OK? (I also posted a picture of the actual connector and the realtive pins to remove any ambiguity)
Here's the pinout:
And the female A plug:
You do not have the required permissions to view the files attached to this post.
-
- Top Contributor
- Posts: 1323
- Joined: Thu Jun 11, 2020 2:31 am
- Has thanked: 15 times
- Been thanked: 213 times
Re: Standalone SNAC and RAM
re: power - yes, you'll definitely need to source +5V. It should be available on the Arduino rail on the other side of the board from the user port.
re: pinouts - to be honest, I'm not 100% certain (it bothers me that our bundles are reversed), but you're right in that mine is 'mirrored' because I was actually working from a male cable end. That being said, there's only four possible combinations to try (RX +/- and TX +/- pairs flipped both ways), so a 6-button Genesis controller (original old-school, not Retrobits!) and a SNAC adapter plus some Duponts should answer that question safely (since they are only data lines).
EDIT: A male cable end because it was plugged into the I/O board at the time of testing, and a Genesis specifically because it's the only one to use all 7 available I/O lines for testing - that plus the 240p test suite (attached) will give you 100% confidence your wiring is correct.
re: pinouts - to be honest, I'm not 100% certain (it bothers me that our bundles are reversed), but you're right in that mine is 'mirrored' because I was actually working from a male cable end. That being said, there's only four possible combinations to try (RX +/- and TX +/- pairs flipped both ways), so a 6-button Genesis controller (original old-school, not Retrobits!) and a SNAC adapter plus some Duponts should answer that question safely (since they are only data lines).
EDIT: A male cable end because it was plugged into the I/O board at the time of testing, and a Genesis specifically because it's the only one to use all 7 available I/O lines for testing - that plus the 240p test suite (attached) will give you 100% confidence your wiring is correct.
You do not have the required permissions to view the files attached to this post.
- Bren McGuire
- Posts: 96
- Joined: Tue Mar 01, 2022 7:49 am
- Has thanked: 84 times
- Been thanked: 5 times
Re: Standalone SNAC and RAM
Thanks a lot, you've been very helpful. Now it's time to source the parts and build it.rhester72 wrote: ↑Wed Mar 16, 2022 4:13 am re: power - yes, you'll definitely need to source +5V. It should be available on the Arduino rail on the other side of the board from the user port.
re: pinouts - to be honest, I'm not 100% certain (it bothers me that our bundles are reversed), but you're right in that mine is 'mirrored' because I was actually working from a male cable end. That being said, there's only four possible combinations to try (RX +/- and TX +/- pairs flipped both ways), so a 6-button Genesis controller (original old-school, not Retrobits!) and a SNAC adapter plus some Duponts should answer that question safely (since they are only data lines).
EDIT: A male cable end because it was plugged into the I/O board at the time of testing, and a Genesis specifically because it's the only one to use all 7 available I/O lines for testing - that plus the 240p test suite (attached) will give you 100% confidence your wiring is correct.
- venice
- Top Contributor
- Posts: 788
- Joined: Tue Jun 16, 2020 9:29 am
- Location: Germany
- Has thanked: 278 times
- Been thanked: 278 times
Re: Standalone SNAC and RAM
Have you seen the resistor combination RN12/13/14/15? Don‘t forget them.
Schematics are from the actual IO Board v6.1.
There is no need to use an USB Socket for a SNAC, I think a 9 Pin Sub-D is more reliable.
Schematics are from the actual IO Board v6.1.
There is no need to use an USB Socket for a SNAC, I think a 9 Pin Sub-D is more reliable.
You do not have the required permissions to view the files attached to this post.
-
- Top Contributor
- Posts: 1323
- Joined: Thu Jun 11, 2020 2:31 am
- Has thanked: 15 times
- Been thanked: 213 times
Re: Standalone SNAC and RAM
I don't want to discount the importance of resistors, but I will say that at least a couple of folks have directly wired Pi pins straight to P7 without obvious issue in the past, I can't imagine SNAC would be much different.
- legacypixels
- Posts: 91
- Joined: Sun May 24, 2020 9:20 pm
- Has thanked: 25 times
- Been thanked: 25 times
Re: Standalone SNAC and RAM
Apologies for the super handy wavy explanation...
Modern devices often don't actually "set" a signal line to 0 or 1, rather, they can provide a GND and hence a 0, or they can "do nothing." In the nothing case, the resistors tied to Vcc actually do the work of making the signal line go high and hence a 1. With the resistors absent, there's nothing to drive the signal high when the device "does nothing". You might get lucky and have these pullup resistors somewhere else on the line, or have a device that can actually drive the signal high or low, but it's a crap shoot, and violates the rules of this particular design.
US based seller of MiSTer addon boards. Visit https://www.legacypixels.com/mister