Atmel megaAVR High Performance, Low Power Atmel Studio is a free IDE (integrated development environment) that supports all Atmel AVR and Cortex™-M based microcontrollers. It provides a complete set of features, including on-chip debugger support, cycle accurate simulator, and programming support for standalone programmers. For more information on the megaAVR family of microcontrollers, visit www.atmel.com/megaAVR. All AVR microcontrollers are supported by a seamless toolchain that makes code development and debugging less hard and more fun. For more information, visit www.atmel.com/avr_tools. Max QTouch/QMatrix Channels SRAM (Bytes) Flash (Kbytes) All Atmel® megaAVR® microcontrollers have built-in support for in-system programming and on-chip debugging. In-system programming reduces production line complexity, as the controllers can be programmed to run production tests before the end application is loaded. In-system programming can also be used for field software updates. Onchip debugging is available on all megaAVR devices using either JTAG or single-pin debugWIRE (on low pin-count devices). Atmel AVR® onchip debugging is non-intrusive and provides full access to all registers, peripherals, and code execution, thereby reducing time to market. Device Programming and Debugging EEPROM (Bytes) Atmel megaAVR Devices Flash (Kbytes) EEPROM (Bytes) SRAM (Bytes) Max QTouch/QMatrix Channels ATmega8/A 8 512 1K 12/- ATmega8515 8 512 512 16/- ATmega8535 8 512 512 16/16 16/32/64 512/1K/2K 1K/2K/4K 16/32 128 4K 4K 16/- Device ATmega16/32/64/A ATmega128/A ATmega162 16 512 1K 16/- ATmega48/88/168 4/8/16 256/512/512 512/1K/1K -/- ATmega48/88/168/328/P/A/PA 4/8/16 256/512/512 512/1K/1K 8/16,8/16,16/64 ATmega325/645/P/A/PA 32/64 1K/2K 2K/4K 16/64 ATmega3250/6450/P/A/PA 32/64 1K/2K 2K/4K 16/-,-/- ATmega329/649/P/A/PA 32/64 1K/2K 2K/4K 16/- ATmega3290/6490/P/A/PA 32/64 1K/2K 2K/4K 16/- 128/256 4K 8K 16/64,-/- 64/128/256 4K 8K 16/-,16/64,-/- 16/32/64 512/1K/2K 1K/2K/4K 16/64 ATmega165P/A/PA 16 512 1K 16/64 ATmega169P/A/PA 16 512 1K 16/- 16/32 512/1K 1.25K/2.5K + 832 14/- 8/16/32 512/512/1K 512/512/1K -/-,12/- ATmega1281/2561 ATmega640/1280/2560 ATmega164/324/644/P/A/PA ATmega16/32U4 ATmega8/16/32U2 ATmega1284/P 128 4K 16K 16/- AT90CAN32/64/128 32/64/128 1K/2K/4K 2K/4K/4K 16/64 ATmega16/32/64M1 16/32/64 512/1K/2K 1K/2K/4K 12/- 64/128 2K/4K 4K/8K 16/64 8/16 512 512 -/8 AT90PWM1 8 512 512 8/- AT90PWM216/316 16 512 1K 12/- AT90PWM2B/3B 8 512 512 8/- AT90PWM81/161 8/16 512 256 -/- AT90USB646/647/1286/1287 AT90USB82/162 (a) NOTE: PDIP40 not available for ATmega64/A (b) NOTE: TQFP32 not available for AT90USB82 (c) NOTE: SOIC24 only for AT90PWM216. VQFN32 and SOIC32 only for AT90PWM316. (d) NOTE: SOIC24 only for AT90PWM2B. VQFN32 and SOIC32 only for AT90PWM3B. 1 © 2012 / www.atmel.com Atmel megaAVR TWI USART 10-bit ADC Channels Analog Comparators SPI TWI USART 10-bit ADC Channels Analog Comparators 2 1 3 1 1 1 8 1 1 1 3 1 0 1 0 0 2 1 3 1 1 1 8 2 1/1/2 4/4/7 1 1 2 2 2 7 1 1 2 2 6 1 2 1 6 2 2 1 6 2 1 2 Green Packagee SPI PWM Channels Max I/O Pins PWM Channels 16-bit Timers Max MIPS Vcc (V) Max I/O Pins Green Packages 16 2.7-5.5 23 VQFN32 ,PDIP28, TQFP32 -- 16 2.7-5.5 35 VQFN44, PDIP40, TQFP44 1 -- 16 2.7-5.5 32 VQFN44, PDIP40, TQFP44 8 1 -- 16 2.7-5.5 32 VQFN44, PDIP40, TQFP44 *(a) 2 8 1 -- 16 2.7-5.5 53 VQFN64, TQFP64 0 2 0 1 -- 16 1.8-5.5 35 VQFN44, PDIP40 ,TQFP44 1 1 8 1 -- 20 1.8-5.5 23 VQFN28, VQFN32, PDIP28, TQFP32 2 1 1 8 1 -- 20 1.8-5.5 23 VQFN28, VQFN32, PDIP28, TQFP32 4 2 1 1 8 1 -- 16 1.8-5.5 54 VQFN64, TQFP64 1 4 2 1 1 8 1 -- 16 1.8-5.5 69 TQFP100 2 1 4 2 1 1 8 1 LCD 16 1.8-5.5 54 VQFN64, TQFP64 2 1 4 2 1 1 8 1 LCD 16 1.8-5.5 69 TQFP100 2 4 8 3 1 2 8 1 -- 16 1.8-5.5 54 VQFN64, TQFP64 2 4 15 5 1 4 16 1 -- 16 1.8-5.5 86 TQFP100 2 1 6 3 1 2 8 1 -- 20 1.8-5.5 32 QFN44, VQFN44, PDIP40, TQFP44 2 1 4 2 1 USI 1 8 1 -- 16 1.8-5.5 54 VQFN64, TQFP64 2 1 4 2 1 USI 1 8 1 LCD 16 1.8-5.5 54 TQFP64, QFN64 1+1 10-bit 2 8 2 1 1 12 1 USB device 16 2.7 - 5.5 26 VQFN44, TQFP44 1 1 4 2 0 1 0 1 USB device 16 2.7 - 5.5 22 VQFN32, TQFP32 2 1 6 3 1 2 8 1 -- 20 1.8 - 5.5 32 VQFN44, PDIP40, TQFP44 2 2 7 1 1 2 8 1 CAN 16 2.7 - 5.5 53 QFN64, TQFP64 1 1 10 1 0 1 (LIN) 11 4 DAC LIN CAN 16 2.7 - 5.5 27 VQFN32, TQFP32 2 2 9 2 1 1 8 1 USB OTG 16 2.7-5.5 48 TQFP64, VQFN64 1 1 4 2 0 1 0 1 USB device 16 2.7 - 5.5 22 VQFN32, TQFP32*(b) 1 1+PSC 7 1 0 0 8 2 -- 16 2.7-5.5 19 SOIC24, QFN32 1 1+PSC 7/12 1 0 1 8/11 2/3 DAC 16 2.7-5.5 19/27 SOIC24, VQFN32, SOIC32 *(c) 1 1+PSC 12 1 0 1 8/11 2/3 DAC 16 2.7-5.5 19/27 SOIC24, VQFN32, SOIC32 *(d) 0 1+PSC 6 1 0 0 11 3 DAC 16 2.7-5.5 20 QFN32, SOIC20 Atmel megaAVR Other Vcc (V) 16-bit Timers 8-bit Timers Max MIPS 8-bit Timers High Performance, Low Power Other USB device 2 Atmel megaAVR High Performance, Low Power Atmel megaAVR Microcontrollers When your designs call for some extra muscle, you need Atmel® megaAVR® microcontrollers. Developed for applications requiring large amounts of program code storage, the megaAVR offers substantial program and data memories and high performance, as well as low-power consumption using Atmel picoPower® technology. megaAVR microcontrollers also offer the advantage of self-programmability for fast, secure, cost-effective program updates. The megaAVR product family offers the widest selection of devices in terms of memory, pin count and peripherals. From general-purpose devices to devices with specialized peripherals, such as USB, LCD controllers, CAN, LIN, and power stage controllers, it is easy to find the perfect fit for your project in the megaAVR family. Atmel picoPower Technology To meet the tough requirements for portable and battery-operated applications, Atmel has focused on low-power consumption for more than ten years. The result is our outstanding picoPower technology, which enables Atmel AVR® microcontrollers to operate at the industry’s lowest power consumption With picoPower technology, the megaAVR excels in battery-powered equipment due to its inherently low-power consumption and individually selectable low-power sleep modes. Visit www.atmel.com/picopower for more information. High Level of Integration Integrating more functions on-chip reduces board size, simplifies system design, and reduces system complexity and cost. High integration combined with small package size make it possible to create smaller footprint designs. The megaAVR offers a high level of integration with on-chip flash, SRAM, EEPROM, pull-up resistors, precision oscillator, watchdog timer, brownout detector, and GPIO/PWM (pulse-width modulation) pins for application use. Advanced, onchip analog capabilities include an internal temperature sensor, analog comparator, multiple 10-bit ADC (analog to digital converter) input channels, and a programmable analog gain amplifier. Even the reset pin on megaAVR microcontrollers can be reconfigured to operate as a GPIO pin, adding one extra signal to applications where an external reset signal is not required. Atmel Corporation 1600 Technology Drive, San Jose, CA 95110 USA T : (+1)(408) 441. 0311 F : (+1)(408) 487. 2600 | www.atmel.com © 2012 Atmel Corporation. All rights reserved. / Rev.: Atmel-8491E-MegaAVR-E-US-11/12 Atmel®, Atmel logo and combinations thereof, and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. 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. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.