How to generate 24.576MHz(CLKO1) from 24MHz(OSC) in SABRE SD board?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to generate 24.576MHz(CLKO1) from 24MHz(OSC) in SABRE SD board?

Jump to solution
1,319 Views
jackeyko
Contributor III

Hi Freescale,

I want to generate 24.576Mhz to CLKO1.

I tried  the CCM configration with Audio PLL register (CCM_ANALOG_PLL_AUDIO / CCM_ANALOG_PLL_AUDIO_NUM / CCM_ANALOG_PLL_AUDIO_DENOM).

pastedImage_0.png

Plase let me konw how to generate 24.576MHz(CLKO1) from 24MHz(OSC) and if possible, provide reference code(clk-imx6q.c).

[Information]

CPU : i.MX6Q 

-SW : imx-3.14.28-1.0.0_ga

Thanks,

Labels (2)
0 Kudos
1 Solution
847 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jackey

one can try to configure PLL for 737.28MHz (24.576=737.28/30) with

DIV=30, NUM=72, DENOM=100 and dividing with ssi_clk_pred, with ssi_clk_podf,

output ssi_clk_root on CLKO.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
4 Replies
847 Views
jackeyko
Contributor III

Hi Igor,

I have succeed to generate 24.576Mhz to CLK1 with your configuration.

Thank you so much.

Jackey

0 Kudos
847 Views
jackeyko
Contributor III

Hi Igor,

Thanks for your message.

I understood your PLL configration(DIV=30, NUM=72, DENOM=100).

But How to configure 30 devider(24.576=737.28/30) with ssi_clk_pred and ssi_clk_podf?

[ssi1_clk_pred and ssi1_clk_podf register - 20C_4028h]

pastedImage_5.png

Please let me konw ssi clk pred and ssi clk podf configration.

Thanks,

Jackey

0 Kudos
847 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jackey

for 30 divider one can select

ssi_clk_pred=100  (divide by 5)

ssi_clk_podf=101  (divide by 6)

Best regards

igor

0 Kudos
848 Views
igorpadykov
NXP Employee
NXP Employee

Hi Jackey

one can try to configure PLL for 737.28MHz (24.576=737.28/30) with

DIV=30, NUM=72, DENOM=100 and dividing with ssi_clk_pred, with ssi_clk_podf,

output ssi_clk_root on CLKO.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos