Associate II
November 5, 2020
Solved
Custom I2C pins on STM32F103
- November 5, 2020
- 3 replies
- 1680 views
Hello,
I would like to implement an I2C master on an STM32F103. It's pretty straightforward to select the IO's using cubeMX and to generate the code, but I don't want to use either of the available pins for I2C (PB7,PB6 or PB9,PB8). I need to use PB5 as SDA and PB4 as SCK. Is there a way to do this in cudeMX/cubeIDE without writing a custom I2C ?
Regards,
Mawaba.