AnsweredAssumed Answered

How to measure the clock cycles to run a program.

Question asked by AITOR ARANZABAL on Jan 29, 2016
Latest reply on Feb 1, 2016 by AITOR ARANZABAL

Hello all,

 

I use a FRDM-KL25Z board and CodeWarrior 10.5.

I am working with the ADC in the continuos mode and the analog to digital complete interrupt is enabled. I would like to know how to measure the number of cycles that takes it from the ADC conversion is finished until the interrupt sub-routine is executed.

I am exploring the CoderWarrior debugger but I am not able to find out the solution. I run the program step by step by the debugger but I can´t find the solution to measure the cycles.

 

Any help will be appreciated.

Thank you in advance.

Outcomes