I2C communication unstable on STM32F4 when multiple sensors connected
I’m working on a project with an STM32F4 microcontroller and using the I2C bus to connect multiple sensors. Everything works initially, but after some time the communication becomes unstable, returning random values or causing the I2C bus to hang. I have tried lowering the clock speed and checking pull-up resistors, but the issue persists.
Has anyone experienced similar issues with I2C on STM32F4 or found a recommended configuration or hardware fix?
Any guidance or examples would be greatly appreciated. Thanks!
