AnsweredAssumed Answered

How to configure a NMI in a S32K116

Question asked by Fernando Usunariz on Dec 2, 2018
Latest reply on Dec 11, 2018 by Daniel Martynek

I'm trying to install an external watchdog with a S32K116 microcontroller, with the wdo (watchdog output) connected to the NMI pin (PTD3) but as soon as I enable the NMI interrupt, or I configure the pin as "nmi_b" with the processor expert panel in the pin mux, the microcontroller straightly restarts when it reaches the instruction that does either the NMI interrupt enable or the pin mux configuration. I've tried many things but I get allways the same result, and I didn't found any example of how to configure a Non Maskable Interrupt.

I'm working with the S32DS and a multilink programmer and the wdo signal makes a falling edge every 7 ms which is time enough to any execution that runs in the microcontroller.

Any help or example would be aprecciated.