How to use CLKO2 to ouput 24MHZ clock?

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

How to use CLKO2 to ouput 24MHZ clock?

1,112件の閲覧回数
daniel_lee1
Contributor II

Hi,

We would like CLKO2 to output 24MHz clock instead of 20MHz on imx8mq EVKB.

How can I do?

Best regards,

Daniel

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

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

Hi Daniel

one can try to set CLKO2 "assigned-clock-rates" in dts file:

fsl-imx8mq-evk.dts\freescale\dts\boot\arm64\arch - linux-imx - i.MX Linux kernel 

However for producing accurate 24MHz clock it is necessary to set proper parent clock

which could be evenly divided. Clock parents can be found in clk driver:

clk-imx8mq.c\imx\clk\drivers - linux-imx - i.MX Linux kernel 

Also may be useful to check

https://community.nxp.com/thread/452513 

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

0 件の賞賛
返信