T1024RDB Default I2C Bus 2 SCL frequency

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

T1024RDB Default I2C Bus 2 SCL frequency

ソリューションへジャンプ
1,587件の閲覧回数
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 件の賞賛
返信
1 解決策
1,263件の閲覧回数
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 件の賞賛
返信
1 返信
1,264件の閲覧回数
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 件の賞賛
返信