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

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

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

1,335 Views
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.

Labels (2)
0 Kudos
Reply
2 Replies

1,293 Views
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 Kudos
Reply

1,290 Views
zenghuchen
Contributor II

Sure. I am using RT595.