Profiling on e200z7 (MPC5777C)?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Profiling on e200z7 (MPC5777C)?

570 Views
constantinrazva
NXP Employee
NXP Employee

Hello guys,

Do you have any example profiling on MPC5777C using the e200z7 PMU? 

From what I understand the flow should be something like this:

  • enter supervisor mode
  • freeze counters
  • clear counters
  • set up events (in my case Ref:1 - processor cycles)

pastedImage_1.png

  • enable counters
  • [code to be profiled]
  • get values of counters
  • get difference in cycles

I'd be great if you could direct me to an example of PMU.

Thanks in advance!

Razvan.

Tags (3)
0 Kudos
1 Reply

470 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Razvan,

we have this application note:

https://www.nxp.com/docs/en/application-note/AN4341.pdf 

Regards,

Lukas

0 Kudos