How can i set CCM_CLKO1 to 24.576 MHz?
Are you using i.MX6 series SOC? If yes, then I think you can just set the CCM_CLKO1 to output a clock source which listed in the CCM_CCOSR, both clko1_sel and clko2_sel can be set to output to CCM_CLKO1. But I am not sure whether there is a clock source in the list having its freq=24.576MHz. if yes, then you can get it, just need to set the IOMUX to CCM_CLKO, then set the CCM_CCOSR register to select the clock source you wanted.
When cpu imx6 is in sleep status, CCM_CLKO1 still can provide clock?
What do you mean by sleep? SOC in WAIT mode or STOP mode?
CKO can output clock as long as its source clock is there.
Anson huang 黄勇才
Freescale Semiconductor Shanghai
Thanks your response!
select CCM_CLKO1 to 32.768Hhz by setting CLKO1_SEL 1110 ckil_sync_clk_root. then soc enter wait or standby mode.
I can't find whether ckil_sync_clk_root is available on wait or standby mode on <IMX6DQRM.pdf>
my question :https://community.freescale.com/thread/310708
I use imx6 Solo
with 24M crystal as source .
I tried from osc_clock and pll4 clock
In my test , CCM_CLKO1 just output 24M not 24.576M,even from pll4 , I set pll4 with (24*(12+288/1000))/4
And , with CLKO2_EN , CLK02_DIV = 7 ,CLKO2_SEL = 2 CLK_OUT_SET = 1 from usdhc4 usdhc4 use 198M clock ,I just get 49.5M not 24.75M
Do you have any errta about this ?
Retrieving data ...