ATAVRXPLAIN Atmel, ATAVRXPLAIN Datasheet
ATAVRXPLAIN
Specifications of ATAVRXPLAIN
Available stocks
Related parts for ATAVRXPLAIN
ATAVRXPLAIN Summary of contents
Page 1
... AVR1010: Minimizing the power consumption of Atmel AVR XMEGA devices Features • Sleep modes • Clock prescaling and source switching • Power Reduction Registers • RTC clock source • State of digital I/O • Watchdog • Brown Out Detector • JTAG interface 1 Introduction ® ...
Page 2
... In such applications one can use the “sleep modes” ® ® ® of the Atmel AVR XMEGA to put the device in a low power state when there is nothing to process. The main principle is then to run as fast as possible, and sleep as much as possible ...
Page 3
... POWER-DOWN: • In IDLE, most peripherals are still operating – only the Atmel non-volatile memories (Flash and EEPROM) are stopped. The DMA controller and Event system are still active in this mode, allowing for e.g. AD conversions and transfers via the USART to continue, even though the CPU is not operating. The device can be woken up by all interrupts. • ...
Page 4
Clock Prescaling 2.5 Clock Source Switching AVR1010 4 Minimize power consumption by using the deepest allowable sleep modes at any time, and running as fast as possible to minimize time spent in ACTIVE mode. Although it is recommended to ...
Page 5
... RTC and its clock are active in these sleep modes. The RTC is commonly used to wake the device up at timed intervals. ® ® For most Atmel AVR XMEGA-families, three different oscillators can be used to clock the RTC: An external 32kHz crystal, the internal 32kHz RC oscillator and the internal 32kHz Ultra Low Power (ULP) oscillator ...
Page 6
... Please refer to the datasheet for exact values and conditions, the values stated here are meant as guideline only. ® ® For Atmel AVR XMEGA-families with the battery backup module and 32-bit RTC, only the 32kHz crystal oscillator may be used as clock source. In these devices, the RTC is left running regardless of sleep ...
Page 7
... To minimize power consumption, disable the OCD and the JTAG interface. ® ® ® With the Atmel AVR XMEGA to enable power reduction modes for the EEPROM and Flash. In these modes, the EEPROM and the currently unused section of Flash (i.e., application or boot section) ...
Page 8
Writing to EEPROM 3 Code Examples 3.1 Power Consumption AVR1010 8 are powered down in ACTIVE mode, just as they are in any sleep mode. These power reduction modes will not affect power consumption in sleep. If the CPU ...
Page 9
... Sleep Example 4 Sleep manager 4.1 Purpose 4.2 Operation 8267B-AVR-12/10 consumption for the different Atmel the following modes, staying for 8 seconds in each: • ACTIVE • IDLE • POWER-SAVE • POWER-DOWN Note that the device will stay in POWER-DOWN, since an external interrupt is required to wake the device up from this sleep mode. ...
Page 10
Note that the main loop of the application should be responsible for requesting the sleep manager to put the device to sleep, as shown in Figure 4-1. Figure 4-1: Suggested use of the sleep manager in main(). If an interrupt ...
Page 11
... For convenience, a function that disables all the peripherals/modules and enables pull-up on all available I/O pins is included. This puts an Atmel least power consuming configuration, with the exception of EEPROM and Flash power reduction modes, when nothing but VCC and GND is connected. ...
Page 12
... Figure 6-1: Location of IXM and shunt on Xplain board. ® ® ® Atmel AVR XMEGA with the battery backup module and 32-bit RTC only allow for the external 32kHz crystal oscillator to be used as clock source for the RTC. This crystal must therefore be connected for wake-up at timed intervals to be possible. ...
Page 13
... Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT ...