i.MX6S CLKO1 does not output 32kHz.

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

i.MX6S CLKO1 does not output 32kHz.

跳至解决方案
2,677 次查看
satoshishimoda
Senior Contributor I

Hi community,

I have a question about i.MX6S CLKO.

I tried output 32kHz from CCM_CLKO1 with the following settings.

However, it does not output even though external 32kHz crystal oscillates certainly.

=====

IOMUXC_SW_MUX_CTL_PAD_GPIO05 = 3; (Select CCM_CLKO1, SION=0)

IOMUXC_SW_PAD_CTL_PAD_GPIO05 = 0x0001B0B0;

CCM Clock Output Source Register (CCM_CCOSR)

8 CLK_OUT_SEL : 0 CCM_CLKO1 output drives CCM_CLKO1 clock

7 CLKO1_EN : 1 CCM_CLKO1 enabled.

6-4 CLKO1_DIV : 000 divide by 1(default)

3-0 CLKO1_SEL : 1110 ckil_sync_clk_root

=====

[Q]

Is any additional setting needed to output 32kHz from CCM_CLKO1?

If no additional setting is needed, could you let me know what is considered as a possibility of a root cause?

For your information, 24MHz is output from CCM_CLKO2 with similar setting as above.

Best Regards,

Satoshi Shimoda

标签 (2)
标记 (2)
0 项奖励
回复
1 解答
1,816 次查看
AnsonHuang
NXP Employee
NXP Employee

I just tried it on i.MX6DL sabresd board, and CLKO1 can output 32KHz clock. Below is the config

r159 on i.MX6DL SabreSD board, pin GPIO_0

0x20e020c set to 0 to select it as CLKO1;

0x20e05dc set to 0x1b0b0;

0x20c4060 set to 0x8e to select ckil sync clock output.

Then there will be 32KHz clock output on r159.

I also tried GPIO_5 pin, set 0x20e0230 to 3, we can see 32KHz clock on r66 of i.MX6DL SabreSD board.

在原帖中查看解决方案

0 项奖励
回复
5 回复数
1,816 次查看
satoshishimoda
Senior Contributor I

Hi Yuri, Yongcai,

Thank you for your cooperation.

I got a report from measurement member about root cause.

It was a board pattern issue, the pattern was cut by high temperature.

So now, 32kHz is output correctly from CLKO1 on other board that has no pattern issue.

I appreciate your great support!

0 项奖励
回复
1,816 次查看
satoshishimoda
Senior Contributor I

Can anyone reply me?

0 项奖励
回复
1,816 次查看
Yuri
NXP Employee
NXP Employee

Is CLKO 32 KHz output just a DC level or some waveforms (which look as some kind of noise) may be observed ?

1,816 次查看
satoshishimoda
Senior Contributor I

Hi Yuri,

I'm checking it to measurement member.

Just a moment please?

Best Regards,

Satoshi Shimoda

0 项奖励
回复
1,817 次查看
AnsonHuang
NXP Employee
NXP Employee

I just tried it on i.MX6DL sabresd board, and CLKO1 can output 32KHz clock. Below is the config

r159 on i.MX6DL SabreSD board, pin GPIO_0

0x20e020c set to 0 to select it as CLKO1;

0x20e05dc set to 0x1b0b0;

0x20c4060 set to 0x8e to select ckil sync clock output.

Then there will be 32KHz clock output on r159.

I also tried GPIO_5 pin, set 0x20e0230 to 3, we can see 32KHz clock on r66 of i.MX6DL SabreSD board.

0 项奖励
回复