BS2 IO pin off state
Hello,
Could someone tell me what state the IO pins on the BS2 are in when the chip gets cut off? Are they connected t ground or floating high Z?
Thanks,
Jason O
Could someone tell me what state the IO pins on the BS2 are in when the chip gets cut off? Are they connected t ground or floating high Z?
Thanks,
Jason O
Comments
-Phil
If you are asking "what happens when the power to the Stamp is off, but there's power to other circuitry?", the answer is "it's not clear".
There are protective diodes connected in reverse from the I/O pins to both Vdd and Vss. Depending on the voltage applied to the I/O pin,
it's possible for the processor to be partially powered from this connection and anything could happen from other I/O pins having voltages
on them to actual damage to the chip. The Stamp is not designed to be operated this way and generally, normal power should be applied
to the Stamp before or at the same time as power is provided to other circuitry attached to the Stamp. Exceptions include devices
specifically designed for this use like real time clocks or battery-backed RAM.
That makes sense. I'm asking this because I'm trying to determine if I should put some pullup or pulldown resistors on any of the IO pins that are connected to other digital circuitry. I'm not expecting that the Stamp will ever be powered down when other chips are on, but I just want to plan for the worst case scenario. I have a 3-8 line decoder connected to three of the IO pins (74HC138) and I want to make sure that the inputs are set to 000 in the event that the Stamp goes ballistic and needs to be reset. Would you happen to know what happens to the IO pins during a hard reset of the IC?
God Bless,
Jason O
then to whatever state your program dictates.