Skip to main content
bmagnan
Associate
July 2, 2010
Question

EEPROM I2C help. Needing functions/register help.

  • July 2, 2010
  • 2 replies
  • 654 views
Posted on July 02, 2010 at 17:13

EEPROM I2C help. Needing functions/register help.

    This topic has been closed for replies.

    2 replies

    stforum2
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 13:57

    The attached reads the temperature sensor on our STM3210B-EVAL board.

    Regards

    Crossware

    John F.
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 13:57

    Look at an2824.

    http://www.st.com/stonline/products/support/micro/files/an2824.zip

    It might be as easy to write your own bit bashing routines for I2C. Even with the newer routines in an2824, some people have suggested that it may still be necessary to provide means to ''clock out'' the I2C bus if a device ''hangs'' the bus (so you may as well do the whole job).

    That said, I'm using the ST routines to read and write an M24C64 EEPROM and they work.

    John F.