Posted on December 04, 2012 at 13:12
Hi all,
I am using STm32f2 series and I have a sensor on I2C bus. The problem is that my I2C bus is always busy.
My code:
void
setupClock()
{
RCC_DeInit ();
RCC_HSEConfig (RCC_HSE_ON);
while
(...
Posted on December 04, 2012 at 17:35I send STOP condition after the slave releases SDA.I try both the manual STOP condition (SDA low to hi when SCL hi) and the I2C_GenerateSTOP(I2C2, ENABLE).No effect!