Posted on June 03, 2011 at 10:35Hi, problem solved, the AF flag is SET BEFORE ENDAD flag! do { lastevent = I2C_GetLastEvent(I2C0); if (lastevent & I2C_FLAG_AF) { I2C_GenerateSTOP (I2C0, ENABLE); I2C_Cm...
Posted on June 03, 2011 at 10:19Hi, I have exactly the same story going on! However, I can see the ACK on my DSO, The AF Flag is never set. Wheter on right I2C address or wrong. I would like to know WHEN to check for the AF Flag after addressing, as...