ATMEGA329PA-AUR Atmel, ATMEGA329PA-AUR Datasheet

IC MCU AVR 32K 20MHZ 64TQFP

ATMEGA329PA-AUR

Manufacturer Part Number
ATMEGA329PA-AUR
Description
IC MCU AVR 32K 20MHZ 64TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA329PA-AUR

Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Connectivity
SPI, UART/USART, USI
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
54
Program Memory Size
32KB (16K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA329PA-AUR
Manufacturer:
Atmel
Quantity:
10 000
Features
High Performance, Low Power Atmel
Advanced RISC Architecture
High Endurance Non-volatile Memory segments
QTouch
JTAG (IEEE std. 1149.1 compliant) Interface
Peripheral Features
Special Microcontroller Features
I/O and Packages
Speed Grade:
Temperature range:
Ultra-Low Power Consumption (picoPower devices)
– 130 Powerful Instructions – Most Single Clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
– Up to 16MIPS Throughput at16MHz (ATmega169A/169PA/649A/649P)
– Up to 20 MIPS Throughput at 20 MHz (ATmega329A/329PA/3290A/3290PA/6490A/6490P)
– On-Chip 2-cycle Multiplier
– In-System Self-programmable Flash Program Memory
– EEPROM
– Internal SRAM
– Write/Erase cyles: 10,000 Flash/100,000 EEPROM
– Data retention: 20 years at 85°C/100 years at 25°C
– Optional Boot Code Section with Independent Lock Bits
– Programming Lock for Software Security
– Capacitive touch buttons, sliders and wheels
– QTouch and QMatrix acquisition
– Up to 64 sense channels
– Boundary-scan Capabilities According to the JTAG Standard
– Extensive On-chip Debug Support
– Programming of Flash, EEPROM, Fuses, and Lock Bits through the JTAG Interface
– 4 x 25 Segment LCD Driver
– 4 x 40 Segment LCD Driver (ATmega3290A/ATmega3290PA/ATmega6490A/ATmega6490P)
– Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode
– One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture Mode
– Real Time Counter with Separate Oscillator
– Four PWM Channels
– 8-channel, 10-bit ADC
– Programmable Serial USART
– Master/Slave SPI Serial Interface
– Universal Serial Interface with Start Condition Detector
– Programmable Watchdog Timer with Separate On-chip Oscillator
– On-chip Analog Comparator
– Interrupt and Wake-up on Pin Change
– Power-on Reset and Programmable Brown-out Detection
– Internal Calibrated Oscillator
– External and Internal Interrupt Sources
– Five Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-down, and Standby
– 54/69 Programmable I/O Lines
– 64/100-lead TQFP, 64-pad QFN/MLF, and 64-pad DRQFN
– ATmega169A/169PA/649A/649P:
– ATmega3290A/3290PA/6490A/6490P:
– -40°C to 85°C Industrial
– Active mode:
– Power-down Mode:
– Power-save Mode:
(ATmega169A/ATmega169PA/ATmega329A/ATmega329PA/ATmega649A/ATmega649P)
• 16K Bytes (ATmega169A/ATmega169PA)
• 32K Bytes (ATmega329A/ATmega329PA/ATmega3290A/ATmega3290PA)
• 64K Bytes (ATmega649A/ATmega649P/ATmega6490A/ATmega6490P)
• 512bytes (ATmega169A/ATmega169PA)
• 1K bytes (ATmega329A/ATmega329PA/ATmega3290A/ATmega3290PA)
• 2K bytes (ATmega649A/ATmega649P/ATmega6490A/ATmega6490P)
• 1K bytes (ATmega169A/ATmega169PA)
• 2K bytes (ATmega329A/ATmega329PA/ATmega3290A/ATmega3290PA)
• 4K bytes (ATmega649A/ATmega649P/ATmega6490A/ATmega6490P)
• In-System Programming by On-chip Boot Program
• True Read-While-Write Operation
• 0 - 16MHz @ 1.8 - 5.5V,
• 0 - 20MHz @ 1.8 - 5.5V,
• 1 MHz, 1.8V: 215 µA
• 32 kHz, 1.8V: 8 µA (including Oscillator)
• 32 kHz, 1.8V: 25 µA (including Oscillator and LCD)
• 0.1 µA at 1.8V
• 0.6 µA at 1.8V (Including 32 kHz RTC)
• 750 nA at 1.8V
®
library support
®
AVR
®
8-Bit Microcontroller
(1)
8-bit
Microcontroller
with 32K Bytes
In-System
Programmable
Flash
ATmega169A
ATmega169PA
ATmega329A
ATmega329PA
ATmega649A
ATmega649P
ATmega3290A
ATmega3290PA
ATmega6490A
ATmega6490P
Preliminary
Summary
8284AS–AVR–10/10

Related parts for ATMEGA329PA-AUR

ATMEGA329PA-AUR Summary of contents

Page 1

... MIPS Throughput at 20 MHz (ATmega329A/329PA/3290A/3290PA/6490A/6490P) – On-Chip 2-cycle Multiplier • High Endurance Non-volatile Memory segments – In-System Self-programmable Flash Program Memory • 16K Bytes (ATmega169A/ATmega169PA) • 32K Bytes (ATmega329A/ATmega329PA/ATmega3290A/ATmega3290PA) • 64K Bytes (ATmega649A/ATmega649P/ATmega6490A/ATmega6490P) – EEPROM • 512bytes (ATmega169A/ATmega169PA) • 1K bytes (ATmega329A/ATmega329PA/ATmega3290A/ATmega3290PA) • 2K bytes (ATmega649A/ATmega649P/ATmega6490A/ATmega6490P) – ...

Page 2

... Pin Configurations 1.1 Pinout - 64A (TQFP) and 64M1 (QFN/MLF) Figure 1-1. Pinout ATmega169A/ATmega169PA/ATmega329A/ATmega329PA/ATmega649A/ATmega649P LCDCAP 1 (RXD/PCINT0) PE0 2 (TXD/PCINT1) PE1 3 (XCK/AIN0/PCINT2) PE2 4 (AIN1/PCINT3) PE3 5 (USCK/SCL/PCINT4) PE4 6 (DI/SDA/PCINT5) PE5 7 (DO/PCINT6) PE6 8 (CLKO/PCINT7) PE7 9 (SS/PCINT8) PB0 10 (SCK/PCINT9) PB1 11 (MOSI/PCINT10) PB2 12 (MISO/PCINT11) PB3 13 (OC0A/PCINT12) PB4 14 (OC1A/PCINT13) PB5 ...

Page 3

ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 1.2 Pinout - 100A (TQFP) Figure 1-2. Pinout ATmega3290A/ATmega3290PA/ATmega6490A/ATmega6490P 1 LCDCAP 2 (RXD/PCINT0) PE0 3 (TXD/PCINT1) PE1 4 (XCK/AIN0/PCINT2) PE2 5 (AIN1/PCINT3) PE3 (USCK/SCL/PCINT4) PE4 6 (DI/SDA/PCINT5) PE5 7 8 (DO/PCINT6) PE6 9 (CLKO/PCINT7) PE7 10 VCC 11 GND ...

Page 4

Pinout - 64MC (DRQFN) Figure 1-3. Table 1-1. A1 PE0 A9 B1 VLCDCAP B8 A2 PE1 A10 B2 PE2 B9 A3 PE3 A11 B3 PE4 B10 A4 PE5 A12 B4 PE6 B11 A5 PE7 A13 B5 PB0 B12 A6 ...

Page 5

ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 2. Overview The ATmega169A/169PA/329A/329PA/3290A/3290PA/649A/649P/6490A/6490P is a low-power CMOS 8-bit microcon- troller based on the Ateml AVR ® ® the ATmega169A/169PA/329A/329PA/3290A/3290PA/649A/649P/6490A/6490P achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed. 2.1 ...

Page 6

... Suppression QTouch Suite toolchain allows you to explore, develop and debug your own touch applications. The device is manufactured using Atmel’s high density non-volatile memory technology. The On-chip In-System re-Programmable (ISP) Flash allows the program memory to be repro- grammed In-System through an SPI serial interface conventional non-volatile memory programmer On-chip Boot program running on the AVR core ...

Page 7

... ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 2.2 Comparison Between ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P Table 2-1. Differences between: ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P Device Flash ATmega169A 16 Kbyte ATmega169PA 16 Kbyte ATmega329A 32 Kbyte ATmega329PA 32 Kbyte ATmega3290A 32K bytes ATmega3290PA 32 Kbyte ATmega649A 64 Kbyte ATmega649P 64 Kbyte ATmega6490A 64 Kbyte ATmega6490P 64 Kbyte 8284AS–AVR–10/10 EEPROM RAM 512 Bytes 1 Kbyte ...

Page 8

Pin Descriptions The following section describes the I/O-pin special functions. 2.3 Digital supply voltage. 2.3.2 GND Ground. 2.3.3 Port A (PA7...PA0) Port 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). ...

Page 9

ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P Port D also serves the functions of various special features of the ATmega169A/169PA/329A/329PA/3290A/3290PA/649A/649P/6490A/6490P as listed on 79. 2.3.7 Port E (PE7...PE0) Port 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port ...

Page 10

As inputs, Port J pins that are externally pulled low will source current if the pull-up resistors are activated. The Port J pins are tri-stated when a reset condition becomes active, even if the clock is not running. Port ...

Page 11

... ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 3. Resources A comprehensive set of development tools, application notes and datasheets are available for download on http://www.atmel.com/avr. Note: 4. Data Retention Reliability Qualification results show that the projected data retention failure rate is much less than 1 PPM over 20 years at 85°C or 100 years at 25°C. ...

Page 12

Register Summary Note: Address Name Bit 7 LCDDR19 SEG339 (0xFF) LCDDR18 SEG331 (0xFE) LCDDR17 SEG323 (0xFD) LCDDR16 SEG315 (0xFC) LCDDR15 SEG307 (0xFB) LCDDR14 SEG239 (0xFA) LCDDR13 SEG231 (0xF9) LCDDR12 SEG223 (0xF8) LCDDR11 SEG215 (0xF7) LCDDR10 SEG207 (0xF6) LCDDR09 SEG139 ...

Page 13

ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P Address Name Bit 7 UBRR0L (0xC4) Reserved - (0xC3) UCSR0C - (0xC2) UCSR0B RXCIE0 (0xC1) UCSR0A RXC0 (0xC0) Reserved - (0xBF) Reserved - (0xBE) Reserved - (0xBD) Reserved - (0xBC) Reserved - (0xBB) USIDR (0xBA) USISR USISIF (0xB9) USICR ...

Page 14

Address Name Bit 7 TCNT1H (0x85) TCNT1L (0x84) Reserved - (0x83) TCCR1C FOC1A (0x82) TCCR1B ICNC1 (0x81) TCCR1A COM1A1 (0x80) DIDR1 - (0x7F) DIDR0 ADC7D (0x7E) Reserved - (0x7D) ADMUX REFS1 (0x7C) ADCSRB - (0x7B) ADCSRA ADEN (0x7A) ADCH (0x79) ...

Page 15

ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P Address Name Bit 7 TCNT0 0x26 (0x46) Reserved - 0x25 (0x45) TCCR0A FOC0A 0x24 (0x44) GTCCR TSM 0x23 (0x43) EEARH - 0x22 (0x42) EEARL 0x21 (0x41) EEDR 0x20 (0x40) EECR - 0x1F (0x3F) GPIOR0 0x1E (0x3E) EIMSK PCIE 0x1D ...

Page 16

Instruction Set Summary Mnemonics Operands ARITHMETIC AND LOGIC INSTRUCTIONS ADD Rd, Rr Add two Registers ADC Rd, Rr Add with Carry two Registers ADIW Rdl,K Add Immediate to Word SUB Rd, Rr Subtract two Registers SUBI Rd, K Subtract ...

Page 17

ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P Mnemonics Operands BRVC k Branch if Overflow Flag is Cleared BRIE k Branch if Interrupt Enabled BRID k Branch if Interrupt Disabled BIT AND BIT-TEST INSTRUCTIONS SBI P,b Set Bit in I/O Register CBI P,b Clear Bit in I/O ...

Page 18

Mnemonics Operands PUSH Rr Push Register on Stack POP Rd Pop Register from Stack MCU CONTROL INSTRUCTIONS NOP No Operation SLEEP Sleep WDR Watchdog Reset BREAK Break ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 18 Description STACK ← ← STACK (see specific descr. for ...

Page 19

... Notes: 1. This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities. 2. Pb-free packaging, complies to the European Directive for Restriction of Hazardous Substances (RoHS directive). Also Halide free and fully Green. ...

Page 20

... Notes: 1. This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities. 2. Pb-free packaging, complies to the European Directive for Restriction of Hazardous Substances (RoHS directive). Also Halide free and fully Green. ...

Page 21

... Notes: 1. This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities. 2. Pb-free packaging complies to the European Directive for Restriction of Hazardous Substances (RoHS directive). Also Halide free and fully Green. ...

Page 22

... Thin Profile Plastic Quad Flat Package (TQFP) 64M1 64-pad 1.0 mm, Quad Flat No-Lead/Micro Lead Frame Package (QFN/MLF) ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 22 (2) Ordering Code Package Type ATmega329PA-AU 64A (4) ATmega329PA-AUR 64A ATmega329PA-MU 64M1 (4) ATmega329PA-MUR 64M1 352. Package Type (1) Operational Range Industrial 0°C to 85°C) (-4 8284AS– ...

Page 23

... Notes: 1. This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities. 2. Pb-free packaging complies to the European Directive for Restriction of Hazardous Substances (RoHS directive). Also Halide free and fully Green. ...

Page 24

... Notes: 1. This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities. 2. Pb-free packaging complies to the European Directive for Restriction of Hazardous Substances (RoHS directive). Also Halide free and fully Green. ...

Page 25

... Notes: 1. This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities. 2. Pb-free packaging complies to the European Directive for Restriction of Hazardous Substances (RoHS directive). Also Halide free and fully Green. ...

Page 26

... V Notes: 1. This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities. 2. Pb-free packaging complies to the European Directive for Restriction of Hazardous Substances (RoHS directive). Also Halide free and fully Green. ...

Page 27

... Notes: 1. This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities. 2. Pb-free packaging complies to the European Directive for Restriction of Hazardous Substances (RoHS directive). Also Halide free and fully Green. ...

Page 28

... Notes: 1. This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities. 2. Pb-free packaging complies to the European Directive for Restriction of Hazardous Substances (RoHS directive). Also Halide free and fully Green. ...

Page 29

ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 9. Packaging Information 9.1 64A PIN 1 PIN 0°~7° 0°~7° Notes: Notes: 1.This package conforms to JEDEC reference MS-026, Variation AEB. 1.This package conforms to JEDEC reference MS-026, Variation AEB. 2. Dimensions ...

Page 30

D Marked Pin Marked Pin TOP VIEW TOP VIEW BOTTOM VIEW BOTTOM VIEW Note: 1. JEDEC Standard MO-220, (SAW Singulation) Fig. 1, ...

Page 31

... Pin TOP VIEW eT/2 A26 B23 A25 B22 D2 B16 A18 B15 A17 L E2 BOTTOM VIEW Note: 1. The terminal # Laser-marked Feature. Package Drawing Contact: packagedrawings@atmel.com 8284AS–AVR–10/ A34 B30 A1 B1 0.40 b R0. (0.18) REF B8 A9 (0.1) REF K TITLE 64MC, 64QFN (2-Row Staggered ...

Page 32

PIN 1 PIN 1 PIN 1 IDENTIFIER 0˚~7˚ 0˚~7˚ Notes: 1. This package conforms to JEDEC reference MS-026, Variation AED. Notes: 1. This package conforms to JEDEC reference MS-026, Variation AED. 2. ...

Page 33

ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 10. Errata 10.1 ATmega169A No known errata 10.2 ATmega169A/169PA Rev Not sampled. 10.3 ATmega169PA Rev known errata. 10.4 ATmega329A/329PA rev. A • Interrupts may be lost when writing the timer registers in the asynchronous ...

Page 34

ATmega329A/329PA rev. C • Interrupts may be lost when writing the timer registers in the asynchronous timer 1. Interrupts may be lost when writing the timer registers in the asynchronous timer The interrupt will be lost if a timer ...

Page 35

ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 10.9 ATmega3290A/3290PA rev. C • Interrupts may be lost when writing the timer registers in the asynchronous timer 1. Interrupts may be lost when writing the timer registers in the asynchronous timer The interrupt will be lost if a ...

Page 36

Datasheet Revision History Please note that the referring page numbers in this section are referring to this document.The referring revision in this section are referring to the document revision. 11.1 Rev. 8284A - 09/10 1. Initial revision ATmega169A/169PA/329A/329PA/649A/649P/3290A/3290PA/6490A/6490P 36 ...

Page 37

... 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 ATMEL’S TERMS AND CONDI- TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, 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 ...

Related keywords