5v-3v3 bidirectional buffer
5v-3v3 bidirectional buffer
I'm sure I've come across such an animal: bidirectional buffer with +5 and +3.3v rails, but I'm blowed if I can remember a part number... my search-fu is weak today. It feels like it might be a VLC part...
Any thoughts?
Thanks,
Neil
Any thoughts?
Thanks,
Neil
Re: 5v-3v3 bidirectional buffer
Something like 74lvc4245 ?
Author of the GeckOS multitasking operating system, the usb65 stack, designer of the Micro-PET and many more 6502 content: http://6502.org/users/andre/
Re: 5v-3v3 bidirectional buffer
That's the puppy! Thanks...
I have a coprocessor running at 3v3, but I'd like to run logic at 5v for speed even though the 6502 is happy at the lower voltage.
Neil
I have a coprocessor running at 3v3, but I'd like to run logic at 5v for speed even though the 6502 is happy at the lower voltage.
Neil
Re: 5v-3v3 bidirectional buffer
The PiTubeDirect project uses a pair of 74LVC245A chips to interface the 5v BBC Micro to the 3.3v Pi. It would rely on the 5v side being able to treat a 3.3v signal as logic 1 but they work well in the Beeb at 2Mhz.
-Gordon
-Gordon
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
Re: 5v-3v3 bidirectional buffer
Good point. 3.3V CMOS outputs typically work driving 5V TTL(!) Inputs. But if there are CMOS inputs on the 5V side - and this is more and more common - you may get into trouble. It may work depending on load and other conditions - but no guarantees.
Edit: and of course the 3.3V side inputs must be 5V tolerant
Edit: and of course the 3.3V side inputs must be 5V tolerant
Author of the GeckOS multitasking operating system, the usb65 stack, designer of the Micro-PET and many more 6502 content: http://6502.org/users/andre/
Re: 5v-3v3 bidirectional buffer
That's my concern. I've carefully arranged the connection to the 3v3 STM to use only its 5v tolerant pins, but it's uncertain just how much noise margin there is (n't) going to be to 5v cmos on the 6502 side. It's probably OK for a home test, but I'd like to get it right.
Neil
Neil
Re: 5v-3v3 bidirectional buffer
to throw my 2 cents into the mix, i've been using the FT240X in basically all of my current projects, it only has 3.3V outputs but i've never had any issues when connected to a 65xx Bus or any 5V logic (PLD/CPLD/etc).
the maximum voltage it can give out is 3.6V and the minimum for the 65C02 (according to it's pessimistic datasheet) is 3.5V when using a perfect 5V supply.
though honestly i wouldn't be surprised if it accepted voltages as low as 3V.
so you could just try it and it would very likely just work even at decent double digit clock speeds. though if you want to be safe, use some level shifters like the TXB0108 (which is bi-directional) or a buffer like drogon suggested.
the maximum voltage it can give out is 3.6V and the minimum for the 65C02 (according to it's pessimistic datasheet) is 3.5V when using a perfect 5V supply.
though honestly i wouldn't be surprised if it accepted voltages as low as 3V.
so you could just try it and it would very likely just work even at decent double digit clock speeds. though if you want to be safe, use some level shifters like the TXB0108 (which is bi-directional) or a buffer like drogon suggested.
Re: 5v-3v3 bidirectional buffer
Don't know if this is closer to what you are wanting or not, but I'll be using the TXB0104D:
https://www.ti.com/lit/ds/symlink/txb0104.pdf
It doesn't have 8 bits, but it is bi-directional and super flexible.
Thanks!
Chad
https://www.ti.com/lit/ds/symlink/txb0104.pdf
It doesn't have 8 bits, but it is bi-directional and super flexible.
Thanks!
Chad
Re: 5v-3v3 bidirectional buffer
Another couple of possibilities, thanks. I need to consider whether the processor and memory can both deliver 2mA/pin; that's a big chunk of current...
Neil
Neil
- speculatrix
- Posts: 151
- Joined: 03 Apr 2018
- Contact:
Re: 5v-3v3 bidirectional buffer
sburrow wrote:
Don't know if this is closer to what you are wanting or not, but I'll be using the TXB0104D:
https://www.ti.com/lit/ds/symlink/txb0104.pdf
It doesn't have 8 bits, but it is bi-directional and super flexible.
https://www.ti.com/lit/ds/symlink/txb0104.pdf
It doesn't have 8 bits, but it is bi-directional and super flexible.
It either works or catches fire. Either way is fun.
Zolatron 64 project (on Medium)
Zolatron 64 project (on Medium)
Re: 5v-3v3 bidirectional buffer
There are some nice 8-channel TXS0108E 'modules' available, too.
- Attachments
-
- TXS0108E Level-Shifter.pdf
- (2.18 MiB) Downloaded 75 times
- BigDumbDinosaur
- Posts: 9425
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: 5v-3v3 bidirectional buffer
Proxy wrote:
to throw my 2 cents into the mix, i've been using the FT240X in basically all of my current projects, it only has 3.3V outputs but i've never had any issues when connected to a 65xx Bus or any 5V logic (PLD/CPLD/etc).
the maximum voltage it can give out is 3.6V and the minimum for the 65C02 (according to it's pessimistic datasheet) is 3.5V when using a perfect 5V supply.
though honestly i wouldn't be surprised if it accepted voltages as low as 3V.
so you could just try it and it would very likely just work even at decent double digit clock speeds. though if you want to be safe, use some level shifters like the TXB0108 (which is bi-directional) or a buffer like drogon suggested.
the maximum voltage it can give out is 3.6V and the minimum for the 65C02 (according to it's pessimistic datasheet) is 3.5V when using a perfect 5V supply.
though honestly i wouldn't be surprised if it accepted voltages as low as 3V.
so you could just try it and it would very likely just work even at decent double digit clock speeds. though if you want to be safe, use some level shifters like the TXB0108 (which is bi-directional) or a buffer like drogon suggested.
A lot of these devices have clamping diodes on their inputs that may make the inputs okay with five volts, at the expense of some additional loading on whatever is driving the inputs. There may be something about such a feature in the data sheet.
However, note that PLDs produce TTL-level outputs, not CMOS. A PLD output that has been driven high will not exceed ~3.4 volts under very light loading.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: 5v-3v3 bidirectional buffer
Yes. I want to drive a 5v address bus from 3v3, and read and write a 3v3 data bus... so even with 5v tolerant inputs on the STM I need to ensure that it's driving hard enough. I'm planning on three 74LVC4245 for simplicity (even though it looks like my package choice is either DIP or TSSOP - the latter being a bit tricky to solder).
Neil
Neil
Re: 5v-3v3 bidirectional buffer
An aside: PS/2 keyboard or mouse use a 5v Vcc so I assume TTL logic levels, right? So another level converter required there, since I intend to use the STM to talk to it.
Neil
Neil
Re: 5v-3v3 bidirectional buffer
barnacle wrote:
An aside: PS/2 keyboard or mouse use a 5v Vcc so I assume TTL logic levels, right? So another level converter required there, since I intend to use the STM to talk to it.