Test the running time of my function in program using MPC5554

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

Test the running time of my function in program using MPC5554

346 Views
KAIH1
Contributor II

Hello, how do I test the running time of my function in program.

I used to get the system clock, but in MPC5554 I did not find a register related to the system count value.

Or use the related features of codewarrior2.1 to get the running time of my function.

My requirements are shown in the attached drawing.

 

requirements.png

 

0 Kudos
Reply
1 Reply

317 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, you may use timebase that is available as part of e200z6 core:

https://www.nxp.com/webapp/Download?colCode=E200Z6_RM&location=null

You may find described in this example pack, specifically in the section 1: https://www.nxp.com/docs/en/application-note/AN2865.pdf

 

0 Kudos
Reply