lpcware

I2C on LPC1227

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by sicotc on Wed Jan 20 10:17:44 MST 2016
Hello,
I want to configure I2C in master mode. (lpcxpresso board LPC12)
When I send start, the interrupt execute the I2C state engine.
I see STAT = 0x08, (end of start) so I send Adress + W bit.
I put CONCLR.STA and CONCLR.SI bit at 0 (writing 1), and I see CONCLR=0x40 (I2C enable), and STAT = 0xF8, so the processor is sending data.
I can see data on SDA, but SI bit never go to 1, so I don't have any interrupt.
find project archive attached.
Any Idea ?
Thanks,

Christophe

Original Attachment has been moved to: testI2C_lpcxpresso_LPC1227.zip

Outcomes