I was trying to interfacing lpc2148 to At24c64.
I have attached the program i used.
But i am not able to read/write please correct me.
addition to the siva points:
1. configure LPC2148 as master and AT24C64 as slave.
2. One more important point is 100 kHz (1.8V, 2.5V, 2.7V) and 400 kHz (5V) Clock Rate so configure appropriate I2C clock.
3. understand the slave READ/WRITE timing diagram of AT24C64.
4. drive the master and probe the i2c lines using CRO/DSO and check it.
5. First try to write a single byte and read a single byte.