CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Very unpredictable results with -AD volts

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Eugeneo



Joined: 30 Aug 2005
Posts: 155
Location: Calgary, AB

View user's profile Send private message

Very unpredictable results with -AD volts
PostPosted: Tue Sep 06, 2005 1:40 am     Reply with quote

This was so strange I have to share it with the rest of you. Just take a 16FXXX series processor setup an A/D input pin in 10 bit mode. Then put a small negative voltage with respect to ground. The whole chip starts interrupting and crashing.

I always thought there were protection schottky diodes to ground and VCC.
languer



Joined: 09 Jan 2004
Posts: 144
Location: USA

View user's profile Send private message

PostPosted: Tue Sep 06, 2005 2:09 am     Reply with quote

There are, but you are probably going beyond the maximum ratings. Just out of curiosity, what is the series resistance between this negative supply an the PIC input? Twisted Evil
Ttelmah
Guest







PostPosted: Tue Sep 06, 2005 2:33 am     Reply with quote

Yes.
The clamp diodes are only 'specified' for voltages above Vdd, not below Vss. The 'input low voltage', is specified as Vss _minimum_. There is also the seperate danger of CMOS latch-up. Though modern gates are designed to make this unlikely, if a -ve voltage is present on the input, before power is applied to the chip, the potential for this does exist...

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group