Pull Up/Down Calculation of microcontroller GPIO

Thread Starter

mishra87

Joined Jan 17, 2016
1,039
How to calculate pull up/down resistor for floating GPIO of micro-controller pins.
Lets say for my application it is STM32L471xx series.
 

dannyf

Joined Sep 13, 2015
2,197
it is application specific.

as a general rule:

100k: "i'm feeling lucky today"
10k: "a day in the office"
1k: "i'm desperate".

btw, your chip has built-in PU and PD resistors.
 

Thread Starter

mishra87

Joined Jan 17, 2016
1,039
it is application specific.

as a general rule:

100k: "i'm feeling lucky today"
10k: "a day in the office"
1k: "i'm desperate".

btw, your chip has built-in PU and PD resistors.
Thanks but still far away from basics.
I want to connect external pull/down resistor .
 

OBW0549

Joined Mar 2, 2015
3,566
Thanks but still far away from basics.
I want to connect external pull/down resistor .
We don't normally calculate the values of pullup/pulldown resistors; it isn't necessary. I would suggest using some value between 5 kΩ and 50 kΩ unless there is some compelling reason to do otherwise. Usually, I use 10 kΩ.
 
Top