I2C on LPC1227

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I2C on LPC1227

875 Views
lpcware
NXP Employee
NXP Employee
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

Labels (1)
0 Kudos
1 Reply

671 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sicotc on Sat Jan 23 13:12:26 MST 2016
I decided to try on a new board, and it works ...
0 Kudos