AnsweredAssumed Answered

Kinetis NMI pin as normal GPIO

Question asked by Hani Samara on Jun 18, 2019
Latest reply on Jun 19, 2019 by Alexis Andalon

Hello, 

 

i am trying to use PTB4/NMI pin on the KEA128 as normal GPIO. During debug it is still Low but after reset it remains High. i configured the NMI bit in SIM_SOPT0 to 0: SIM_SOPT0 &= ~(SIM_SOPT0_NMIE_MASK); /* set NMI pin as normal GPIO (PTB4) */ 

 

after that i declare the pin as output and set it to low. 

 

did i miss any thing?

 

Best regards, 

Hani

Outcomes