Thanks @soledad. I will try this link. But, I guess, the implementation in LPC Open differs in the following section:
Below is an excerpt from the AT24C16D data sheet (http://www.atmel.com/images/Atmel-8906-SEEPROM-AT24C16D-Datasheet.pdf )
5 Write Operations
All Write operations for the AT24C16D begin with the Master sending a Start condition, followed by a Device Address byte with the R/W bit set to ‘0’, and then by the Word Address byte. The data value(s) to be written to the device immediately follow the Word Address byte.
But, the way LPC Open handles a write operation is different and follows the datasheet of LM75 temperature sensor. So, I am in doubt if I can at all use LPC Open for handling AT24C16D.
Can anybody from the lpc1549 team help me to confirm if lpcopen v2.20 is compatible with AT24C16D eeprom ?