lpcware

Simple example LPCOpen I2C

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Rosfudum on Fri Apr 17 03:05:30 MST 2015
Hi all,

I need to read/write an M24C16 Eeprom with LPC1115 using LPCOpen.

I read I2c example but it's pretty complicated.
It use Master and slave mode, and more than one peripheral.


I really was not able to understand in simply way how I2C works in LPCOpen.


Is there anyone has a just simply routine to write a data inside eeprom and read it as well?

I just need something like

I2C_Init()
I2C_send(data)
data = I2C_read();

Nothing more.
Thank you soooo much.
I'm spending so much time with no success at all.

Can you help me, please?

Outcomes