Page 1 of 1

What needs to pay attention on entering Power-down mode in an interrupt handler?

Posted: 31 May 2021, 15:51
by a_ziliu
If the NVIC setting is default, entering Power-down mode in an interrupt handler will cause the failed to wake up condition.

By default, all interrupts have the same NVIC priority, and there is a conflict between “after entering Power-down mode at interrupt A, the MCU needs to wait for interrupt B to wake up; however, the MCU cannot be woken up by interrupt B until interrupt A has been executed”. Therefore, please do not enter Power-down mode in an interrupt handler unless you change the NVIC priority