Profiling on e200z7 (MPC5777C)?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Profiling on e200z7 (MPC5777C)?

1,484 次查看
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.

标记 (3)
0 项奖励
回复
1 回复

1,384 次查看
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 项奖励
回复