Timer configuration in MPC5744P

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

Timer configuration in MPC5744P

1,575件の閲覧回数
Jeevan_Kumar
Contributor I

Screenshot 2020-11-03 122856.pngScreenshot 2020-11-03 122856.png

 

 

 

 

 

 

 

 

I want measure the execution time of a one function. For that I configure timer for 1ms at that time I get 1ms. I need more accuracy for that I configure timer for 1us at that time I am getting 447us. why I am getting like that.  wither my us configuration is wrong.

0 件の賞賛
返信
2 返答(返信)

1,550件の閲覧回数
Jeevan_Kumar
Contributor I

No 160MHz

 

0 件の賞賛
返信

1,551件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

What is your clock of PIT,  40MHz?

Could you share with me stetting of PIT?

When you perform simple pin toggle in ISR on every PIT expire, do you see the delay?

Have a look at example code:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5744P-PIT-triggering-interrupts/ta-p/...

Best regards,

Peter

0 件の賞賛
返信