Does CubeIDE "pull-up" GPIO mode means I don't need to use external pull-up resistor?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-16 3:11 AM
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?
- Labels:
-
GPIO-EXTI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-16 5:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-05-16 7:02 AM
@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.
A complex system designed from scratch never works and cannot be patched up to make it work.
