Problem Using all I2C Ports on LPC824

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

Problem Using all I2C Ports on LPC824

473 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by FirmLogic on Wed Dec 03 10:03:55 MST 2014
LPC824-MAX board ...
I expanded the sample code for file "periph_i2cm_interrupt" to setup and use all I2C ports in interrupt mode.  (LPCOpen does not provide sample code for the non fixed I2C port.) Only I2C0 causes an interrupt. I get no activity on the other I2C ports.  I studied the user manual in effort to determine what possible step I am missing. When debugging, after loading the MSTDAT register and the start command in the MSTCTL register, the STAT register is always "0".

Is there a sample code for seting up the other I2C ports?
Labels (1)
0 Kudos
1 Reply

350 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by FirmLogic on Wed Dec 31 22:00:56 MST 2014
Problem was solved: Had to drop the LPC824 MAX board driver library which was always enabling all fixed functions which was overriding my setup.
0 Kudos