Question, i.MX6DQ I2C Repeated Start

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

Question, i.MX6DQ I2C Repeated Start

ソリューションへジャンプ
1,215件の閲覧回数
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,049件の閲覧回数
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,050件の閲覧回数
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 件の賞賛
返信