AnsweredAssumed Answered

Stm32f103  I2c Error

Question asked by Akhil Francis on Jun 2, 2017
Latest reply on Jun 8, 2017 by Zhitai Liu

Hai, I am using Stm32f103vbt6 micro controller, I have some issue with interfacing the I2C EEPROM. 

eeprom is at24cm02. its has only one address pin. In code "I2C_Send7bitAddress " this line has sussefully send, My addres byte is 0xA0. but after that 

 

while(!I2C_CheckEvent(I2C1, I2C_EVENT_MASTER_TRANSMITTER_MODE_SELECTED))
{
/* If the timeout delay is exeeded, exit with error code */
if ((timeout--) == 0) return 0xFF;
}

 

this line getting error.

what is the reason for this?

Please give me a reply

Outcomes