This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

problem in interfacing 24C512 EEPROM with TM4C123GH6PM

Hello,

 

I am trying to Interface DS3231 RTC and 24C512 EEPROM with TIVA evaluation board. I am using I2C0 for this purpose. The code I am using is “atmel_soft_i2c.c” available in example library of the board.

 

DS3231 RTC is working perfectly with this file but I am getting trouble with 24C512 EEPROM. Can anyone help me on this.

 

As I can understand RTC needs 1 byte address for reading and writing data. And 24C512 needs 2 byte address for doing the same. How can I do that. Using same example.

 

Thanks

Akshay