ATMEGA325-16AU Atmel, ATMEGA325-16AU Datasheet
ATMEGA325-16AU
Specifications of ATMEGA325-16AU
Available stocks
Related parts for ATMEGA325-16AU
ATMEGA325-16AU Summary of contents
Page 1
... Fully Static Operation – MIPS Throughput at 16 MHz – On-Chip 2-cycle Multiplier • High Endurance Non-volatile Memory Segments – In-System Self-programmable Flash Program Memory • 32K Bytes (ATmega325/ATmega3250) • 64K Bytes (ATmega645/ATmega6450) – EEPROM • 1K bytes (ATmega325/ATmega3250) • 2K bytes (ATmega645/ATmega6450) – Internal SRAM • ...
Page 2
... Pin Configurations Figure 1-1. ATmega325/3250/645/6450 2 Pinout ATmega3250/6450 DNC 1 (RXD/PCINT0) PE0 2 INDEX CORNER (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 VCC 10 GND 11 DNC 12 (PCINT24) PJ0 13 (PCINT25) PJ1 14 DNC 15 DNC 16 DNC 17 DNC 18 (SS/PCINT8) PB0 19 (SCK/PCINT9) PB1 ...
Page 3
... AVR microcontrollers manufactured on the same process technology. Min and Max values will be available after the device is characterized. 3. Overview The ATmega325/3250/645/6450 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the ATmega325/3250/645/6450 achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed. 2570LS– ...
Page 4
... Arithmetic Logic Unit (ALU), allowing two independent registers to be accessed in one single instruction executed in one clock cycle. The resulting architecture is more code efficient while achieving throughputs up to ten times faster than con- ventional CISC microcontrollers. ATmega325/3250/645/6450 4 PF0 - PF7 PA0 - PA7 ...
Page 5
... Self-Programmable Flash on a monolithic chip, the Atmel ATmega325/3250/645/6450 is a pow- erful microcontroller that provides a highly flexible and cost effective solution to many embedded control applications. The ATmega325/3250/645/6450 AVR is supported with a full suite of program and system development tools including: C Compilers, Macro Assemblers, Program Debugger/Simulators, In-Circuit Emulators, and Evaluation kits. ...
Page 6
... As inputs, Port E pins that are externally pulled low will source current if the pull-up resistors are activated. The Port E pins are tri-stated when a reset condition becomes active, even if the clock is not running. Port E also serves the functions of various special features of the ATmega325/3250/645/6450 as listed on ATmega325/3250/645/6450 ...
Page 7
... 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 J also serves the functions of various special features of the ATmega3250/6450 as listed on page 71. ...
Page 8
... A comprehensive set of development tools, application notes and datasheets are available for download on http://www.atmel.com/avr. Note: 5. 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. ATmega325/3250/645/6450 8 , even if the ADC is not used. If the ADC is used, it should be connected ...
Page 9
... Reserved - (0xD1) Reserved - (0xD0) Reserved - (0xCF) Reserved - (0xCE) Reserved - (0xCD) Reserved - (0xCC) Reserved - (0xCB) Reserved - (0xCA) Reserved - (0xC9) Reserved - (0xC8) Reserved - (0xC7) UDR0 (0xC6) UBRR0H (0xC5) UBRR0L (0xC4) 2570LS–AVR–08/07 Registers with bold type only available in ATmega3250/6450. Bit 6 Bit 5 Bit ...
Page 10
... Reserved - (0x8F) Reserved - (0x8E) Reserved - (0x8D) Reserved - (0x8C) OCR1BH (0x8B) OCR1BL (0x8A) OCR1AH (0x89) OCR1AL (0x88) ICR1H (0x87) ICR1L (0x86) TCNT1H (0x85) ATmega325/3250/645/6450 10 Bit 6 Bit 5 Bit 4 Bit UMSEL0 UPM01 UPM00 USBS0 TXCIE0 UDRIE0 RXEN0 TXEN0 TXC0 UDRE0 FE0 DOR0 - - - - - ...
Page 11
... OCDR6 OCDR5 OCDR4 ACBG ACO ACI - - - SPI Data Register WCOL - - SPE DORD MSTR General Purpose I/O Register General Purpose I/O Register - - - - - - Timer/Counter0 Output Compare A Timer/Counter0 ATmega325/3250/645/6450 Bit 3 Bit 2 Bit WGM12 CS12 CS11 - - WGM11 - - AIN1D ADC3D ADC2D ADC1D - - - MUX3 MUX2 MUX1 ...
Page 12
... Registers as data space using LD and ST instructions, 0x20 must be added to these addresses. The ATmega325/3250/645/6450 is a complex microcontroller with more peripheral units than can be supported within the 64 location reserved in Opcode for the IN and OUT instructions. For the Extended I/O space from 0x60 - 0xFF in SRAM, only the ST/STS/STD and LD/LDS/LDD instructions can be used ...
Page 13
... Branch if Less Than Zero, Signed BRHS k Branch if Half Carry Flag Set BRHC k Branch if Half Carry Flag Cleared BRTS k Branch if T Flag Set 2570LS–AVR–08/07 ATmega325/3250/645/6450 Description Rd ← ← Rdh:Rdl ← Rdh:Rdl + K Rd ← ← ← ← Rdh:Rdl ← Rdh:Rdl - K Rd ← Rd • ← ...
Page 14
... LPM Load Program Memory LPM Rd, Z Load Program Memory LPM Rd, Z+ Load Program Memory and Post-Inc SPM Store Program Memory ATmega325/3250/645/6450 14 Description then PC ← then PC ← then PC ← then PC ← then PC ← I/O(P,b) ← 1 I/O(P,b) ← 0 Rd(n+1) ← Rd(n), Rd(0) ← 0 Rd(n) ← ...
Page 15
... Pop Register from Stack MCU CONTROL INSTRUCTIONS NOP No Operation SLEEP Sleep WDR Watchdog Reset BREAK Break 2570LS–AVR–08/07 ATmega325/3250/645/6450 Description Rd ← ← Rr STACK ← ← STACK (see specific descr. for Sleep function) (see specific descr. for WDR/timer) For On-chip Debug Only Operation Flags ...
Page 16
... Figure 28-1 on page 298 ATmega325/3250/645/6450 16 Ordering Code Package Type ATmega325V-8AI 64A (2) ATmega325V-8AU 64A ATmega325V-8MI 64M1 (2) ATmega325V-8MU 64M1 ATmega325-16AI 64A (2) ATmega325-16AU 64A ATmega325-16MI 64M1 (2) ATmega325-16MU 64M1 and Figure 28-2 on page 298. (1) Operational Range Industrial 0°C to 85°C) (-4 Industrial 0°C to 85°C) (-4 2570LS–AVR–08/07 ...
Page 17
... Thin Profile Plastic Quad Flat Package (TQFP) 64M1 64-pad 1.0 mm, Quad Flat No-Lead/Micro Lead Frame Package (QFN/MLF) 100A 100-lead 1.0 mm, 0.5 mm Lead Pitch, Thin Profile Plastic Quad Flat Package (TQFP) 2570LS–AVR–08/07 ATmega325/3250/645/6450 Package Type 17 ...
Page 18
... Quad Flat No-Lead/Micro Lead Frame Package (QFN/MLF) 100A 100-lead 1.0 mm, 0.5 mm Lead Pitch, Thin Profile Plastic Quad Flat Package (TQFP) ATmega325/3250/645/6450 18 Ordering Code Package Type ATmega3250V-8AI 100A (2) ATmega3250V-8AU 100A ATmega3250-16AI 100A (2) ATmega3250-16AU 100A and Figure 28-2 on page 298. Package Type (1) Operational Range Industrial 0° ...
Page 19
... Thin Profile Plastic Quad Flat Package (TQFP) 64M1 64-pad 1.0 mm, Quad Flat No-Lead/Micro Lead Frame Package (QFN/MLF) 100A 100-lead 1.0 mm, 0.5 mm Lead Pitch, Thin Profile Plastic Quad Flat Package (TQFP) 2570LS–AVR–08/07 ATmega325/3250/645/6450 Ordering Code Package Type ATmega645V-8AI 64A (2) ...
Page 20
... Figure 28-1 on page 298 64A 64-lead 1.0 mm, Thin Profile Plastic Quad Flat Package (TQFP) 64M1 64-pad 1.0 mm, Quad Flat No-Lead/Micro Lead Frame Package (QFN/MLF) 100A 100-lead 1.0 mm, 0.5 mm Lead Pitch, Thin Profile Plastic Quad Flat Package (TQFP) ATmega325/3250/645/6450 20 Ordering Code Package Type ATmega6450V-8AI 100A (2) ...
Page 21
... Orchard Parkway San Jose, CA 95131 R 2570LS–AVR–08/07 B PIN 1 IDENTIFIER TITLE 64A, 64-lead Body Size, 1.0 mm Body Thickness, 0.8 mm Lead Pitch, Thin Profile Plastic Quad Flat Package (TQFP) ATmega325/3250/645/6450 A2 A COMMON DIMENSIONS (Unit of Measure = mm) MIN MAX SYMBOL NOM A – – 1.20 A1 0.05 – ...
Page 22
... Marked Pin TOP VIEW BOTTOM VIEW Note: 1. JEDEC Standard MO-220, (SAW Singulation) Fig. 1, VMMD. 2. Dimension and tolerance conform to ASMEY14.5M-1994. 2325 Orchard Parkway San Jose, CA 95131 R ATmega325/3250/645/6450 Pin #1 Corner Pin #1 1 Option A Triangle 2 3 Option B Pin #1 Chamfer (C 0.30) Option C Pin #1 ...
Page 23
... Orchard Parkway San Jose, CA 95131 R 2570LS–AVR–08/07 B PIN 1 IDENTIFIER TITLE 100A, 100-lead Body Size, 1.0 mm Body Thickness, 0.5 mm Lead Pitch, Thin Profile Plastic Quad Flat Package (TQFP) ATmega325/3250/645/6450 A2 A COMMON DIMENSIONS (Unit of Measure = mm) MIN MAX SYMBOL NOM A – – 1.20 A1 0.05 – ...
Page 24
... Always check that the Timer2 Timer/Counter register, TCNT2, does not have the value 0xFF before writing the Timer2 Control Register, TCCR2, or Output Compare Register, OCR2. 10.2 Errata ATmega3250 The revision letter in this section refers to the revision of the ATmega3250 device. 10.2.1 ATmega3250 Rev. C • ...
Page 25
... ATmega3250 Rev. A • 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 If one of the timer registers which is synchronized to the asynchronous timer2 clock is writ- ten in the cycle before a overflow interrupt occurs, the interrupt may be lost. ...
Page 26
... Updated Features in 5. Added 6. Updated 11.5 Rev. 2570H – 06/06 1. Updated 2. Updated 3. Added ATmega325/3250/645/6450 26 “Features” on page 1. “Data Retention” on page 8. “Serial Programming Algorithm” on page “Speed Grades” on page 298. “System and Reset Characteristics” on page “Errata” on page 24. Table 28-7 on page 303 ...
Page 27
... ACBG: Analog Comparator Bandgap Select” on page Updated Features in “Analog to Digital Converter” on page Updated “Prescaling and Conversion Timing” on page Updated “ATmega325/3250/645/6450 Boot Loader Parameters” on page Updated “DC Characteristics” on page MLF-package alternative changed to “Quad Flat No-Lead/Micro Lead Frame Package QFN/MLF”. Added “ ...
Page 28
... Characteristics” on page 305 7. “DC Characteristics” on page 296 8. “Alternate Functions of Port G” on page 75 11.11 Rev. 2570B – 09/04 1. Updated 11.12 Rev. 2570A – 09/04 1. Initial revision. ATmega325/3250/645/6450 28 “16-bit Timer/Counter1” on page 147, and updated. updated. updated. updated. “Ordering Information” on page 16. 101, “ ...
Page 29
... 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 ...