Timer configuration in MPC5744P

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

Timer configuration in MPC5744P

508 Views
Jeevan_Kumar
Contributor I

Screenshot 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 Kudos
2 Replies

483 Views
Jeevan_Kumar
Contributor I

No 160MHz

 

0 Kudos

484 Views
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 Kudos