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

PORTB: internal pull-up : pull-up resistor size

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



Joined: 10 May 2005
Posts: 323
Location: Belgium

View user's profile Send private message

PORTB: internal pull-up : pull-up resistor size
PostPosted: Thu Jan 15, 2009 2:53 am     Reply with quote

Hi,

I just wanted to know what is the size of the internal pull-up resistors of portB? Using a PIC16F886.

regards
Ttelmah
Guest







PostPosted: Thu Jan 15, 2009 3:20 am     Reply with quote

They are not really 'resistors'. They are MOSFETs, wired to act as current sources. As such, they behave differently to resistors. With a resistor the current drawn increases as the load voltage goes down (so more current is drawn with a connection to '0v', than with a connection to (say) '3v'). The current sources give nearly the same current drawn in both cases.
The currents are significantly 'variable', ranging from about 50uA, to 400uA.
The data sheet for the 886, only gives the figure for the PORTA weak pull up (on MCLR), but the PORTB ones are the same. If you think of them as perhaps equivalent to a resistor of about 50000R, they should pull up at least this well, and in most cases 'better'.

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