S32K delay function problem

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

S32K delay function problem

1,191 Views
zhengjianfei1
Contributor III

Hi ,

      I found an interesting problem while i debug the example HELLO WORLD. The software delay function sometimes causes 1.8S delay and  sometimes causes 1.5S delay. Just shown as pictures bleow. The only different is the address where while(i--) placed. Can someone tell me why?  Thanks!

pastedImage_1.png

pastedImage_2.png

pastedImage_5.png

0 Kudos
Reply
2 Replies

1,070 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

take a look at this thread:

https://community.nxp.com/thread/498476 

Regards,

Lukas

1,070 Views
zhengjianfei1
Contributor III

Hi Lukas,

  Thanks so much for your advice! I solved the problem through enabling instruction cache.

0 Kudos
Reply