Other Parts Discussed in Thread: TMS570LC4357
Hi
we are using TMS570lc4357 and we would like to use PMU counters for task profiling and unfortunately it always reads as zero. I have followed the below mentioned sequence, could you please guide me to resolve the issue?
UINT32 cntr;
_pmuInit_();
_pmuEnableCountersGlobal_();
_pmuResetCounters_();
_pmuStartCounters_(0U);
CallDummy();
CallDummy();
_pmuStopCounters_(0);
cntr = _pmuGetCycleCount_();