AnsweredAssumed Answered

STM32F407 as i2c slave

Question asked by podmanicky.michal on Feb 25, 2013
Latest reply on Nov 20, 2013 by Clive One
Hi, does someone have experience with unable to clear STOPF bit, what causes continually jumps into i2c IRQ?
I am trying to do it this way:


,but it does not work.

The reference manual says, the STOPF bit is:
Cleared by software reading the SR1 register followed by a write in the CR1 register, or by hardware when PE=0.

The reading of SR1 works ok, but after writing to CR1 using: 
I2C_Cmd(I2C1, ENABLE); 
the STM pulls the SCL constantly LOW.