Calculating Execution Time from Profiler Result for MPC5744 in MBD

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

Calculating Execution Time from Profiler Result for MPC5744 in MBD

Jump to solution
1,406 Views
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 Solution
1,386 Views
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

 

View solution in original post

1 Reply
1,387 Views
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