Why Kinetis Microcontroller crashed?

cancel
Showing results for 
Search instead for 
Did you mean: 

Why Kinetis Microcontroller crashed?

137 Views
gabriele_endriz
Contributor I

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

0 Kudos
1 Reply

68 Views
jingpan
NXP TechSupport
NXP TechSupport

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

0 Kudos