lpcware

Problem Using all I2C Ports on LPC824

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
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?

Outcomes