LPC11U14 I2C Issues

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

LPC11U14 I2C Issues

554 Views
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 Kudos
Reply
0 Replies