Electrical – Unexpectedly drawing power over serial tx/rx? What to do

power supplyserialusb device

I have this TTL-to-USB-serial device (supposedly from WINGONEER, who doesn't seem to have any documentation on how to use it):

https://www.amazon.com/gp/product/B06XY18XLL

picture of board

I'm using it to hook up serial console on a system that has a 3.3V TTL serial debug connector with 4 pins: ground, tx rx, and a +3.3V supply. Since the USB adapter above produces 5V and 3.3V outputs on those pins, I left them unconnected. My expectation was that the adapter would only power up when the USB port is connected to a USB host, and that it would otherwise remain unpowered.

To my surprise, when I tried powering up the system it's connected to without the USB cable connected, the LEDs on the adapter lit and it seemed to be operational (power LED steady, activity LED flashing). Presumably it's drawing power over the RX line.

Is this potentially damaging?

I found the datasheet for the CP2102 chip and it indicates that the 3.3V can be configured as a supply or an output, but it seems to be configured as an output on this board. Would it be safe to hook it up?

Best Answer

schematic

simulate this circuit – Schematic created using CircuitLab

It is common for pins on a chip to be protected with diodes. These diodes clamp the pin to the rails. This way if a voltage transient occurs such as a static discharge the pin is undamaged. The TX and RX lines are pulled up with resistors somewhere. This may be inside the chip or externally. UART has to have pull-ups. What is most likely happening is that D1 is forward biasing and powering up the rail that it is attached to. You can increase the value of the pull up on the line to alleviate this effect.