I am using a KV30F128VLF10 MCU on a custom board. The application is a motor driver. I have two switch input and two relay outputs. When I switch the relays on and off based on the switches after few cycles the MCU enters the default ISR from WDOG_EWM_IRQhandler. When I check the Stackpointer my last executee user code was at the GPIO part of either clearing or setting a pin.