How can I disable the NMI in a project on SDK 2.0 bild of FRDM kl25z

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

How can I disable the NMI in a project on SDK 2.0 bild of FRDM kl25z

ソリューションへジャンプ
1,364件の閲覧回数
juancarlosrome2
Contributor I

I have been programming with Freedom kl25z on KDS and sdk 2.0 with FREERTOS, and now I have some problem when I try to use the GPIO PTA4 because this pin is using by NMI, and then I would like to know how could disable the NMI from SDK 2.0 FreeRTOS withou

ラベル(1)
タグ(1)
1 解決策
791件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Juan,

If you want disalbe the NMI interrupt, please use the Flash Option Register (FTFA_FOPT) ->

NMI_DIS bit :

pastedImage_0.png

On the KSDk project code ,, only need change here :

pastedImage_1.png

to

  .long 0xFFFFFFFF

    .long 0xFFFFFFFF

    .long 0xFFFFFFFF

    .long 0xFFFFFBFE

Hope it helps

Alice

元の投稿で解決策を見る

1 返信
792件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Juan,

If you want disalbe the NMI interrupt, please use the Flash Option Register (FTFA_FOPT) ->

NMI_DIS bit :

pastedImage_0.png

On the KSDk project code ,, only need change here :

pastedImage_1.png

to

  .long 0xFFFFFFFF

    .long 0xFFFFFFFF

    .long 0xFFFFFFFF

    .long 0xFFFFFBFE

Hope it helps

Alice