Part Number: TMS320F2811
Other Parts Discussed in Thread: TMS320F2809,
Hi,
The question is about comparison of CPU speed between TMS320F2809 and TMS320F2811.
I used hardware timer to measure the execution time. The codes are like this.
lTimerStart = ReadCpuTimer0Counter();
for(iTestCpuSpeed1 = 0; iTestCpuSpeed1 < iTestCpuSpeed2; iTestCpuSpeed1++) ;
lTimerEnd = ReadCpuTimer0Counter(); // down counter
if(lTimerEnd > lTimerStart) { // wrap-up
lTimerGap = lTimerEnd - lTimerStart + CpuTimer0Regs.PRD.all;
}
else {
lTimerGap = lTimerStart - lTimerEnd;
}
TMS320F2809 is operated with 20MHz OSC and TMS320F2811 with 30MHz OSC.
The Pll is set as 60MHz for both.
iTestCpuSpeed2 is 10.
The result is that lTimerGap is 179 and 188 for F2809 and F2811 respectively.
F2809 is slightly faster than F2811.
How can you explain this?
Thank you.





