cancel
Showing results for 
Search instead for 
Did you mean: 

STM8 I2C interface with M24512FDW

arun23
Associate II
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
2 REPLIES 2
arun23
Associate II
Posted on March 13, 2013 at 05:15

Hi ,

Any help on this..

Thanks,

jdf25252
Associate II
Posted on March 13, 2013 at 15:39

You should reevaluate your choice of pull-up resistors.  The 24512 is going to have to sink 33 mA on each pin to drive the bus and is going to see 1.65 V as V In Low which is spec'd as 0.99 V MAX