I'm using a MK22FX512AVLL12. I have selected LLWU_P15 used like interrupt to wake up the microcontroller.
During normal use I reach some unknown bug in my huge code but the microcontroller reaches a condition i can't understand.
All the GPIO are disabled, the microcontroller seems in sleep. But the wakeup interrupt doesn't wake up the micro, and the code doesn't restart automatically (watchdog is active, should do it). Only a reset make it waking up.
There is some protection circuit that could stop the microcontroller in this way?
Gabriele
Hi Gabriele,
No, there isn't such a protection circuit. But in K22 SDK, there is a power switch demo. It shows how to step into and release from all of the power mode, both by wakeup pin and timer. You can refer to it.
Regards,
Jing