I2C bus help

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

I2C bus help

822件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ElecoLPC on Wed Mar 09 09:50:54 MST 2016
Hi all,
I don't understand some part of I2C transmission code, I'll explain if I stop the transmission by set the STO bit in LPC_I2C->CONSET , after this there's a while loop that wait the STO flag return to 0 " while(LPC_I2C->CONSET & I2CONSET_STO); " , but some times the hardware doesn't clear the bit... WHY? And If I in while loop and for example Timer1 set the MROINT the CPU doesn't accept the interrupt but remain in while loop, any idea?

Thanks.

Lorenzo.

ラベル(1)
0 件の賞賛
返信
1 返信

778件の閲覧回数
lpcware
NXP Employee
NXP Employee
bump
0 件の賞賛
返信