29.2.1 Sleep Mode

The following occurs in Sleep mode:

  • The system clock source is shut down. If an on-chip oscillator is used, it is turned off.
  • The device current consumption is reduced to a minimum, provided that no I/O pin is sourcing current.
  • The Fail-Safe Clock Monitor does not operate, since the system clock source is disabled.
  • The WDT, if enabled, is automatically cleared prior to entering Sleep or Idle mode.
  • Some device features or peripherals can continue to operate. This includes items such as the Input Change Notification on the I/O ports or peripherals that use an External Clock input.
  • Any peripheral that requires the system clock source for its operation is disabled.

The device wakes up from Sleep mode on any of these events:

  • Any interrupt source that is individually enabled
  • Any form of device Reset
  • A WDT time-out

On wake-up from Sleep mode, the processor restarts with the same clock source that was active when Sleep mode was entered.

For optimal power savings, the internal regulator and the Flash regulator can be configured to go into standby when Sleep mode is entered by clearing the VREGS (RCON[8]) bit (default configuration).

If the application requires a faster wake-up time and can accept higher current requirements, the VREGS (RCON[8]) bit can be set to keep the internal regulator and the Flash regulator active during Sleep mode. The available Low-Power Sleep modes are shown in Table 29-1. Additional regulator information is available in On-Chip Voltage Regulators.

Table 29-1. Low-Power Sleep Modes
Relative PowerLPWRENVREGSMode
Highest01Full power, active
00Full power, standby
1(1)1Low power, active
Lowest1(1)0Low power, standby
Note:
  1. Low-Power modes, when LPWREN = 1, can only be used in the industrial temperature range.