Calculating Execution Time from Profiler Result for MPC5744 in MBD

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Calculating Execution Time from Profiler Result for MPC5744 in MBD

ソリューションへジャンプ
1,294件の閲覧回数
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,274件の閲覧回数
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,275件の閲覧回数
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