# FTDI (FT232RL) powers itself through RX/TX lines [duplicate]

I have an FT232RL connected to an AVR Atmega2184P (running the Arduino core) UART. The microcontroller has two power supplies - a LiPo battery (VBat), and USB power (Vin). The way I've designed the circuit is that if the USB is plugged in the battery is disconnected from the circuit and Vin powers the entire circuit. When the USB is unplugged, VBat takes over

The VCC and VCCIO on the FT232 is connected to Vin. Therefore the FTDI chip should only be powered on when the USB device is connected.

I'm noticing weird behavior when the battery is plugged in but the USB is not. As soon as I initiate the UART bus on the microcontroller, and current is sent down the RX and TX lines, the FT232 powers itself up. What is strange is the power is then transferred into the Vin power rail.

This is affecting other parts in my circuit that rely on there not being any power in Vin when the USB is unplugged. If my code doesn't initiate the UART bus, everything works as it should.

Has anybody seen this behavior? I can't see any reason why the FTDI chip would be relaying power back into the VCC line.

I've tested this with multiple processors (different Arduino boards), and multiple FTDI breakout boards. Initially thought it might be a chip issue, but the behavior described is consistent across each device.

## marked as duplicate by Ignacio Vazquez-Abrams, PeterJ, Ricardo, Daniel Grillo, Matt YoungDec 23 '14 at 18:29

• – Passerby Dec 23 '14 at 5:03
• Thx for the links guys! That definitely seems to be the issue. – darudude Dec 23 '14 at 5:35
• @Passerby - I saw in the other questions you recommended optocouplers. Another option I was thinking was that instead of using the FT232 in Bus Powered mode (i.e. USB powers FT232), to operate it in self-powered mode instead. I was planning on powering the FT232 from my VCC5 line (5V regulated supply that both Vin and Vbat feed into). That way, my micrcontroller and FT232 are always powered from the same bus, and I won't run into this issue, as Vin is isolated. Does this make sense? – darudude Dec 23 '14 at 5:38

I use a jumper (not shown) to connect FTDI3.3V as the 3.3V supply to the rest of the circuit.