NES Logic Levels

Discuss hardware-related topics, such as development cartridges, CopyNES, PowerPak, EPROMs, or whatever.

Moderators: B00daW, Moderators

skrasms
Posts: 45
Joined: Mon Jan 14, 2008 7:20 pm
Location: Portland, OR

NES Logic Levels

Post by skrasms »

This is a pretty simple question. What is the threshold voltage for what the 2A03 sees as a logic high coming in?
User avatar
Bregalad
Posts: 8036
Joined: Fri Nov 12, 2004 2:49 pm
Location: Caen, France

Post by Bregalad »

NMOS technology (which is fully compatible with CMOS I guess)
Useless, lumbering half-wits don't scare us.
skrasms
Posts: 45
Joined: Mon Jan 14, 2008 7:20 pm
Location: Portland, OR

Post by skrasms »

Bregalad wrote:NMOS technology (which is fully compatible with CMOS I guess)
Is 3.3V logic enough to drive it?
User avatar
Jeroen
Posts: 1048
Joined: Tue Jul 03, 2007 1:49 pm

Post by Jeroen »

Might work.......definitly not "correct though" stick to 5v for nes.
User avatar
Bregalad
Posts: 8036
Joined: Fri Nov 12, 2004 2:49 pm
Location: Caen, France

Post by Bregalad »

Mmh... You'd definitely want to adds pull-up resistors and/or to test the thing extensively.

I have enough trouble making my 5V board working. The possible sources of error are so numerous that it's a headache (power filtering, good electrical connexion, problem with delays, problem with contacts, solder short-circuit, via touching another componant or solder, etc...).
You don't want to intentionally add more possible errors.
Useless, lumbering half-wits don't scare us.
User avatar
Jeroen
Posts: 1048
Joined: Tue Jul 03, 2007 1:49 pm

Post by Jeroen »

Ya but then you'd have problems with possible revisions. With some nesses working some dont.....just stick to 5v
skrasms
Posts: 45
Joined: Mon Jan 14, 2008 7:20 pm
Location: Portland, OR

Post by skrasms »

I was hoping it would be CMOS/TTL compatible. It would save some parts/hassle

I haven't had any problems driving the 2A03 with 5V CMOS, but that's the most ideal possible case.

Looks like it'll have to be open-drain or buffered circuitry.
skrasms
Posts: 45
Joined: Mon Jan 14, 2008 7:20 pm
Location: Portland, OR

Post by skrasms »

Has anyone ever seen a 2A03 datasheet? I'd love to have one even in Japanese.

HMOS is an improved version of NMOS, isn't it? I noticed the HMOS SID chips that I have are rated for 2V being logic high with a 5V power supply. How different is NMOS?
User avatar
Memblers
Site Admin
Posts: 3901
Joined: Mon Sep 20, 2004 6:04 am
Location: Indianapolis
Contact:

Post by Memblers »

I wasn't aware of HMOS, but according to Wikipedia it's also known as "depletion-load NMOS". The 2 6500 datasheets I just looked at (Rockwell and Commodore) both say it's "N-channel, silicon-gate, depletion-load technology".

2A03 is a clone (excluding the patented BCD mode), I'd assume it's made on the same way..? If that's true, maybe this is accurate enough:
http://www.zimmers.net/anonftp/pub/cbm/ ... 50x-15.gif
skrasms
Posts: 45
Joined: Mon Jan 14, 2008 7:20 pm
Location: Portland, OR

Post by skrasms »

That sounds promising. I'll give it a test soon and see what magic happens.
User avatar
Memblers
Site Admin
Posts: 3901
Joined: Mon Sep 20, 2004 6:04 am
Location: Indianapolis
Contact:

Post by Memblers »

Let us know how it goes. There is a lot of stuff that is 3V.

I wonder if the PPU would be the same?
User avatar
MottZilla
Posts: 2835
Joined: Wed Dec 06, 2006 8:18 pm

Post by MottZilla »

Wasn't part of the issue with the PowerPAK and the FPGA needed being expensive cause it was an older 5V type? Or am I mistaken?
User avatar
Memblers
Site Admin
Posts: 3901
Joined: Mon Sep 20, 2004 6:04 am
Location: Indianapolis
Contact:

Post by Memblers »

MottZilla wrote:Wasn't part of the issue with the PowerPAK and the FPGA needed being expensive cause it was an older 5V type? Or am I mistaken?
Yeah, 5V parts tend to be less available and more expensive than 3V equivalents (if equivalents exist, often they don't, and maybe never exist for new architectures).

I would think the NES can read a 3V signal is being '1', but you still won't be able to use a 5V output from the NES on a 3V system. So it's just a possible optimization, for some simpler cases.
skrasms
Posts: 45
Joined: Mon Jan 14, 2008 7:20 pm
Location: Portland, OR

Post by skrasms »

MottZilla wrote:Wasn't part of the issue with the PowerPAK and the FPGA needed being expensive cause it was an older 5V type? Or am I mistaken?
I'm looking at using some CPLDs that have 3.3V outputs and 5V tolerant inputs. As long as the 2A03 can see 3.3V as logic high then there is no problem with communication.

FPGAs are a bit of a different beast. Even 3.3V can be too much for some modern FPGAs. In that case you need a special FPGA or level shifting circuitry so that the 5V from the NES doesn't cause damage.
User avatar
blargg
Posts: 3717
Joined: Mon Sep 27, 2004 8:33 am
Location: Central Texas, USA
Contact:

Post by blargg »

Can't you just put a resistor in, so that the voltage is reduced to 3.3V via the input protection diodes and the current limited by the resistor? Slew rate will be degraded in both directions, of course.
Post Reply