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.