beautypg.com

Standby mode, Extended standby mode, Minimizing power consumption – Rainbow Electronics ATmega64L User Manual

Page 32: Analog to digital converter, Atmega16(l)

background image

32

ATmega16(L)

2466B–09/01

asynchronous timer should be considered undefined after wake-up in Power-save mode
if AS2 is 0.

This sleep mode basically halts all clocks except clk

ASY

, allowing operation only of asyn-

chronous modules, including Timer/Counter 2 if clocked asynchronously.

Standby Mode

When the SM2..0 bits are 110 and an external crystal/resonator clock option is selected,
the SLEEP instruction makes the MCU enter Standby mode. This mode is identical to
Power-down with the exception that the oscillator is kept running. From Standby mode,
the device wakes up in 6 clock cycles.

Extended Standby Mode

When the SM2..0 bits are 111 and an external crystal/resonator clock option is selected,
the SLEEP instruction makes the MCU enter Extended Standby mode. This mode is
identical to Power-save mode with the exception that the oscillator is kept running. From
Extended Standby mode, the device wakes up in 6 clock cycles..

Notes:

1. External Crystal or resonator selected as clock source.
2. If AS

2

bit in ASSR is set.

3. Only INT2 or level interrupt INT1 and INT0.

Minimizing Power
Consumption

There are several issues to consider when trying to minimize the power consumption in
an AVR controlled system. In general, sleep modes should be used as much as possi-
ble, and the sleep mode should be selected so that as few as possible of the device’s
functions are operating. All functions not needed should be disabled. In particular, the
following modules may need special consideration when trying to achieve the lowest
possible power consumption.

Analog to Digital Converter

If enabled, the ADC will be enabled in all sleep modes. To save power, the ADC should
be disabled before entering any sleep mode. When the ADC is turned off and on again,
the next conversion will be an extended conversion. Refer to “Analog to Digital Con-
verter” on page 195
for details on ADC operation.

Table 14. Active Clock Domains and Wake Up Sources in the Different Sleep Modes

Active Clock domains

Oscillators

Wake up sources

Sleep
Mode

clk

CPU

clk

FLASH

clk

IO

clk

ADC

clk

ASY

Main Clock

Source Enabled

Timer Osc.

Enabled

INT2
INT1
INT0

TWI

Address

Match

Timer

2

SPM /

EEPROM

Ready

ADC

Other

I/O

Idle

X

X

X

X

X

(2)

X

X

X

X

X

X

ADC
Noise
Redu-
ction

X

X

X

X

(2)

X

(3)

X

X

X

X

Power
Down

X

(3)

X

Power
Save

X

(2)

X

(2)

X

(3)

X

X

(2)

Standby

(1)

X

X

(3)

X

Exten-
ded
Standby

(1)

X

(2)

X

X

(2)

X

(3)

X

X

(2)