Skip to main content
Visitor II
March 9, 2013
Question

STM8 I2C interface with M24512FDW

  • March 9, 2013
  • 2 replies
  • 897 views
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
    This topic has been closed for replies.

    2 replies

    arun23Author
    Visitor II
    March 13, 2013
    Posted on March 13, 2013 at 05:15

    Hi ,

    Any help on this..

    Thanks,

    Visitor II
    March 13, 2013
    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