Part Number:TMS320F28377S
Tool/software: Code Composer Studio
Hello
I'm using the Profile Clock in CCSv8 to measure how many cycles a loop takes. I was able to get a number (around 10000 cycles, for example). However, while single stepping through one full loop I got a much smaller number (below 2000 cycles per loop). I used a hardware breakpoint for the first method.
Is there something wrong with the way I'm measuring this? What could be causing such a big difference? I'm reading some data from Flash during this loop, so could it be Flash wait states causing this?
Thanks for the help