Page 1 of 1

SNAC Electrical Protection

Posted: Fri Aug 12, 2022 5:26 am
by tms9918
If I am not mistaken, most SNAC boards use mosfet based bidirectional voltage level translator.
Now, I know with SNAC no conversion is done so each core must be matched with its controller.
But let's suppose a user starts a nes core with a genesis controller still plugged after running a genesis game.
In this case the nes core will try to toggle user IO 0 and 1 (clock and latch for the nes snac), but if either up or down are pressed, those lines are held low by the high side of the voltage level translator.

Now, my question is, will that damage the FPGA? Will the FPGA pin will be pulled high with consequent high current draw from the mosfet pulling low?
Or is the output pin set up to work in "open collector" fashion and does it never actively pull high, but let the pull up resistors do that work?

Re: SNAC Electrical Protection

Posted: Fri Aug 12, 2022 12:37 pm
by dshadoff
It’s used in open collector/open drain mode.

Re: SNAC Electrical Protection

Posted: Sat Aug 13, 2022 12:05 pm
by tms9918
Reassuring to hear, thanks!

Re: SNAC Electrical Protection

Posted: Sun Aug 14, 2022 10:06 am
by paulbnl
Yes, if the core uses the unmodified sys framework.

The cores by Jotego and DB9 cores have modified the framework and do pull some pins high when DB9/DB15 is selected.

Re: SNAC Electrical Protection

Posted: Sat Aug 20, 2022 1:58 am
by tms9918
Are these cores in the official repository? Or are they a fork like the ones supporting Snac8?

Re: SNAC Electrical Protection

Posted: Sat Aug 20, 2022 3:07 am
by dshadoff
The Jotego cores and the DB9 cores are not part of the official repository.
But for people using the update-all script, they may not be able to easily distinguish which downloaded cores are the official ones versus unofficial...

Re: SNAC Electrical Protection

Posted: Mon Aug 22, 2022 8:34 am
by tms9918
I am one of such users, I use update_all (I do not uncomment/edit it in any way though)