S32K delay function problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K delay function problem

1,214件の閲覧回数
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 件の賞賛
返信
2 返答(返信)

1,093件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

take a look at this thread:

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

Regards,

Lukas

1,093件の閲覧回数
zhengjianfei1
Contributor III

Hi Lukas,

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

0 件の賞賛
返信