Associate II
July 28, 2020
Question
I2C SDA abnormal
- July 28, 2020
- 3 replies
- 1435 views
When I used the STM32L412KB as an I2C slave. when there only one slave on the bus, all the function works well. but if there hastwo devices on the bus and continue to access one slave device, the non-addressed I2C slave will damage the SDA bus. I captured the waveform, the SDA is driving high (not act as OD, act like as push-pull). if alternative to read the slaves (two slave devices), there is no error happened.
I used the CubeMX to get the configuration and initialization. The port configuration is attached.
