Good night,
I am using the Freedom KL25Z platform and the Kinetis Design Studio (KDS) software.
How can I measure code execution time in KDS?
Agradeço desde já,
Rafael
Hi rafaalvescomp11,
KDS hasn't this function. You use systick to count time or use gpio and oscillator to monitor.
Rregards,
Jing
Hi,
Systick clock frequency is equal to core clock frequency. For example, if the core run at 48M, the total time is 2410470/48M.
Regards,
Jing
Hi Jing,
Dividing 2410470 by 20.97152M which is the system clock I get as a result 0.11 seconds, but wouldn't the execution time of the attached example have to be close to 5s?
Regards,
Rafael
Hi jingpan,
Thank you.