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.
工具与软件:
尊敬的 TI:
我正在使用 SDK MCU-SDK-AM64X 09.02.01.05、NORTOS R5F;支持 API 函数"CycleCounterP_getCount32"
为什么 FreeRTOS R5F 不支持"CycleCounterP_getCount32"?endCounter 的值是错误的
例如:
uint32_t startCounter、endCounter;
/*计算开销*/
CycleCounterP_RESET();
startCounter、= CycleCounterP_getCount32 ();
/*调用函数来分析*/
endCounter= CycleCounterP_getCount32();
开销= endCounter- startCounter、
DebugP_LOG ("total endCounter=%d cycles\r\n"、endCounter);
DebugP_log ("总开销:%d 个周期\r\n"、开销);
您好、Chen、
您认为周期计数器将针对无 RTOS 示例本身工作、这是正确的。
对于 FreeRTOS 的正确值、可以尝试以下方法吗?
您能否注释突出显示的行、再次构建库和示例并尝试运行应用程序?
此致、
Vaibhav