Problem Using all I2C Ports on LPC824

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Problem Using all I2C Ports on LPC824

948件の閲覧回数
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 返信

825件の閲覧回数
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 件の賞賛
返信