Tool/software: Code Composer Studio
I use msp430f5529, How get program execution time since it started( That's I want function similar to micros() in Arduino)
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
I use msp430f5529, How get program execution time since it started( That's I want function similar to micros() in Arduino)
Hello,
The most common way is to use the Profile Clock. See:
http://dev.ti.com/tirex/explore/node?node=ACh7aaTRwDWC-8ORL0EHMg__FUz-xrs__LATEST
While the clock cannot be read until the target is halted, the benefit of it is that you do not need to add any instrumentation code to your application (like micros() )
Thanks
ki