Hi,
I have a problem with the SYSBIOS function BIOS_getCpuFreq() as the frequency value it returns is incorrect in my software.
I work with the C6678 DSP. In my software I use the BIOS_getCpuFreq() function call which always returns 1000MHz.
BIOS_getCpuFreq (&cpuFreq);
returns
cpuFreq.hi = 0
cpuFreq.lo = 1000000000
I have ran the DSP CPU core at 3 different frequencies 800MHz, 1000MHz and 1200MHz by modifying the PLL settings as in Table 2-24 of the TMS320C6678 Data Manual (http://www.ti.com/lit/ds/sprs691d/sprs691d.pdf). By probing the DSP SYSCLKOUT with an oscilloscope, I have found the CPU frequency indeed gets set to the correct frequency.
Could you let me know what settings I should modify in SYS BIOS so that BIOS_getCpuFreq () will return the correct frequency?
My SYS BIOS version is 6.33.6.50 and the XDC tools version is 3.23.4.60.
Thanks.
Luke