Good afternoon,
I need to disable the NMI from reset.
How to implement in KDS?
Thank You
Hi,
if you use processor expert, we can disable NMI pin in CPU component setting.
if you doesn't use processor expert. we can set SIM_SOPT NMIE bit as 0 to disable it after reset. see below from reference manual
please note, NMIE is write-once only on each reset. it can only be written after reset.
does this answer your question?
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
I'll add that there's another setting under CPU interrupts to disable the NMI interrupt, this also needs to be unchecked in addition to the NMI pin setting. I had to do this as well.
yes, this is good. thanks!
Have a great day,
Zhang Jun
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks.
I would like to disable NMI from reset.
Your solution disables NMI after reset has occured.
Regards
George
NMI is always enabled at reset, read the Kinetis documentation. It must be disabled after reset. For this reason, you have to make sure the pin isn't pulled low at power up or you'll be stuck.