i am using atmel 89c51rd2 controller for developing application. i have interfaced an 2k atmel AT24C02A EEPROM with the controller. can anybody of u tell me how to read and write to the EEPROM. i need the logics in terms of Keil C programming.(C code source code)
The best (and most) IIC appnotes including the bus specification: http://www.semiconductors.philips.com/buses/i2c/support/index.html after all, Philips invented and own the IIC standard. Erik
Tow links that may help: http://www.keil.com/download/docs/apnt_153.zip.asp http://www.keil.com/download/docs/mcb520_i2c.zip.asp Reinhard