[NUC240] Power Down Wakeup

Post Reply
chhsieh3
Posts: 307
Joined: 13 Mar 2020, 09:08

02 Jun 2020, 16:53

  • Application: This example code is implement NUC240 using GPIO to wake up the MCU and enter the Power Down Wakeup interrupt.
  • BSP Version: NUC230/240 Series BSP CMSIS V3.01.001
  • Hardware: NuTiny-EVB-NUC240 V1.2
When NUC240 enters Power Down mode the chip can be woken up by changing of the GPIO status. After waking up NUC240 first enters the PDWU interrupt and then enters the GPIO interrupt subroutine. Since the source of the Power Down wakeup with the priority. If the interrupt source priority is same level, the peripheral hardware interrupt will be executed first. If you want the Power Down wakeup interrupt to be response first, you can change the Power Down wakeup interrupt priority to higher level.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1227152013
Nuvoton

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 38 guests