Tool/software: Code Composer Studio
Hello,
How can test CPU idle time from CCS 9.0.1 for C2000, TMS320F28069F?
Thanks,
Hao
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.
Tool/software: Code Composer Studio
Hello,
How can test CPU idle time from CCS 9.0.1 for C2000, TMS320F28069F?
Thanks,
Hao
Hi Hao,
Do you want to measure unused CPU cycles or the time the CPU is in the IDLE low power mode?
Either way, the most direct way to do this is to just toggle a GPIO when the CPU is unused and observe on a scope.
There are probably other methods depending on exactly what you are trying to measure and how your code is structured.
Hello Devin,
I have a control project. If I want to test this project, should I add to toggle a GPIO or just keep it without any change?
Can you provide me a document about how to add a scope to observe the CPU idle time under CCS?
Thanks,
Hi Hao,
You can try the methods described in the links in this e2e thread:
There are methods using both a GPIO and scope/logic analyzer, or pure software if you are more comfortable with that approach.