Dr Jefyll wrote:
BigEd wrote:
In brief though, isn't the story that it mostly doesn't matter? When a 5V device sees 3.3V on an input, it will interpret it as a logic 1? With only a few exceptions.
Yes, that's usually alright, and is a point worth remembering. But unfortunately the chip Yuri suggested isn't rated to run at 5V.
And the fact we're dealing with bidirectional signals (for the data bus) raises other gotchas. For example, during a read operation an 'HCT or 'AHCT245 operating from a 5V supply can quite readily accept 3.3V inputs from the FPGA and pass them at 5V levels to the CPU. Less advisably, even an 'HC or 'AHC245 (no 'T') could probably do the same. But when the direction reverses for a write operation, the chip will input 5V levels and also output 5V levels back to the 3.3V FPGA...
For these situations, the '
4245 has extra pins so it can accept both a 3V and a 5V supply, allowing it to output 3V signals to one bus and 5V signals to the other.
-- Jeff
Yea, the LVC245 was what seemed like the prevailing wisdom (such as it is) on the net, but when I was looking at it questions came up in my head. I'm glad I asked now.
BigEd wrote:
In brief though, isn't the story that it mostly doesn't matter? When a 5V device sees 3.3V on an input, it will interpret it as a logic 1? With only a few exceptions.
Yes and no. If you're working with TTL it does (as per the document linked by Dr. Jefyll). 3.3V on CMOS however is not sufficient to make a high level signal. The document states that the HTC parts are TTL level logic, but output CMOS signals; so that is one solution.
I was thinking that there was a part like 4245, but I could not for the life of me remember what it was.
Thanks for the feed back!