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

Post Reply
a_ziliu
Posts: 208
Joined: 20 Mar 2017, 10:52

31 May 2021, 15:51

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

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 21 guests