Why void message illegal in I2C

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

Why void message illegal in I2C

1,352 次查看
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 回复

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