ATmega32U4-AU
8-bit Microcontroller with USB ControllerThe ATmega32U4-AU is a 8-bit microcontroller with usb controller from Microchip Technology. View the full ATmega32U4-AU datasheet below including key specifications, pinout, electrical characteristics, absolute maximum ratings.
Manufacturer
Microchip Technology
Category
8-bit Microcontroller with USB Controller
Package
TQFP-44, QFN-44
Lifecycle
Active
Key Specifications
| Parameter | Value |
|---|---|
| Connectivity | I2C, SPI, UART/USART, USB |
| Core Processor | AVR |
| Core Size | 8-Bit |
| Data Converters | A/D 12x10b |
| DigiKey Programmable | Not Verified |
| DigiKey Programmable | Not Verified |
| EEPROM Size | 1K x 8 |
| EEPROM Size | 1K x 8 |
| Mounting Type | Surface Mount |
| Number of I/O | 26 |
| Operating Temperature | -40°C ~ 85°C (TA) |
| Oscillator Type | Internal |
| Oscillator Type | Internal |
| Package / Case | 44-TQFP |
| Peripherals | Brown-out Detect/Reset, POR, PWM, WDT |
| Flash Memory Size | 32KB (16K x 16) |
| Program Memory Type | FLASH |
| RAM Size | 2.5K x 8 B |
| Clock Speed | 16MHz |
| Supplier Device Package | 44-TQFP (10x10) |
| Supplier Device Package | 44-TQFP (10x10) |
| Supply Voltage | 2.7V ~ 5.5V |
Overview
Part: ATmega16U4/ATmega32U4 — Atmel Type: 8-bit Microcontroller with USB Controller Description: High-performance, low-power 8-bit AVR microcontroller with 16/32KB In-System Self-Programmable Flash, 1.25/2.5KB SRAM, 512Bytes/1KB EEPROM, and a USB 2.0 Full-speed/Low Speed Device Module.
Operating Conditions:
- Supply voltage: 2.7–5.5V
- Operating temperature: -40 to +85°C
- Max frequency: 16MHz at 4.5V
Absolute Maximum Ratings:
Key Specs:
- CPU: AVR 8-bit RISC
- Max throughput: Up to 16 MIPS at 16MHz
- Flash memory: 16/32KB In-System Self-Programmable
- SRAM: 1.25/2.5KB Internal
- EEPROM: 512Bytes/1KB Internal
- USB data rates: Up to 12Mbit/s (Full-speed), 1.5Mbit/s (Low Speed)
- I/O lines: 26 Programmable
- ADC: 12-channels, 10-bit
- Data retention: 20 years at 85°C / 100 years at 25°C
Features:
- Advanced RISC Architecture with 135 instructions
- On-chip 2-cycle Multiplier
- JTAG (IEEE std. 1149.1 compliant) Interface
- USB 2.0 Full-speed/Low Speed Device Module
- On-chip PLL for USB and High Speed Timer (32 up to 96MHz)
- Multiple Timer/Counters (8-bit, 16-bit, 10-bit High-Speed)
- Multiple PWM Channels (8-bit, 2-16 bit programmable resolution, 2-11 bit high speed)
- Programmable Serial USART with Hardware Flow Control
- Master/Slave SPI Serial Interface
- Byte Oriented 2-wire Serial Interface
- Programmable Watchdog Timer with Separate On-chip Oscillator
- On-chip Analog Comparator
- On-chip Temperature Sensor
- Power-on Reset and Programmable Brown-out Detection
- Internal 8MHz Calibrated Oscillator
- Six Sleep Modes
Applications:
- Embedded control applications
Package:
- 44-lead TQFP Package, 10x10mm
- 44-lead QFN Package, 7x7mm
Features
- High Performance, Low Power AVR ® 8-Bit Microcontroller
- Advanced RISC Architecture
- 135 Powerful Instructions - Most Single Clock Cycle Execution
- 32 x 8 General Purpose Working Registers
- Fully Static Operation
- Up to 16 MIPS Throughput at 16MHz
- On-Chip 2-cycle Multiplier
- Non-volatile Program and Data Memories
- 16/32KB of In-System Self-Programmable Flash
- 1.25/2.5KB Internal SRAM
- 512Bytes/1KB Internal EEPROM
- Write/Erase Cycles: 10,000 Flash/100,000 EEPROM
- Data retention: 20 years at 85 C/ 100 years at 25 C (1)
- Optional Boot Code Section with Independent Lock Bits In-System Programming by On-chip Boot Program True Read-While-Write Operation Parts using external XTAL clock are pre-programed with a default USB bootloader
- Programming Lock for Software Security
- JTAG (IEEE ® std. 1149.1 compliant) Interface
- 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
- USB 2.0 Full-speed/Low Speed Device Module with Interrupt on Transfer Completion
- Complies fully with Universal Serial Bus Specification Rev 2.0
- Supports data transfer rates up to 12Mbit/s and 1.5Mbit/s
- Endpoint 0 for Control Transfers: up to 64-bytes
- Six Programmable Endpoints with IN or Out Directions and with Bulk, Interrupt or Isochronous Transfers
- Configurable Endpoints size up to 256 bytes in double bank mode
- Fully independent 832 bytes USB DPRAM for endpoint memory allocation
- Suspend/Resume Interrupts
- CPU Reset possible on USB Bus Reset detection
- 48MHz from PLL for Full-speed Bus Operation
- USB Bus Connection/Disconnection on Microcontroller Request
- Crystal-less operation for Low Speed mode
- Peripheral Features
- On-chip PLL for USB and High Speed Timer: 32 up to 96MHz operation
- One 8-bit Timer/Counter with Separate Prescaler and Compare Mode
Pin Configuration
ATmega32U4-AU – TQFP-44 Pinout
| Pin | Name | Type | Description |
|---|---|---|---|
| 1 | PE6 | I/O | INT6/AIN0 |
| 2 | UVcc | P | USB Power Supply |
| 3 | D- | I/O | USB Data- |
| 4 | D+ | I/O | USB Data+ |
| 5 | UGnd | P | USB Ground |
| 6 | UCap | P | USB Capacitor |
| 7 | VBus | I | USB VBus |
| 8 | PB0 | I/O | SS/PCINT0 |
| 9 | PB1 | I/O | PCINT1/SCK |
| 10 | PB2 | I/O | PDI/PCINT2/MOSI |
| 11 | PB3 | I/O | PDO/PCINT3/MISO |
| 12 | PB7 | I/O | PCINT7/OOO/RTS/PE7 |
| 13 | RESET | I | Reset |
| 14 | VCC | P | Power Supply |
| 15 | GND | P | Ground |
| 16 | XTAL2 | O | Crystal Oscillator Output |
| 17 | XTAL1 | I | Crystal Oscillator Input |
| 18 | PD0 | I/O | COO/B/SL/INT0 |
| 19 | PD1 | I/O | SD/MINT/PD1 |
| 20 | PF2 | I/O | RXD/INT2/PD2 |
| 21 | PD3 | I/O | TXD/INT3/PD3 |
| 22 | PD5 | I/O | XCK/CTS/PD5 |
| 23 | GND | P | Ground |
| 24 | AVCC | P | Analog Power Supply |
| 25 | PD4 | I/O | ICP1/ADC8 |
| 26 | PD6 | I/O | T1/OC4D/ADC9 |
| 27 | PD7 | I/O | T0/OC4D/ADC10 |
| 28 | PB4 | I/O | PCINT4/ADC11 |
| 29 | PB5 | I/O | PCINT5/OC1A/OC4B/ADC12 |
| 30 | PB6 | I/O | PCINT6/OC1B/OC4B/ADC13 |
| 31 | PC6 | I/O | OC3A/OC4A |
| 32 | PC7 | I/O | ICP3/CLK0/OC4A |
| 33 | PE2 | I/O | HWB |
| 34 | VCC | P | Power Supply |
| 35 | GND | P | Ground |
| 36 | PF6 | I/O | ADC5/TMS |
| 37 | PF5 | I/O | ADC4/TCO |
| 38 | PF4 | I/O | ADC3/TDO |
| 39 | PF1 | I/O | ADC2/TCK |
| 40 | PF0 | I/O | ADC1/TDI |
| 41 | AREF | I | Analog Reference |
| 42 | GND | P | Ground |
| 43 | AVC2 | P | Analog Power Supply |
| 44 | GND | P | Ground |
Notes
- Pin diagram shows 44-pin QFN/QFP package for both ATmega32U4 and ATmega16U4; this table is specific to ATmega32U4-AU.
- USB-related pins (UVcc, D-, D+, UGnd, UCap, VBus) are dedicated to USB functionality.
- Multiple power (VCC, AVCC, AVC2) and ground (GND, UGnd) pins distributed throughout package.
- Port pins support multiple alternate functions (SPI, UART, PWM, ADC, etc.) as indicated in descriptions.
- PE6 and PE2 have special functions (INT6/AIN0 and HWB respectively).
Electrical Characteristics
*NOTICE:
Stresses beyond those listed under 'Absolute Maximum Ratings' may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or other conditions beyond those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
Table 29-1. DC Characteristic, TA = -40°C to 85°C, VCC = 2.7V to 5.5V (unless otherwise noted)
| Symbol | Parameter | Condition | Min. (5) | Typ. | Max. (5) | Units |
|---|---|---|---|---|---|---|
| V IL | Input Low Voltage, Except XTAL1 and Reset pin | V CC = 2.7V - 5.5V | -0.5 | 0.2V CC - 0.1V (1) (LVTTL) | V | |
| V IL1 | Input Low Voltage, XTAL1 pin | V CC = 2.7V - 5.5V | -0.5 | 0.1V CC (1) | V | |
| V IL2 | Input Low Voltage, RESET pin | V CC = 2.7V - 5.5V | -0.5 | 0.1V CC (1) | V | |
| V IH | Input High Voltage, Except XTAL1 and RESET pins | V CC = 2.7V - 5.5V | 0.2V CC +0.9 V (2) (LVTTL) | V CC + 0.5 | V | |
| V IH1 | Input High Voltage, XTAL1 pin | V CC = 2.7V - 5.5V | 0.7V CC (2) | V CC + 0.5 | V | |
| V IH2 | Input High Voltage, RESET pin | V CC = 2.7V - 5.5V | 0.9V CC (2) | V CC + 0.5 | V | |
| V OL | Output Low Voltage (3) , | I OL = 10mA, V CC = 5V I OL = 5mA, V CC = 3V | 0.7 0.5 | V | ||
| V OH | Output High Voltage (4) , | I OH = -10mA, V CC = 5V I OH = -5mA, V CC = 3V | 4.2 2.3 | V | ||
| I IL | Input Leakage Current I/O Pin | V CC = 5.5V, pin low (absolute value) | 1 | μA |
Table 29-1. DC Characteristic, TA = -40°C to 85°C, VCC = 2.7V to 5.5V (unless otherwise noted)
| Symbol | Parameter | Condition | Min. (5) | Typ. | Max. (5) | Units |
|---|---|---|---|---|---|---|
| I IH | Input Leakage Current I/O Pin | V CC = 5.5V, pin high (absolute value) | 1 | μA | ||
| R RST | Reset Pull-up Resistor | 30 | 60 | k | ||
| R PU | I/O Pin Pull-up Resistor | 20 | 50 | k | ||
| I CC | Power Supply Current (6) | Active 4MHz, V CC = 3V (ATmega16U4/ATmega32U4) | 5 | mA | ||
| I CC | Power Supply Current (6) | Active 8MHz, V CC = 5V (ATmega16U4/ATmega32U4) | 10 | 15 | mA | |
| I CC | Power Supply Current (6) | Active 16MHz, V CC = 5V (ATmega16U4/ATmega32U4) | 27 | mA | ||
| I CC | Power Supply Current (6) | Idle 4MHz, V CC = 3V (ATmega16U4/ATmega32U4) | 2 | mA | ||
| I CC | Power Supply Current (6) | Idle 8MHz, V CC = 5V (ATmega16U4/ATmega32U4) | 6 | mA | ||
| I CC | Power-down mode | WDT enabled, V CC = 3V, Regulator Disabled | <10 | 12 | μA | |
| I CC | Power-down mode | WDT disabled, V CC = 3V,Regulator Disabled | 1 | 5 | μA | |
| V ACIO | Analog Comparator Input Offset Voltage | V CC = 5V V in = V CC /2 | <10 | 40 | mV | |
| I ACLK | Analog Comparator Input Leakage Current | V CC = 5V V in = V CC /2 | -50 | 50 | nA | |
| t ACID | Analog Comparator Propagation Delay | V CC = 2.7V V CC = 4.0V | 750 500 | ns | ||
| Rusb | USB Series resistor (external) | 22±5% | ||||
| Vreg | Regulator Output Voltage | C UCAP = 1μF ±20%, UVcc 4.0V, I 80mA (7) , or UVcc 3.4V, I 55mA (7) | 3 | 3.3 | 3.6 | V |
- "Max" means the highest value where the pin is guaranteed to be read as low
- "Min" means the lowest value where the pin is guaranteed to be read as high
- Although each I/O port can sink more than the test conditions (20mA at V CC = 5V, 10mA at V CC = 3V) under steady state conditions (non-transient), the following must be observed:
ATmega16U4/ATmega32U4:
- 1.)The sum of all IOL, for ports A0-A7, G2, C4-C7 should not exceed 100mA.
2.)The sum of all IOL, for ports C0-C3, G0-G1, D0-D7 should not exceed 100mA.
- 3.)The sum of all IOL, for ports G3-G5, B0-B7, E0-E7 should not exceed 100mA.
- 4.)The sum of all IOL, for ports F0-F7 should not exceed 100mA.
If IOL exceeds the test condition, VOL may exceed the related specification. Pins are not guaranteed to sink current greater than the listed test condition.
- Although each I/O port can source more than the test conditions (20mA at V CC = 5V, 10mA at V CC = 3V) under steady state conditions (non-transient), the following must be observed:
ATmega16U4/ATmega32U4:
Note:
- 1)The sum of all IOH, for ports A0-A7, G2, C4-C7 should not exceed 100mA.
- 2)The sum of all IOH, for ports C0-C3, G0-G1, D0-D7 should not exceed 100mA.
- 3)The sum of all IOH, for ports G3-G5, B0-B7, E0-E7 should not exceed 100mA.
- 4)The sum of all IOH, for ports F0-F7 should not exceed 100mA.
- All DC Characteristics contained in this datasheet are based on simulation and characterization of other AVR microcontrollers manufactured in the same process technology. These values are preliminary values representing design targets, and will be updated after characterization of actual silicon
- Values with 'Power Reduction Register 1 - PRR1' disabled (0x00).
- Maximum regulator output current should be reduced by the USB buffer current required when USB is active (about 25mA). The remaining regulator output current can be used for the external application.
- As specified on the USB Electrical chapter, the D+/D- pads can withstand voltages down to -1V applied through a 39 resistor
Absolute Maximum Ratings
| Operating Temperature. . . . . . . | . -40 C to +85 C |
|---|---|
| Storage Temperature . . . . . . . . | -65°C to +150°C |
| Voltage on any Pin except RESET and VBUS with respect to Ground (8) . . . . . . . . -0.5V to V CC +0.5V | Voltage on any Pin except RESET and VBUS with respect to Ground (8) . . . . . . . . -0.5V to V CC +0.5V |
| Voltage on RESET with respect to Ground-0.5V to +13.0V | Voltage on RESET with respect to Ground-0.5V to +13.0V |
| Voltage on VBUS with respect to Ground-0.5V to +6.0V | Voltage on VBUS with respect to Ground-0.5V to +6.0V |
| Maximum Operating Voltage . . | . . . . . . . . . . 6.0V |
| DC Current per I/O Pin . . . . . . . | . . . . . . . 40.0mA |
| DC Current V CC and GND Pins | . . . . . . 200.0mA |
Typical Application
Depending on the target application power supply, the ATmega16U4/ATmega32U4 requires different hardware typical implementations.
Figure 21-2. Operating Modes versus Frequency and Power-supply
Ordering Information
| Ordering Code | Package | Operation Range |
|---|---|---|
| ATmega32U4-AU | ML, 44 - Lead, 10 x 10mm Body Size, 1.0mm Body Thickness 0.8mm Lead Pitch, Thin Profile Plastic Quad Flat Package (TQFP) | Industrial (-40° to +85°C) |
| ATmega32U4RC-AU | ML, 44 - Lead, 10 x 10mm Body Size, 1.0mm Body Thickness 0.8mm Lead Pitch, Thin Profile Plastic Quad Flat Package (TQFP) | Industrial (-40° to +85°C) |
| ATmega32U4RC-MU | PW, 44 - Lead 7.0 x 7.0mm Body, 0.50mm Pitch Quad Flat No Lead Package (QFN) | Industrial (-40° to +85°C) |
Related Variants
The following components are covered by the same datasheet.
| Part Number | Manufacturer | Package |
|---|---|---|
| ATMEGA16U4 | Atmel | — |
| ATMEGA32U4 | Atmel | — |
| ATMEGA32U4RC | Atmel | — |
| ATMEGA32U4RC-AU | Atmel | — |
| ATMEGA32U4RC-MU | Atmel | — |
| ATMEGAU4 | Atmel | — |
Get structured datasheet data via API
Get started free