Question
STM8 I2C interface with M24512FDW
Posted on March 09, 2013 at 09:28
Hi ,
I'm using STM8L151C4 in my design. I have interfaced this with I2C EEPROM M24512FDW (ST make). Plz refer attachment for the schematic. I had pulled the enable lines of the EEPROM ( E0, E1, E2) to high (3.3V) & set the slave address of EEPROM as 0XAF. I'm using R-Link Compiler (Raisonnance) & using its sample i2C code. The problem is that the micro is not able to reach the slave EEPROM & the code hangs. I could not understand the reason for this behaviour. Could you help me out of this issue. Thanks Arunkumar.S