Question, i.MX6DQ I2C Repeated Start

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

Question, i.MX6DQ I2C Repeated Start

跳至解决方案
1,234 次查看
Aemj
Contributor IV

Hi All,

My customer is trying to implement I2C Repeated Start handling into his software.

He needs to know when RSTA bit should be set or clear.

Could you show me when RSTA bit should be set or clear for Repeated Start?

BR,

Miyamoto

标签 (2)
0 项奖励
回复
1 解答
1,068 次查看
PeterChan
NXP Employee
NXP Employee

Hello Miyamoto,

RSTA bit is used in I2C master mode to generate the repeated start signal. Set the RSTA bit to 1 to generate the repeated start signal and then poll the IBB bit for '1'. Complete example can be found at drivers/i2c/busses/i2c-imx.c.

Regards,

Peter

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,069 次查看
PeterChan
NXP Employee
NXP Employee

Hello Miyamoto,

RSTA bit is used in I2C master mode to generate the repeated start signal. Set the RSTA bit to 1 to generate the repeated start signal and then poll the IBB bit for '1'. Complete example can be found at drivers/i2c/busses/i2c-imx.c.

Regards,

Peter

0 项奖励
回复