cancel
Showing results for 
Search instead for 
Did you mean: 

Override default I2C GPIO settings in CubeMX?

DBurr
Senior

Hi,

I'd like to override the GPIO settings for the I2C GPIOs. For example, I want to disable pullups and change the drive strength. In the CubeMX GUI there's not option to do this. So far I've just modified the code that gets generated but annoyingly when I make a change to the CubeMX config these changes get overwritten.

Thanks,

Doug Burrell

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

Enable the I2C and then navigate to System Core -> GPIO -> Configuration -> I2C to change pin settings.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

2 REPLIES 2
TDK
Guru

Enable the I2C and then navigate to System Core -> GPIO -> Configuration -> I2C to change pin settings.

If you feel a post has answered your question, please click "Accept as Solution".
DBurr
Senior

Thanks, that did it.