
Clocks, Reset, and Power (CRP)
PXN20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor
6-23
6.3.4.1
Sleep Mode Reset Operation
The reset controller in the SIU controls the normal reset sequences from POR, LVI, and other resets when
the device is in RUN mode. The CRP controls reset operation for the device in sleep mode.
The external RESET pin is enabled in all modes. Assertion of the RESET pin or a POR during sleep mode
causes the device to restart in RUN mode.
Upon power up from sleep mode, POR and reset is asserted to all logic that was powered down. The SIU
processes the sleep recovery POR in the same manner as a normal POR. The RSR[PORS] bit in the SIU
is set after the reset controller sequence completes. The CRP_PSCR[SLEEPF] bit is set in this case to
indicate that the POR came from a sleep recovery.
NOTE
When powering up from sleep mode, the BOOTCFG pin is not read and the
BAM boot sequence is bypassed since the Z6 and Z0 cores branch to the
appropriate reset vector set in the CRP_Z0VEC and CRP_Z6VEC registers,
assuming the core was active (not held in reset) prior to sleep mode entry.
6.3.5
Low-Power Wakeup
A POR, LVI12, or assertion of the external RESET pin causes exit from sleep mode as a reset condition,
and not a wakeup. A POR or external reset is captured in the SIU Reset Status Register. All CRP registers
are reset for a POR, but some like the CRP_RTCC are maintained for an external reset. Note that there are
no internal reset sources (except POR and LVI12) active in sleep.
There are four methods for waking up the device from sleep mode:
•
RTC counter match
•
RTC counter rollover
•
API counter match
•
External pin transition
All wakeup methods are independently enabled. The RTC, RTC rollover, and API wakeup logic is
discussed in
Section 6.4, Real-Time Counter (RTC).
Wakeup from sleep can be enabled from transitions on as many as 32 external pins. External pin wakeup
source selection is done in the CRP_PWKENH/L registers. To be used as a low-power mode wakeup, pins
must be configured with the output buffer disabled in the SIU_PCR registers prior to entry into the
low-power mode. During sleep mode, all pins (except the 32 wakeup pins and RESET) are put into a safe
state with the input buffer, output buffer, and pull devices disabled. The wakeup pins input buffer enables
will retain the state configured prior to entry into sleep mode with the output buffers and pull devices
disabled.
External pin wakeup generation can be selected for either a rising edge event on the pin, falling edge, or
both. The edge capture logic can be selectively clocked from either the 16 MHz IRC clock for faster
wakeup, or the 128 kHz IRC clock for lower average power. For wakeup, the value of the Pin Assignment
(PA) bitfield in the SIU_PCR does not matter. This enables a pin, such as a CAN receive pin, to wake up
the device on a transition.
Содержание PXN2020
Страница 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Страница 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Страница 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Страница 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Страница 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Страница 162: ...Clocks Reset and Power CRP PXN20 Microcontroller Reference Manual Rev 1 6 30 Freescale Semiconductor...
Страница 182: ...Frequency Modulated Phase Locked Loop FMPLL PXN20 Microcontroller Reference Manual Rev 1 7 20 Freescale Semiconductor...
Страница 268: ...Boot Assist Module BAM PXN20 Microcontroller Reference Manual Rev 1 9 14 Freescale Semiconductor...
Страница 318: ...Interrupts and Interrupt Controller INTC PXN20 Microcontroller Reference Manual Rev 1 10 50 Freescale Semiconductor...
Страница 326: ...General Purpose Static RAM SRAM PXN20 Microcontroller Reference Manual Rev 1 11 8 Freescale Semiconductor...
Страница 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Страница 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Страница 460: ...Memory Protection Unit MPU PXN20 Microcontroller Reference Manual Rev 1 18 20 Freescale Semiconductor...
Страница 478: ...Error Correction Status Module ECSM PXN20 Microcontroller Reference Manual Rev 1 19 18 Freescale Semiconductor...
Страница 488: ...Software Watchdog Timer SWT PXN20 Microcontroller Reference Manual Rev 1 20 10 Freescale Semiconductor...
Страница 494: ...System Timer Module STM PXN20 Microcontroller Reference Manual Rev 1 21 6 Freescale Semiconductor...
Страница 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Страница 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Страница 926: ...Controller Area Network FlexCAN PXN20 Microcontroller Reference Manual Rev 1 29 42 Freescale Semiconductor...
Страница 990: ...Deserial Serial Peripheral Interface DSPI PXN20 Microcontroller Reference Manual Rev 1 30 64 Freescale Semiconductor...
Страница 1044: ...Enhanced Serial Communication Interface eSCI PXN20 Microcontroller Reference Manual Rev 1 31 54 Freescale Semiconductor...
Страница 1080: ...Cross Triggering Unit CTU PXN20 Microcontroller Reference Manual Rev 1 33 12 Freescale Semiconductor...
Страница 1134: ...Analog to Digital Converter ADC PXN20 Microcontroller Reference Manual Rev 1 34 54 Freescale Semiconductor...
Страница 1150: ...IEEE 1149 1 Test Access Port Controller JTAGC PXN20 Microcontroller Reference Manual Rev 1 35 16 Freescale Semiconductor...
Страница 1257: ...Nexus Development Interface NDI PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 36 107...
Страница 1258: ...Nexus Development Interface NDI PXN20 Microcontroller Reference Manual Rev 1 36 108 Freescale Semiconductor...
Страница 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...