2024-10-30 02:14 AM
I use STM32F4 Discovery, and when using I2C1 for communication, I encounter a situation where the chip becomes unresponsive while using UART and during operation with I2C1. When I use other I2C interfaces, it works normally. I want to understand what is causing I2C1 to make the chip unresponsive.
When I use other I2C interfaces, the response is only within 100ms, but when using this I2C interface, the response takes several seconds
thanks you
2024-10-30 03:59 AM
Have you checked the board's User Manual and/or Schematics to see if there's anything else on that pin?
Example just now:
2024-10-30 09:35 AM
Hello @bacnk
Make sure that there are no resource conflicts between I2C1 and other peripherals and that I2C1 is correctly initialized and configured in your code.
I advise you to enable timeout register and use an oscilloscope or logic analyzer to monitor the I2C bus.