NXP Semiconductors
QN902x
User Manual of QN902x
UM10996
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2018. All rights reserved.
User Manual
Rev 1.3
— 05 November 2018
34 of 128
Before executing WFI or WFE instruction to enter the sleep or the deep sleep state, the
DEEPSLEEP bit on the Cortex-M0 system control register should be set to 1, the
PMUENABLE bit of PGCR2 should also be set to 1, and the system clock should be
switched to internal 20MHz.
The MCU’s wakeup interrupt sources from the DEEP SLEEP state are:
External GPIO interrupt (GPIO0~x)
Analog comparator (ACMP1 and ACMP2) output interrupt
In the SLEEP state, the sleep timer timeout interrupt can also wake up the MCU.
Power gating control related registers are PGCR0, PGCR1, PGCR2, which are described in
section 2.5.1.