AnsweredAssumed Answered

LPC4370 DWT cycle counter

Question asked by Andrea Bettati on Aug 28, 2019
Latest reply on Aug 30, 2019 by Andrea Bettati

Hi to you all.
I need to monitor the execution time of some chunks of code and searching on the internet I found that the DWT cycle counter "present on most M3/M4/M7 mcus" is a good way to do that.
Here two blog entries: mcuoneclipse from the forum member Erich Styger and this other one on embedded-computing.
The problem is that searching "DWT" or "Data Watchpoint and Trace" in the UM10503 LPC43xx User Manual doesn't lead to anything. No match.
So, is it called in a different way or not present at all?
If so, is there another similar (easy and lite) way I could measure exec time?

 

Best,
Andrea

Outcomes