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.
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