T1024RDB Default I2C Bus 2 SCL frequency

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

T1024RDB Default I2C Bus 2 SCL frequency

Jump to solution
1,233 Views
abineshselvaraj
Contributor III

Hi,

We are using T1024RDB for our project. We need to change the I2C Bus 2 SCL frequency to 100Khz. It is found that, the default frequency divider value is 0x1031. What is the SCL frequency for this divider value and how to change this to 100 Khz. 

Thanks,

S.Abinesh.

0 Kudos
1 Solution
909 Views
r8070z
NXP Employee
NXP Employee

Have a great day,

The SCL Frequency = Source clock frequency/ Frequency divider.

For the T1042 the source clock frequency is the 1/2 Platform Clock frequency. It is generated by the T1024 Platform PLL. The RCW[SYS_PLL_RAT] and input System clock define it.

The frequency divider is defined by I2CFDR and I2CDFSRR register. There is not simple expression but there are FDR Divider Tables. The calculation details and tables you can find in the application note AN2919 “Determining the I2C Frequency Divider Ratio for SCL”, Rev. 5. You can download it from the nxp site.

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
910 Views
r8070z
NXP Employee
NXP Employee

Have a great day,

The SCL Frequency = Source clock frequency/ Frequency divider.

For the T1042 the source clock frequency is the 1/2 Platform Clock frequency. It is generated by the T1024 Platform PLL. The RCW[SYS_PLL_RAT] and input System clock define it.

The frequency divider is defined by I2CFDR and I2CDFSRR register. There is not simple expression but there are FDR Divider Tables. The calculation details and tables you can find in the application note AN2919 “Determining the I2C Frequency Divider Ratio for SCL”, Rev. 5. You can download it from the nxp site.

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos