Reconfigure NMI Pin to Normal Pin in KEA-128

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

Reconfigure NMI Pin to Normal Pin in KEA-128

1,338 Views
vigneshbalaji
Senior Contributor I

Hi,

     I have the following questions  -

1)Is it possible to reconfigure NMI pin to Normal Pin?

2)How to Reconfigure NMI pin to a normal Pin? Can you please provide a snippet of code and documentation.

Tags (3)
1 Reply

967 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi VIGNESH BALAJI,

1)Is it possible to reconfigure NMI pin to Normal Pin?
Yes. SIM_SOPT0[NMIE] can be used to disable the NMI function.
But the PTB4 will be NMI function by default after MCU POR. If you want to reconfigure NMI pin to Normal Pin, you should keep the NMI pin to high in the outside circuit during power on reset.
Thus I don't recommend the customer to use the SWD and NMI pin to other functions.

2)How to Reconfigure NMI pin to a normal Pin? Can you please provide a snippet of code and documentation.

Clear the SIM_SOPT0[NMIE] bit after reset.

SIM_SOPT0[NMIE].png

 

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------