Nucleo-F411RE I2C issues
I'm trying to do my first project with STM32 and STM32Cube IDE won't let me map SCL and SDA to the proper pins. I can map SDA to Pin D15, SCL to Pin D14, but I need it the other way around. The way the board is marked is SCL/D15 SDA/D14. How can I get that I2C port setup correctly? The pinout & configuration screen shows just the processor, which means pin PB9 is SDA and PB8 is SCL.
I got a Nucleo-F411RE
Posted Sep 1, 2022, 2:30 AM UTC
12
PB8 is D15 is SCL1 in cube, which matches the board markings. So there is something you are missing.
In CubeMX go to Connectivity -> I2C1 and change the dropdown to I2C.
I did that, same issue. I eventually tried micropython and that seems to work correctly.