AnsweredAssumed Answered

handle I2C bus error

Question asked by Spronk.Daniel on Mar 3, 2017
Latest reply on Mar 4, 2017 by T J

I have a problem with the i2c peripherie of a STM32f407.


If i get a bus error the i2c is always busy.
I try to solve this with a I2C_SoftwareResetCmd(I2C1, ENABLE), this works but then i cant start a new communication.


I use the standard libary.



            I2C_GenerateSTOP(I2C1, ENABLE);
            I2C_SoftwareResetCmd(I2C1, ENABLE);