Level shifter from 3.3V to 5V
EMHmark7
Posts: 93
Hi,
I need to drive 5v logic from Propeller's 3.3V,
8 lines, only oneway (3.3V to 5V step-motor driver),
Ideally Through hole.
1) Is Propeller TTL or CMOS?
2) Any known chip for that?
Marc
I need to drive 5v logic from Propeller's 3.3V,
8 lines, only oneway (3.3V to 5V step-motor driver),
Ideally Through hole.
1) Is Propeller TTL or CMOS?
2) Any known chip for that?
Marc
Comments
-Phil
If you really want a buffer, use something like a 74HCT device. The 74HCT241 is an octal buffer that might work.
Yep, gotta read the data sheets on any specific chips to determine what is Guaranteed. Looking at some of them, the Vih is dependent on the supply voltage. One device family you may want to check out is the TI 74LVCxxx series. This will give you the level shifting you need but will require two supplies into the chip, one 5V and one 3.3V. Which direction you shift to depends on the select logic lines settings. Specifically look at the 74LVC245xx for a single chip solution to what you are looking for.
Frank/
Here is a link may be worthwhile....
http://www.ti.com/lit/sg/sdyu001z/sdyu001z.pdf
and for those under 25 with good eyesight and high mag,
http://www.ti.com/lit/sg/scyt129e/scyt129e.pdf
knocking around anyway.
My Stepmotor driver is the A4975 from Allegro. Logical input says:
at Vcc 5V: V0max: 1.35V V1min: 2.75
at Vcc 4.6V: V0max: 1.24V V1min: 2.53
But Page 26 of rev 1.4 Propeller's specs says:
at 3.3V: V0max: 0.99V V1min: 1.98 (.3xVdd and .6xVdd)
and I see a 2.85V. So, if you are telling me that typical is normally 3V, I have no problem at 5V any it might help my chance setting device's Vdd at 4.5V.
1) Is this 3V found somewhere in Propeller's specsheet?
I imagine range above is maybe just for input detection, not for values set by the MCU. Anybody can confirm this?
2) About sn74LVC245A http://www.ti.com/lit/ds/symlink/sn74lvc245a.pdf ,
Abstract sounds good, but specsheet does not make sense to me:
It says: support 5V input/output at Vcc 3.3V,
but, reading the tables, I do not see how It can read the Propeller 100% shure unless I set minimum Vcc (2.3 to 2.7V) or less but then,
how can it provide the output with some 5V?
The SN74LVC245A chip has only one supply line, so Frank, I do not catch you: "but will require two supplies into the chip, one 5V and one 3.3V"
I already have a design with both 5V and 3.3V (6V batteries TO a 5V regulator for LCD display and TO the Propeller's QuickStart board that generates 3.3V).
So, if somebody can confirm that the Propeller's all the time typical minimum 3V HI, I'll go with it.
Precisions on the SN74LVC245A are welcome. On Monday, I'll attempt to reach somebody at TI.
Sorry for using so much this forum these days, but I am woking on a tight schedule for this project part of my business startup.
Thanks for your help.
Marc
Thanks,
The Prop voltage specs are defined with some level of output current.
In your case the Alegro chip presents virtually no load current to the prop pin.
Vout hi is essentially the same as VDD.
That being said if you power your chip from 5V then the input hi threshold is 5V * 0.55 = 2.75V. Clearly less the the 3.3V the prop outputs.
Should work fine just by connecting them.
Duane J
FF
But as Duane said, The chip is powered at minimum 4.5V, so, I said 4.6V., giving min 2.53V Vh.
Thanks Peter, now I catch better the propeller specs.
As far as I understand it, if the propeller is powered by a standard 3.3V regulator, and you ask it to output a high, then the output of that pin will be 3.3V.
Your stepper motor quote 0.55 of the regulated supply (presumably 5V) as a high and 0.27 of the supply as low. 0.55 x 5V is 2.75V which is well under 3.3V. So I'm with Duane et al in saying that you don't need any interface chip. That should save you a part and board space.
as you will not induce a current draw, it will probably be closer to 3.2v (referred to as voltage drop under load)
Your chip says minimum 2.75v for the chip to accept a pin as high, so you are good to go.
When a chip spec says max 0.8 etc for a low, it means 0 to 0.8v will be considered low guaranteed.