2011 Microchip Technology Inc.
DS61143H-page 129
PIC32MX3XX/4XX
25.0
POWER-SAVING FEATURES
This
section
describes
power-saving
for
the
PIC32MX3XX/4XX. The PIC32MX devices offer a total
of nine methods and modes that are organized into two
categories that allow the user to balance power con-
sumption with device performance. In all of the meth-
ods and modes described in this section, power-saving
is controlled by software.
25.1
Power-Saving with CPU Running
When the CPU is running, power consumption can be
controlled by reducing the CPU clock frequency, lower-
ing the PBCLK, and by individually disabling modules.
These methods are grouped into the following modes:
FRC Run mode: the CPU is clocked from the FRC
clock source with or without postscalers.
LPRC Run mode: the CPU is clocked from the
LPRC clock source.
SOSC Run mode: the CPU is clocked from the
SOSC clock source.
Peripheral Bus Scaling mode: peripherals are
clocked at programmable fraction of the CPU
clock (SYSCLK).
25.2
CPU Halted Methods
The device supports two power-saving modes, Sleep
and Idle, both of which halt the clock to the CPU. These
modes operate with all clock sources, as listed below:
POSC Idle Mode: the system clock is derived from
the POSC. The system clock source continues to
operate.
Peripherals continue to operate, but can
optionally be individually disabled.
FRC Idle Mode: the system clock is derived from
the FRC with or without postscalers. Peripherals
continue to operate, but can optionally be
individually disabled.
SOSC Idle Mode: the system clock is derived from
the SOSC. Peripherals continue to operate, but
can optionally be individually disabled.
LPRC Idle Mode: the system clock is derived from
the LPRC.
Peripherals continue to operate, but can option-
ally be individually disabled. This is the lowest
power mode for the device with a clock running.
Sleep Mode: the CPU, the system clock source,
and any peripherals that operate from the system
clock source, are halted.
Some peripherals can operate in Sleep using spe-
cific clock sources. This is the lowest power mode
for the device.
25.3
Power-Saving Operation
The purpose of all power-saving is to reduce power
consumption by reducing the device clock frequency.
To achieve this, low-frequency clock sources can be
selected. In addition, the peripherals and CPU can be
halted
or
disabled
to
further
reduce
power
consumption.
25.3.1
SLEEP MODE
Sleep mode has the lowest power consumption of the
device Power-Saving operating modes. The CPU and
most peripherals are halted. Select peripherals can
continue to operate in Sleep mode and can be used to
wake the device from Sleep. See the individual periph-
eral module sections for descriptions of behavior in
Sleep mode.
Sleep mode includes the following characteristics:
The CPU is halted.
The system clock source is typically shut down.
information.
There can be a wake-up delay based on the
oscillator selection.
The Fail-Safe Clock Monitor (FSCM) does not
operate during Sleep mode.
The BOR circuit, if enabled, remains operative
during Sleep mode.
The WDT, if enabled, is not automatically cleared
prior to entering Sleep mode.
Some peripherals can continue to operate in
Sleep mode. These peripherals include I/O pins
that detect a change in the input signal, WDT,
ADC, UART and peripherals that use an external
clock input or the internal LPRC oscillator, e.g.,
RTCC and Timer 1.
I/O pins continue to sink or source current in the
same manner as they do when the device is not in
Sleep.
The USB module can override the disabling of the
Some modules can be individually disabled by
software prior to entering Sleep in order to further
reduce consumption.
Note 1: This data sheet summarizes the features
of
the
PIC32MX3XX/4XX
family
of
devices. It is not intended to be a compre-
hensive reference source. To comple-
ment the information in this data sheet,
refer to Section 10. “Power-Saving
Features” (DS61130) of the “PIC32
Family Reference Manual”, which is
available from the Microchip web site
(www.microchip.com/PIC32).
2: Some registers and associated bits
described in this section may not be
available
on
all
devices.
Refer
to
this data sheet for device-specific register
and bit information.