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?