This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Omap3530 - how to set DSP clock rate?

Other Parts Discussed in Thread: OMAP3530

Running Linux 2.6.31 and DSPLink 1.61.03 on OMAP3530

I am having trouble setting or even knowing what clock rate the DSP is running at in my application.

Can anyone provide instructions for setting the DSP clock rate?  I see some references to the clkfreq driver, but I'm not sure where to get started with this.  Should the DSP be able to run at 520Mhz as indicated in the data sheet?  I'd like to run it as fast as possible.

Thank you

  • With the older SDK 1.0.2 PSP release of the 2.6.22 kernel you could control OPP with sysfs entries, however with the more current SDK 2.0 that has a 2.6.29 kernel this capability was not implemented during the port, and from a TI released SDK perspective more comprehensive cpufreq driver support should be available in an upcoming SDK 3.0 release (I have not dates for availability).

    Since you are using a bit of a newer kernel some of these features may be available to you already, check out http://elinux.org/OMAP_Power_Management for details as to how you can control OPP manually if you are using the OMAP power management branch. DSP and ARM speeds are tied together, and typically the maximum speed is OPP5 which corresponds to 600MHz ARM and 430MHz DSP, if you are using a higher speed grade device (i.e. your orderable part number ends in 72) than you can also leverage OPP6 which gives 720MHz ARM and 520MHz DSP, however I am not sure that this configuration has been built into the cpufreq driver yet.