AnsweredAssumed Answered

How to set the VDK kernel clock accurately in code

Question asked by jack2012 on Nov 6, 2012
Latest reply on Nov 8, 2012 by CraigG

HI!

I have such a problem:

 

The CCLK of my project is 221.184 MHz(The external crystal is 11.0592 MHz, and CCLK is 20 times of it). For some reason I can't set VDK kernel clock  in  the 'Kernel' tab, under "System". I must set VDK kernel clock in my code.

 

When I call VDK_SetClockFrequency() to modified the VDK frequency, I find the paramete of this function is "unsigned int". So I can only set the  kernel clock to 221Mhz. This accuracy does not meet the requirements of my application.

 

I urgent need to know how can I set VDK kernel clock to 221.184 MHz in my code.  Can you give me some suggestion?

 

Thank you very much  !

Outcomes