Parasite power
Paul M
Posts: 95
I've been using/evaluating/playing with the propeller for the last few weeks and I'm very impressed. I've been using a USB/Serial converter cable (3.3V) from FTDI. I am using only the RX line (+GND) on the serial cable and "Simple_Serial.Spin" to provide a debug port so I can get·info back from the propeller.
One day, I disconnected power from the circuit but had left the serial cable plugged in and noticed that the propeller was still happily running and·sending data back to the PC (I was monitoring a couple of 1-wire DS18B20's which were also powered from the same supply lines).
This behaviour is not unique to the propeller, but what is the mechanism? , is it possible to damage the chip?, and how does one avoid this problem?
Even if the chip may not be damaged, I suspect that depending on the load, data may be corrupted; not very clever in a commercial application.
Paul
···
One day, I disconnected power from the circuit but had left the serial cable plugged in and noticed that the propeller was still happily running and·sending data back to the PC (I was monitoring a couple of 1-wire DS18B20's which were also powered from the same supply lines).
This behaviour is not unique to the propeller, but what is the mechanism? , is it possible to damage the chip?, and how does one avoid this problem?
Even if the chip may not be damaged, I suspect that depending on the load, data may be corrupted; not very clever in a commercial application.
Paul
···
Comments
You have two options (other than disconnecting the USB to serial converter when the power is off):
1) Put a pull down resistor on the RX line to load it down.
2) Put a Shottky diode between the converter cable's 3.3V output and the Propeller's Vdd line so the cable can properly power the Propeller (and other circuitry) when the main power supply is off. You'll also need a Shottky diode between the main power supply and the Propeller if the regulator is not designed for this situation.
But most likely the current from the USB Plug is limited (<1 mA) in contrast to the current from a standard PC RS-232 interface..
With the boards themselves, there is no "killer value" of resistor to incorporate, some applications need added protection, but some need the rise and fall times to be as short as possible on output signals.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Post Edited (Paul Baker (Parallax)) : 11/19/2007 9:47:10 PM GMT