Why is the clock frequency of imx8m's i2c very inaccurate?

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

Why is the clock frequency of imx8m's i2c very inaccurate?

1,993件の閲覧回数
baijinlong
Contributor III

I tried to set the three i2c bus frequencies of imx8m to 400kHz. The input clock of I2C is 25M_REF_CLK.

pastedImage_2.png

pastedImage_1.png

However, the actual test found that i2c0 clk is only 342kHz, i2c1 clk is 373kHz, and i2c2 clk is 373kHz. According to the frequency division formula, i2c clk should be 384kHz.

Why does i2c clk output different frequencies when the same 400K is set?

Why is the clock frequency of i2c very inaccurate?

ラベル(2)
0 件の賞賛
返信
1 返信

1,864件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Jinlong

slave devices may slow frequency as described on

Speed - I2C Bus 

Clock Stretching - I2C Bus 

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

0 件の賞賛
返信