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

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

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

Jump to solution
1,110 Views
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

Labels (1)
Tags (1)
1 Solution
537 Views
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

View solution in original post

1 Reply
538 Views
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