Solved
Stm32f103 I2c Error
Posted on June 02, 2017 at 07:32
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
