Hello,
I've some questions related to the cpuFreq on the ARM side of the OMAP-L138.
I'm the following versions on the ARM side of the OMAP-L138:
- CCS Version 4.2.1.00004
- SYS/BIOS 6.30.03.46 (eabi) ELF
- TMS470 Code Generation Tools 4.6.4
- XDCTOOLS 3.20.07.86
I've also my own platform package, where the Clock Speed (MHz) is set to 300.0
Within the ARM configuration I'm using the module ti.sysbios.BIOS, where the cpuFreq is set to 300MHz (hi = 0, lo = 300000000).
PLL settings for 300MHz are done via AISgen.
We are now planning to set the frequencies (for ARM and DSP to 456 MHz).
Q1: Are there any other settings beside the platform package (456.0), the ti.sysbios.BIOS (lo = 456000000) and PLL settings withn AISgen which need to be modified?
Q2: What is SYS/BIOS resp. the XDCTOOL exactly doing with these CPU frequency settings?
In SPRUEX3K (December 2011) I found an example how to lower the clock module frequency.
page 129/257
Runtime example: This C example uses some of the Clock APIs to lower the Clock module frequency
BIOS_getCpuFreq(&cpuFreq);
cpuFreq.lo = cpuFreq.lo / 2;
BIOS_setCpuFreq(&cpuFreq);
key = Hwi_disable();
Clock_tickStop();
Clock_tickReconfig();
Clock_tickStart();
Hwi_restore(key);
Q3: As my clock module is using a timer as tick source (and intFreq of the timer is set fixed to 24000000 in the configuration), for what do I need to change then the CPU frequency (what is the relationship between clock and CPU frequency)?
Thanks,
Frank