How to use CLKO2 to ouput 24MHZ clock?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to use CLKO2 to ouput 24MHZ clock?

1,119 次查看
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,071 次查看
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 项奖励
回复