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 support@ccsinfo.com

MCLR sinks much current

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



Joined: 23 Apr 2004
Posts: 14
Location: Pescara (Italy)

View user's profile Send private message

MCLR sinks much current
PostPosted: Thu Jun 17, 2004 1:09 am     Reply with quote

I connect a 47k resistor directly to MCLR pin of a 16LF648A.
The power supply is 3V but the voltage on MCLR pin is 1.8V.
With 10k the voltage is 2V.

Why?
Ttelmah
Guest







Re: MCLR sinks much current
PostPosted: Thu Jun 17, 2004 4:19 am     Reply with quote

Lorenzo wrote:
I connect a 47k resistor directly to MCLR pin of a 16LF648A.
The power supply is 3V but the voltage on MCLR pin is 1.8V.
With 10k the voltage is 2V.

Why?

Generally, I'd say that 47K, is too high a resistance, to guarantee to pull the MCLR pin into the 'high' state. There was a problem in the past with using high value resistors on this pin (when building systems to support external programming), and on the higher voltage chips, MicroChip advised reducing the value of the resistor used here to 22K.
The 'key', is that the pin draws more current in the 'indeterminate' state, than it draws when it is actually 'high'. This is covered in the note at the bottom of table 17.4, where relating to the current drawn on the MCLR pin, the comment 'The leakage current on the MCLR pin, is strongly dependant on the applied voltage level', is made.
I have seen exactly this behaviour, where if you pull the pin up with (say) a 10K resistor, it goes nearly to the +ve supply rail, and you can then increase the resistor value, and it stays there. However if you try the larger value to begin with, the pin fails to pull through the transition level, and sits drawing more current than normal...

Best Wishes
Haplo



Joined: 06 Sep 2003
Posts: 659
Location: Sydney, Australia

View user's profile Send private message

PostPosted: Thu Jun 17, 2004 5:45 pm     Reply with quote

Any implications with having a 22k pull-up with a diode in series on the MCLR line?
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