external pullup resistor for microcontroller

Status
Not open for further replies.

jtronix

Member level 3
Joined
Dec 4, 2012
Messages
67
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,860
how to enable and disable external pullup resistor to microcontroller pin because i'm using one port pin for two applications.. For one application need external pullup resistor whereas for the other application pullup not required.
 

Hi,

Swiching an external pullup is the same as high side switching any other load.

Simple: use a P FET. Source to VCC, drain to the high side of the pullup.
Gate is the low active enable signal.

Klaus
 

If the second application is also digital (I/O, PWM, etc.), then there's no need to remove it. You might need to make it a "weak" pull-up if the alternate function is an output.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…