5744 DEBUG

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

5744 DEBUG

943 Views
海亭刘
Contributor I

hello:

Actually test the execution time of each statement so slowly. My sys clk is 200MHZ.

for example:

  void delay_rotor(UInt8 cycles)
  {
      while(cycles--);
    }

when cycles=1, this code need about 5us.

I don't know why!

 thanks !

    pastedImage_1.pngpastedImage_2.png

0 Kudos
Reply
2 Replies

912 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Actually test the execution time of each statement so slowly. My sys clk is 200MHZ.

How do you measure execution time? Are you tracing instructions? or with scope or some timer?

I am not able to tell you where is the issue from your description. Could you be more specific please?

regards,

Peter

0 Kudos
Reply

912 Views
海亭刘
Contributor I

HELLO:

I test the gpio

pastedImage_1.png

0 Kudos
Reply