2003-04-09 01:52 AM
communication bteween st7 and eeprom
2003-04-08 07:51 PM
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 , Arup2003-04-09 01:52 AM
Application note AN971(downloadable from this site) is exactly what you are looking for: full explanation of the protocol + code provided!
Good work !