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.

MSP430F5528: execution time

Part Number: MSP430F5528


Hi,

I am writing programs in C language. I need to calculate exact time for some activity in my application. For that I have to subtract the tame taken by processor from the total time. So I need the time data for every part of my program. Can anybody provide the timing details for C language execution. 

Thanks..

Pabel

  • At the beginning of function turn port pin output low, and at the end change port pin output to high. In that case external device for time measurement is used. Another way is with using free timer, clear and start counting on function begin and stop it at function end, log out timer value.

**Attention** This is a public forum