I2C on LPC1227

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

I2C on LPC1227

1,045件の閲覧回数
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

ラベル(1)
0 件の賞賛
返信
1 返信

841件の閲覧回数
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 件の賞賛
返信