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!
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
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