AnsweredAssumed Answered

I2C_FLAG_BUSY problem

Question asked by mologni.stefano.002 on Jul 10, 2014
Latest reply on Mar 12, 2015 by duquesne.joachim
Good morning,
  I have some problems on I2C bus on STM32F1 micro. I have 8 prototipes board (all with the some mounting). 4 of those works fine and I can read and write the EEPROM on board (a 24xx series standard memory). In the other 4 I see that the firmware stuck on this check:

while ( I2C1->SR2 & I2C_FLAG_BUSY );

This is the first I2C instruction after the initialization. It is possible that I have some mistake in the initialization that cause this problem?

Stefano

Outcomes