i.MX6DL cko2 audio clock 24MHz stopped

cancel
Showing results for 
Search instead for 
Did you mean: 

i.MX6DL cko2 audio clock 24MHz stopped

291 Views
torus1000
Contributor V

Now debugging our board, sound card recognized correctly but audio clock 24MHz stopped as following.

(1) Our Custom i.MX6DL board

root@imx6qpsabresd:/unit_tests# aplay audio8k16S.wav audio8k16S.wav audio8k16S.wav &
root@imx6qpsabresd:/unit_tests# ./dump-clocks.sh
clock parent flags en_cnt pre_cnt rate
ckil       --- 00000030 0 0 32768
ckih1    --- 00000030 0 0 0
osc       --- 00000030 6 6 24000000
...
cko2_sel    --- 000000a2 0 0 24000000
cko             --- 000000a2 0 0 24000000
cko2_podf --- 00000025 0 0 24000000
ssi2_ipg       --- 00000005 0 0 66000000
cko2                --- 00000024 0 0 24000000

(2) Sabre-SD board (No problem)

root@imx6qpsabresd:/unit_tests# aplay audio8k16S.wav audio8k16S.wav audio8k16S.wav &
root@imx6qpsabresd:/unit_tests# ./dump-clocks.sh
clock parent flags en_cnt pre_cnt rate
ckil       --- 00000030 0 0 32768
ckih1    --- 00000030 0 0 0
osc       --- 00000030 6 6 24000000
...
cko2_sel    --- 000000a2 1 1 24000000
cko             --- 000000a2 1 1 24000000
cko2_podf    --- 00000025 1 1 24000000
ssi2_ipg          --- 00000005 1 1 66000000
cko2                   --- 00000024 1 1 24000000


How can we debug this issue?

Is there any chance MIPI or other modules stop cko output?

We modified dtsi file as following but other hardware were almost same as sabre board.

+ codec: adau1701@34 {
+ compatible = "adi,adau1701";
+ reg = <0x34>;
+ clocks = <&clks IMX6QDL_CLK_CKO>;                               //clocks = <&clks 201>;

Can anyone help me?

Labels (1)
Tags (2)
0 Kudos
1 Reply

69 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,

    On SabreSD board, only CCM_CLKO1 was used, not CCM_CLKO2. And CCM_CLKO1 was used to provide clock for mipi dsi , AUDIO CODE, camera. 

     CCM_CKO2 can be routed out through GPIO_3 PAD, or NANDF_CS2 PAD, so CCM_CKO2 will not be affected by MIPI or other modules.

Best Regards,

Weidong Sun

0 Kudos