LPC11U14 I2C Issues

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

LPC11U14 I2C Issues

555件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by DaveB on Wed May 09 14:41:50 MST 2012
[B]#Solved#[/B]  Please refer to "Problem in the example i2c LPC1114" thread.

I cannot seem to get past the start condition when initiating an I2C write. I get an interrupt for the 0x08 status then load the slave address into DAT, clear the start condition and SI flag and that is as far as it goes. If I set up a breakpoint in the interrupt and look at the memory, the CONSET register has been cleared!

As far as I know, I have set up the I2C correctly using the IOCON, SYSAHBCLKCTRL,  PRESETCTRL, SCLH and SCLL registers.

Any ideas?:confused:

PS. I have managed to get USB, GPIO, counters, timers etc working on this device and have used I2C on other micros before so I have reasonable experience.
0 件の賞賛
返信
0 返答(返信)