How to enable MAIN clock and AUDIO PLL clock at same time

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

How to enable MAIN clock and AUDIO PLL clock at same time

594 次查看
zenghuchen
Contributor II

I attached audio pll clock to ctimer0 (CLOCK_AttachClk(kAUDIO_PLL_to_CTIMER0)), but read an offset between ctimer0 and system clock. Output of ctimer0 is around 100 ms later than system clock.

If I attach main clock to ctimer0 (CLOCK_AttachClk(kMAIN_CLK_to_CTIMER0)), I read the same value from ctimer0 and system clock.

And because of the system design, I must use audio pll clock.

So is there a way to enable main clock and audio pll clock at the same time?

Or any other way to read similar value?

Thanks.

标签 (2)
0 项奖励
回复
2 回复数

552 次查看
JorgeCas
NXP TechSupport
NXP TechSupport

Hello, I hope you are doing well.

Could you please share us which processor are you using?

Best regards.

0 项奖励
回复

549 次查看
zenghuchen
Contributor II

Sure. I am using RT595.