imx8mp I2C4 - 96.7KHz is measured frequency instead of 100KHz

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

imx8mp I2C4 - 96.7KHz is measured frequency instead of 100KHz

943件の閲覧回数
ankitpanchal167
Contributor III

Hi 

We set i2c 4 frequency on imx8mp 100 khz frequency but when we measured frequency it's getting 96.7 khz. 

on other i2c1,i2c2 and i2c3 it's perfectly generate 100 khz. 

why 96.7KHz is measured frequency instead of 100KHz ? 

0 件の賞賛
返信
2 返答(返信)

933件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Ankit

 

reason may be that parent clock can not be divided evenly for producing exact 100KHz,

one can at information about clocks using clocks unit test and driver

https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_clock_test/README_clocks?h=lf-5.10...

https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/clk/imx/clk-imx8mp.c?h=lf-5.10.y

 

Best regards
igor

0 件の賞賛
返信

926件の閲覧回数
ankitpanchal167
Contributor III

Hi 

We try run dump-clocks scripts not running successfully it's showing below logs,   

root@imx8mp:/unit_tests/Power_Management# ./dump-clocks-dot.sh

 

---- Running < dump-clocks-dot.sh > test ----
deprecated!please check /sys/kernel/debug/clk/clk_summary for detailed info
root@imx8mp:/unit_tests/Power_Management# ./dump-clocks.sh

 

---- Running < dump-clocks.sh > test ----
deprecated!please check /sys/kernel/debug/clk/clk_summary for detailed info

0 件の賞賛
返信