Calculating Execution Time from Profiler Result for MPC5744 in MBD

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

Calculating Execution Time from Profiler Result for MPC5744 in MBD

跳至解决方案
1,326 次查看
ykarata1
Contributor IV

Dear All,

 

I am trying to understand how can I convert tick counts to miliseconds in terms of profiler result?

Previously on S32 we learned that Profiler clock freq was 20 MHz S32 has 80 MHz processor and was using 4 as coefficient.

 

We know that MPC5744 has 200MHz processor but we are not sure about Proiler clock freq. What is the ratio for MPC5744? 

 

When we look at generated code, we have seen the PIT timer is configured as depicted in Figure below. But we are not sure whether we are looking at the correct part of the code and whehter Profiler used PIT0.

 

Any help will be appreciated.

 

Thanks.

ykarata1_0-1625065994038.png

 

1 解答
1,306 次查看
mariuslucianand
NXP Employee
NXP Employee

Hello @ykarata1 ,

On the MPC5744P the profiler block uses the STM_0 module for counting the time. The STM0 clock is feed from the PBRIDGEx_CLK clock. On the configuration delivered with MBDT is 100Mhz.

mariuslucianand_0-1625221755279.png

Hope this helps,

Marius

 

在原帖中查看解决方案

1 回复
1,307 次查看
mariuslucianand
NXP Employee
NXP Employee

Hello @ykarata1 ,

On the MPC5744P the profiler block uses the STM_0 module for counting the time. The STM0 clock is feed from the PBRIDGEx_CLK clock. On the configuration delivered with MBDT is 100Mhz.

mariuslucianand_0-1625221755279.png

Hope this helps,

Marius