Reconfigure NMI Pin to Normal Pin in KEA-128

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Reconfigure NMI Pin to Normal Pin in KEA-128

2,062 次查看
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.

标记 (3)
1 回复

1,691 次查看
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!
-----------------------------------------------------------------------------------------------------------------------