STM32CUBEMX doesn't show GPIO Pull-up/Pull-down option for I2C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-29 12:01 AM
Hello,
I'm trying to imitate an I2C solution. I'm using STM32F100RB.
When selecting I2C ->
In the example, they have these GPIO settings for I2C pins:
Note the GPIO Pull-up/Pull-down option:
Here is mine:
The CUBE version is identical.
The I2C configuration is identical.
What could be the reason?
Thanks!
- Labels:
-
GPIO-EXTI
-
I2C
-
STM32CubeMX
-
STM32F1 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-23 12:03 PM
But this workaround is not a good solution, as the user codes will be wiped off whenever the IOC is compiled. The pull up done in CubeMX is a better choice.
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-23 10:35 PM
It's a workaround, but that's ok. If your work's important, version-control it. And after any cube-change just revert any of its changes you don't want

- « Previous
-
- 1
- 2
- Next »