i.MX8M Mini i2c clock debug

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

i.MX8M Mini i2c clock debug

ソリューションへジャンプ
1,281件の閲覧回数
m_c
Senior Contributor I

Customer would like to change i2c clock by modify device tree, but seems not work.

So we want to debug it by dump related register.

Is it right to dump below register for i2c1 clock because memtool return zero?

pastedImage_1.png

pastedImage_2.png

root@imx8mmevk:~# /unit_tests/memtool -32 0x3038AD00 1

E

Reading 0x1 count starting at address 0x3038AD00

 

0x3038AD00:  00000000

 

root@imx8mmevk:~# /unit_tests/memtool -32 0x3038AD80 1

E

Reading 0x1 count starting at address 0x3038AD80

 

0x3038AD80:  00000000

 

root@imx8mmevk:~# /unit_tests/memtool -32 0x3038AE00 1

E

Reading 0x1 count starting at address 0x3038AE00

 

0x3038AE00:  00000000

 

root@imx8mmevk:~# /unit_tests/memtool -32 0x3038AE80 1

E

Reading 0x1 count starting at address 0x3038AE80

 

0x3038AE80:  00000000

i2c-1

pastedImage_1.png

i2c-2

pastedImage_2.png

ラベル(1)
0 件の賞賛
1 解決策
1,075件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi m.c.

seems you successfully used memtool with i.MX8M Mini on https://community.nxp.com/message/1175392 

For clock change with dts one can look at examples on:

i.MX7D 24MHz clock output to CCM_CLK1_P pin 

Where pll4_bypass_src is set to choose osc 24MHz or CLK2_N/P as source in linux BSP code? 


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

元の投稿で解決策を見る

0 件の賞賛
1 返信
1,076件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi m.c.

seems you successfully used memtool with i.MX8M Mini on https://community.nxp.com/message/1175392 

For clock change with dts one can look at examples on:

i.MX7D 24MHz clock output to CCM_CLK1_P pin 

Where pll4_bypass_src is set to choose osc 24MHz or CLK2_N/P as source in linux BSP code? 


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

0 件の賞賛