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
Hi,
I have been using the profile clock in code composer studio to measure cpu cycles
Im wondering how does ccs calculate those values?
Since im planning on using the device for energy harvesting and cannot connect it directly to the pc, I'm interested to getting cpu cycles without using the profile clock
Any help would be appreciated
When you enter a certain state in your code you can set a selected GPIO pin to "1" and leaving that state you can set the same pin to "0".
In your case a time distance measurement would be a time elapsed between down to up and up to down on a pin, or time when pin is a "1" state.
**Attention** This is a public forum