Dear all,
I have been facing serious issues with the I2C peripheral (I2C1 in specific with pins PA6 = SCL and PA7 = SDA). I got replies from helpful members, but the problems seems to have remained.
I have configured the peripheral exactly as per the tivaware as well as register setup descriptions in the datasheet, but somehow, whenever I try to read data back from the EEPROM AT24C02 specific area (say 0x00), it simply returns a 0xFF . Sometimes it returns even a garbage value.
Also I have been using an I2C device that works at 5V. So I have used a 10K pullup with the VCC, is there a problem in the voltage level? Is it a problem if the I2C device runs at 5V, whereas the Tiva runs at 3v3?
Please help me with some sample code either in tivaware lookup or direct register configuration that has worked with systems like 24cxx eeprom where we have to write one internal address pointer byte (for eeprom) and then the data.
Regards