Why void message illegal in I2C

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

Why void message illegal in I2C

1,040件の閲覧回数
xiaohui_xu
Contributor I

I'm reading the I2C standard version 5 generated in 2014 today, and found a note, that mentioned: A START condition immediately followed by a STOP condition (void message) is an illegal format. Many devices however are designed to operate properly under this condition.

I'm wandering the reason why, is anyone familiar with this?

Because we used to design 9 start and 9 stop to recover the deadlock of slave with 9 SCL clock cycle also. START_STOP.png

0 件の賞賛
返信
1 返信

929件の閲覧回数
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello Jessica Xu

Sending an START condition followed by a STOP (void message) is not permitted by the i2c bus specification.

One solution to recover the module from deadlock is switch your SCL and SDA lines to GPIO in order to send those 9 clock cycles an recover the module.

Please refer to this post that could be very useful https://community.nxp.com/message/1204120?commentID=1204120#comment-1204120.

 

Let me know if this is helpful

Best regards,

Omar

0 件の賞賛
返信