Skip to main content
Visitor II
April 9, 2003
Question

communication bteween st7 and eeprom

  • April 9, 2003
  • 2 replies
  • 644 views
Posted on April 09, 2003 at 10:52

communication bteween st7 and eeprom

    This topic has been closed for replies.

    2 replies

    Visitor II
    April 9, 2003
    Posted on April 09, 2003 at 04:51

    hai,

    i want to communicate st72f264 and eeprom(M24C0

    ........i want to use I2C peripherals of this micro.

    i have gone thro' st7 software library-I2C and I2CSOFT.i was cofused. i could not understand how to receive acknowledge,write data into eeprom,sending acknowledge ,reading data using i2c peripheral..

    as of now i will have some value written in st72f264 user defined register.i want to store it in eeprom and want to read back to my micro.......

    how can i do that.......pls give code in assembly.........

    could any one tell me what steps i should follow and what issues i should take care of.

    thanks ,

    Arup

    Visitor II
    April 9, 2003
    Posted on April 09, 2003 at 10:52

    Application note AN971(downloadable from this site) is exactly what you are looking for: full explanation of the protocol + code provided!

    Good work !