General > General Technical Chat

Help converting ftdi ft232rl uart to serial down to 1.8v

(1/2) > >>

bigjoncoop:
Hey guys I have a bunch of  ftdi uart to serial boards and they have on board options for 5 volt and 3.3 volt.

I'm trying to flash a device but it has a maximum of 1.8 volts signal. Will there be a simple way of converting the Bible or 3.3 volt signal from the ftdi board down to 1.8 volts without using a dedicated level shifter?

The ftdi adapters I have are using the ftdi ft232rl chip. Which I believe are capable of 1.8 volt signals.

*** actually now that I think about it, I know I can drop the 3.3 volt signal coming from the adapter with a resistor divider down to 1.8 volts and since the ftdi chip on these boards is capable of 1.8 volt signals it might just work. I just dropped the 3.3 volt TX from the board down to 1.8 volts and see if it just works.

I understand I could buy a new uart to serial adapter or purchase a level shifter but I was hoping to do this without having to buy more stuff like always LOL it seems like no matter how much crap you have It's never enough. Thanks for your help

Nominal Animal:
As you can see in the datasheet, pin 4 = VCCIO is the UART (and CBUS) logic level supply on FT232RL (28-lead SSOP package of FT232R).  Basically, you need to derive a 1.8V supply (capable of providing at least 50mA) from the USB 5V, and supply that to pin 4.  Note: I suspect a simple 16R:9R voltage divider (5×9/(16+9)=1.8) will not work; the current draw will make the VCCIO vary (drop) too much when using a simple voltage divider.  And SBCs and FPGAs really don't like exceeding that 1.8V by much, so you cannot compensate by letting the unloaded VCCIO voltage be much higher than the 1.8V.  (On my SBCs, there is less than 0.1V of headroom.)

If the end device uses USB power, and generates a 1.8V supply from it, you can connect that to the FT232R pin 4.  The datasheet mentions that any 1.8V to 5.25V level works, but that 1.8V to 3.3V "should originate from the same supply as VCC", which would be USB 5V: the 3.3V linear regulator is built-in to the FT232RL, output on pin 17.  It can only provide the aforementioned 50mA or so.

If your adapter is one that has a three-pin jumper, where connecting the center pin to one side selects 5V, and center pin to the other side 3.3V, just omit the jumper and provide the 1.8V to that center pin.

Me, I prefer to keep TI TXU0202 (UART), TXU0204 (UART+RTSCTS), and TXU0304 (SPI) in stock.  Plus some 74LVC1T45 in SOT-23 for dead-bugging (in air, no board) in a pinch.

Ian.M:
The phrase VCCIO "should originate from the same supply as VCC" means it should come up when VCC comes up, and go away when VCC does.  This means you shouldn't use external power to feed VCCIO unless you switch it, controlled by VCC.  One way to do that is to connect a low Vgs theshold N-MOSFET to the VCCIO selection header, Source to the center pin, Gate to the 5V pin and Drain to your target 1.8V supply.  When USB power is present the gate will be approximately 3V positive of the 1.8V rail, turning the MOSFET on to power VCCIO.  However, if you want this to work for any target voltage this simple arrangement wont work as the 5V supply wont always be far enough above the target voltage to provide enough gate drive, and you'll need a P-MOSFET, switched by a N-MOSFET, controlled by Vcc.

SiliconWizard:
Yep.

Also if you're considering a FTDI USB-UART chip, IMHO focus on the newer series (like 230X/231X) rather than the oldish 232RL. They are overall in more stock, are much more modern, have never been cloned (that I know of) and are usually cheaper, unless of course you happen to buy non-genuine FT232RL parts from a fishy reseller. Just my 2 cents.

They also have a VCCIO input pin that allows I/O voltages from 1.62V to 3.63V according to the DS.

dobsonr741:
A generic solution to use LVC2T45, made for this purpose.

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod