Question, i.MX6DQ I2C Repeated Start

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Question, i.MX6DQ I2C Repeated Start

Jump to solution
835 Views
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

Labels (2)
0 Kudos
Reply
1 Solution
669 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
670 Views
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 Kudos
Reply