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
What needs to pay attention on entering Power-down mode in an interrupt handler?
-
- Information
-
Who is online
Users browsing this forum: No registered users and 22 guests