grounding unused inputs
Russell McMahon email (remove spam text)
>Does not seem to matter if an unused output is fried.
There is a fate WORSE than a cleanly fried output waiting for an in service
device that accidentally flips a grounded unused input to a high and unused
output (or whatever).
This is MUCH higher current drain. I have had a PIC in a micropower
application suddenly draw 100 mA from a 3 volt supply ! :-)
That was from gross inattention (ie stupidity) (5 x inputs connected to VCC
driven as grounded outputs) but it could happen in real life.
What can one man* do?
Donate food daily free !!! - http://www.thehungersite.com/
Donate Vitamin A! http://www.thechildsurvivalsite.com/
http://www.rawa.com - one perspective on Afghanistan
http://www.changingourworld.com http://www.easttimor.com http://www.sudan.com
(* - or woman, child or internet enabled intelligent entity :-))
>> To be "safe", it is best to tie unused input pins to ground [or Vcc,
>> doesn't much matter which] *ONLY* through a resistor, rather than
>> directly with a short. This is not superstition, as during code
>> development it is all too easy to accidentally configure a pin
>> intended as input to output. You then run the risk of
>> short-circuiting an output.
>Perhaps in a low volume product. I wouldn't want to burden a high volume
>product with unnecessary parts for a minor debugging convenience.
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads
See also: www.piclist.com/techref/microchip/ios.htm?key=input
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the