想问下TI工程师,TMS320C674X的芯片支持库CSL和rts lib在哪里可以找到?我找了半天没找到在哪下。
另外,FFT例程中那个CLOCK()函数输出的natC和ASM值为0,该如何解决呢?我想调用CLK_gethtime()函数但是调用不成功,该如何调用?
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.
1. CSL可以到下面的连接下载.
http://processors.wiki.ti.com/index.php/QuickStartOMAPL1x_rCSL
rts lib在Code Generation Tool里Texas Instruments\C6000 Code Generation Tools x.x.x\lib
2. 请试试用下面的CLK_gethtime代码.
U32 i;
LgUns time1, time2, timediff;
Float CPUcycles;
// benchmarking the process() DSP call
time1 = CLK_gethtime();
....stuff to be benchmarked...
time2 = CLK_gethtime();
CPUcycles = time2-time1;
timediff = CPUcycles / CLK_countspms();
LOG_printf(&trace,"time1 %d time2 %d\n",time1, time2);
LOG_printf(&trace,"timediff %d IntCycles %d\n",timediff, IntCycles);
LOG_printf(&trace,"CPUcycles %f\n",CPUcycles);