19.3.2.1 Sleep Modes

In Active mode, the device runs as ordinary with all systems active. In addition to Active mode, there are three different sleep modes with decreasing power consumption and functionality.

Table 19-1. Sleep Modes
ModeDescriptionPower Consumption
ActiveNormal mode, all systems are activeHighest power consumption
Idle

The CPU stops executing code, resulting in reduced power consumption. All peripherals are running.

All interrupt sources can wake the device.

StandbyIn this mode, each clock source or peripheral can individually be enabled or disabled using its running in Standby sleep mode, enabled by writing its RUNSTDBY bit to ‘1’. The power consumption depends on the number of enabled peripherals and clocks.

A subset of interrupt sources can wake the device (1).

Power-DownAll high-frequency clocks are stopped. Only the WDT and the PIT (component of the RTC) are active, resulting in the lowest power consumption. The only wake-up sources are the pin change interrupt, CCL interrupt (if filter and edge detect are disabled), and TWI address match.

A subset of the peripherals are running, and a subset of interrupt sources can wake the device(1).

Lowest power consumption
Note:
  1. Refer to the Sleep Mode Activity tables for further information.

Refer to the Wake-up Time section for information on how the three sleep modes affect the wake-up time.

Table 19-2. Sleep Mode Activity Overview for Peripherals
PeripheralActive in Sleep Mode
IdleStandbyPower-Down
CPU
RTCXX(1,2)X(2)
WDTXXX
BODXXX
EVSYSXXX
CCLXX(1)
AC
ADC
DAC
ZCD
TCA
TCBn
All other peripheralsX
Note:
  1. For the peripheral to run in Standby sleep mode, the RUNSTDBY bit of the corresponding peripheral must be written to ‘1’.
  2. In Standby sleep mode, only the RTC functionality requires the RUNSTDBY bit to be ‘1’. In Power-Down sleep mode, only the PIT functionality is available.
Table 19-3. Sleep Mode Activity Overview for Clock Sources
Clock SourceActive in Sleep Mode
IdleStandbyPower-Down
Main clock sourceXX(1)
RTC clock sourceXX(1,2)X(2)
WDT oscillatorXXX
BOD oscillator(3)XXX
CCL clock sourceXX(1)
TCD clock sourceX
Note:
  1. For the clock source to run in Standby sleep mode, the RUNSTDBY bit of the corresponding peripheral must be written to ‘1’.
  2. In Standby sleep mode, only the RTC functionality requires the RUNSTDBY bit to be ‘1’. In Power-Down sleep mode, only the PIT functionality is available.
  3. The Sampled mode only.
Table 19-4. Sleep Mode Wake-up Sources
Wake-Up SourcesActive in Sleep Mode
IdleStandbyPower-Down
PORT Pin interruptXXX(1)
BOD VLM interruptXXX
MVIO interruptsXXX
RTC interruptsXX(2,3)X(3)
TWI Address Match interruptXXX
Periodic InterruptXXX(3)
CCL interruptsXX(1)X(4)
USART Start-Of-Frame interruptXX(2)
TCA interrupts
TCBn interrupts
ADC interrupts
AC interrupts
ZCD interrupts
All other interruptsX
Note:
  1. The I/O pin must be configured according to the Asynchronous Sensing Pin Properties section in the PORT - I/O Pin Configuration section.
  2. For the peripheral to run in Standby sleep mode, the RUNSTDBY bit of the corresponding peripheral must be written to ‘1’.
  3. In Standby sleep mode, only the RTC functionality requires the RUNSTDBY bit to be ‘1’. In Power-Down sleep mode, only the PIT functionality is available.
  4. CCL will only wake the device if the path through LUTn is asynchronous (FILTSEL = 0x0 and EDGEDET = 0x0 in the CCL.LUTnCTRLA register).