This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Interfacing problems of EEPROM using I2C1 port of LPC2378

I am interfacing AT24C1024 (2 Nos.) EEPROM using I2C1 (channel 1) port of LPC2378 but i am not able to read / write into it.
However i have successfully implemented same EEPROM with I2C0 (channel 0) port of LPC2378. And i used same code snippets which i used for I2C0 while interfacing EEPROM with I2C1 but it is not working.
Currently i have disabled I2C0 initialisation, ISR Routines in my code only using I2C1 but still it is giving me problems. SDA0, SCL0 have external pull ups of 10K and SDA1 and SC1 have internal pull ups enabled.
As fas as software is concerned i have used same working code which i used in I2C0 with only changing regsiters name.
Do help me in this regard.

Parents
  • Do you mean that my slave (EEPROM) is waiting for some lost bit / data during transfer and it is getting hanged?? hence NO ACK from EEPROM and it keep SDA pull down, SCL up ( so busy bus)!
    I didnt understand "clock feeding I2C peripherals". Does that mean that i should pull my SCL low to release the bus? or something else. Kindly elaborate. thanks

Reply
  • Do you mean that my slave (EEPROM) is waiting for some lost bit / data during transfer and it is getting hanged?? hence NO ACK from EEPROM and it keep SDA pull down, SCL up ( so busy bus)!
    I didnt understand "clock feeding I2C peripherals". Does that mean that i should pull my SCL low to release the bus? or something else. Kindly elaborate. thanks

Children