I²C with CDL library - CMSIS compatibility problem

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

I²C with CDL library - CMSIS compatibility problem

485 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by L.simon on Fri Apr 11 07:28:37 MST 2014
hello everyone,

i need to get USB and I²C going on a LPC4357 and got the usb part working with the nxpUSBlib.
This library works with CDL and untill now didn't ive any problems, i also have a program for I2C working with the CMSIS library

i thought the cmsis library was compatible to the CDL library so i tried to run the I2C program on the CDL lib.

this compiles just fine but while running gets stuck in the while loop in the function I2C_Start()
it seems the I2C interrupt flag doesn't work right, the status (STAT) is 0xF8 which means 'no relevant state info available'

i have no id what to do next!


any help is appreciated!
thanks in advance,

Simon
Labels (1)
0 Kudos
Reply
1 Reply

470 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by L.simon on Thu Apr 17 05:35:14 MST 2014
sorry, i changed the clock settings in the CMSIS library and forgot to do the same in the CDL library
it works fine now
0 Kudos
Reply