Problem Using all I2C Ports on LPC824

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Problem Using all I2C Ports on LPC824

949 次查看
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?
标签 (1)
0 项奖励
回复
1 回复

826 次查看
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 项奖励
回复