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,739 次查看
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 解答
1,166 次查看
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 回复
1,167 次查看
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