cancel
Showing results for 
Search instead for 
Did you mean: 

Does CubeIDE "pull-up" GPIO mode means I don't need to use external pull-up resistor?

HTD
Senior III

That's how I would understand it. When I set the output as open drain I need an external pull-up (or pull-down) resistor. Is there a reason I SHOULD use the external resistor? If so - what does this configuration option (pull-up, pull-down) mean exactly?

2 REPLIES 2

@Adam �?yskawa​ "Is there a reason I SHOULD use the external resistor?"

Anytime that the internal pullup is not suitable for your application; eg, its resistance is too high.

As the document linked by @Pavel A.​ says, the typical internal pullup value is ~ 40k - so that's going to be too much for typical I2C.