lpcware

lpc1769 i2c is not working

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by KalavathiPR on Tue Aug 04 04:15:07 MST 2015
Hi all,

I am using LPC1769 REV C.
I have taken the I2C example code, but it is not working.
I am following the procedure given in periph_i2c/example/readme.text file provided in the example source code.
I am using lpcopen.
I have connected AT34C02 EEPROM.
After following the steps given in readme.txt, I am not able to read or write any data.
Even after writing data to device with address 0x5A, it is showing as:
Written 0 bytes of data to slave 0x5A.
If read:
Read 0 bytes of data from slave 0x5A.
Is the EEPROM inbuilt or which one should I use?


Thanks,
KalavathiPR

Outcomes