ATmega32U2 Atmel Corporation, ATmega32U2 Datasheet

no-image

ATmega32U2

Manufacturer Part Number
ATmega32U2
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega32U2

Flash (kbytes)
32 Kbytes
Pin Count
32
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
No
Max I/o Pins
22
Ext Interrupts
20
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
2
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
1
Eeprom (bytes)
1024
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
5
Input Capture Channels
1
Pwm Channels
4
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATMEGA32U2
Quantity:
20
Part Number:
ATmega32U2-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega32U2-AUR
Manufacturer:
Atmel
Quantity:
10 000
Features
Note:
High Performance, Low Power AVR
Advanced RISC Architecture
Non-volatile Program and Data Memories
USB 2.0 Full-speed Device Module with Interrupt on Transfer Completion
Peripheral Features
On Chip Debug Interface (debugWIRE)
Special Microcontroller Features
I/O and Packages
Operating Voltages
Operating temperature
Maximum Frequency
– 125 Powerful Instructions – Most Single Clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
– Up to 16 MIPS Throughput at 16 MHz
– 8K/16K/32K Bytes of In-System Self-Programmable Flash
– 512/512/1024 EEPROM
– 512/512/1024 Internal SRAM
– Write/Erase Cycles: 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
– Complies fully with Universal Serial Bus Specification REV 2.0
– 48 MHz PLL for Full-speed Bus Operation : data transfer rates at 12 Mbit/s
– Fully independant 176 bytes USB DPRAM for endpoint memory allocation
– Endpoint 0 for Control Transfers: from 8 up to 64-bytes
– 4 Programmable Endpoints:
– Suspend/Resume Interrupts
– Microcontroller reset on USB Bus Reset without detach
– USB Bus Disconnection on Microcontroller Request
– One 8-bit Timer/Counters with Separate Prescaler and Compare Mode (two 8-bit
– One 16-bit Timer/Counter with Separate Prescaler, Compare and Capture Mode
– USART with SPI master only mode and hardware flow control (RTS/CTS)
– Master/Slave SPI Serial Interface
– 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, Power-save, Power-down, Standby, and Extended Standby
– 22 Programmable I/O Lines
– QFN32 (5x5mm) / TQFP32 packages
– 2.7 - 5.5V
– Industrial (-40°C to +85°C)
– 8 MHz at 2.7V - Industrial range
– 16 MHz at 4.5V - Industrial range
PWM channels)
(three 8-bit PWM channels)
1. See
In-System Programming by on-chip Boot Program hardware-activated after
reset
True Read-While-Write Operation
IN or Out Directions
Bulk, Interrupt and IsochronousTransfers
Programmable maximum packet size from 8 to 64 bytes
Programmable single or double buffer
“Data Retention” on page 6
®
8-Bit Microcontroller
for details.
(1)
8-bit
Microcontroller
with
8/16/32K Bytes
of ISP Flash
and USB
Controller
ATmega8U2
ATmega16U2
ATmega32U2
Summary
7799DS–AVR–11/10

Related parts for ATmega32U2

ATmega32U2 Summary of contents

Page 1

... Industrial (-40°C to +85°C) • Maximum Frequency – 8 MHz at 2.7V - Industrial range – 16 MHz at 4.5V - Industrial range Note: 1. See “Data Retention” on page 6 ® 8-Bit Microcontroller (1) for details. 8-bit Microcontroller with 8/16/32K Bytes of ISP Flash and USB Controller ATmega8U2 ATmega16U2 ATmega32U2 Summary 7799DS–AVR–11/10 ...

Page 2

Pin Configurations Figure 1-1. Pinout XTAL1 1 2 (PC0) XTAL2 GND 3 VCC 4 QFN32 (PCINT11 / AIN2 ) PC2 5 (OC.0B / INT0) PD0 6 (AIN0 / INT1) PD1 7 (RXD1 ...

Page 3

Overview The ATmega8U2/16U2/32U2 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 ATmega8U2/16U2/32U2 achieves throughputs approaching 1 MIPS per MHz allowing the system designer to ...

Page 4

CISC microcontrollers. The ATmega8U2/16U2/32U2 provides the following features: 8K/16K/32K Bytes of In-System Programmable Flash with Read-While-Write capabilities, 512/512/1024 Bytes EEPROM, 512/512/1024 SRAM, 22 general ...

Page 5

Port C (PC7..PC0) Port 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port C output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs, Port C ...

Page 6

Resources A comprehensive set of development tools, application notes and datasheets are available for download on http://www.atmel.com/avr. 4. Code Examples This documentation contains simple code examples that briefly show how to use various parts of the device. Be aware ...

Page 7

Register Summary Address Name Bit 7 (0xFF) Reserved - (0xFE) Reserved - (0xFD) Reserved - (0xFC) Reserved - (0xFB) UPOE UPWE1 (0xFA) Reserved - (0xF9) Reserved - (0xF8) Reserved - (0xF7) Reserved - (0xF6) Reserved - (0xF5) Reserved - ...

Page 8

Address Name Bit 7 (0xBE) Reserved - (0xBD) Reserved - (0xBC) Reserved - (0xBB) Reserved - (0xBA) Reserved - (0xB9) Reserved - (0xB8) Reserved - (0xB7) Reserved - (0xB6) Reserved - (0xB5) Reserved - (0xB4) Reserved - (0xB3) Reserved - ...

Page 9

Address Name Bit 7 (0x7C) Reserved - (0x7B) Reserved - (0x7A) Reserved - (0x79) Reserved - (0x78) Reserved - (0x77) Reserved - (0x76) Reserved - (0x75) Reserved - (0x74) Reserved - (0x73) Reserved - (0x72) Reserved - (0x71) Reserved - ...

Page 10

Address Name Bit 7 0x1A (0x3A) Reserved - 0x19 (0x39) Reserved - 0x18 (0x38) Reserved - 0x17 (0x37) Reserved - 0x16 (0x36) TIFR1 - 0x15 (0x35) TIFR0 - 0x14 (0x34) Reserved - 0x13 (0x33) Reserved - 0x12 (0x32) Reserved - ...

Page 11

Instruction Set Summary Mnemonics Operands ARITHMETIC AND LOGIC INSTRUCTIONS ADD Rd, Rr ADC Rd, Rr ADIW Rdl,K SUB Rd, Rr SUBI Rd, K SBC Rd, Rr SBCI Rd, K SBIW Rdl,K AND Rd, Rr ANDI Rd Rd, ...

Page 12

Mnemonics Operands ROL Rd ROR Rd ASR Rd SWAP Rd BSET s BCLR s BST Rr, b BLD Rd, b SEC CLC SEN CLN SEZ CLZ SEI CLI SES CLS SEV CLV SET CLT SEH CLH DATA TRANSFER INSTRUCTIONS MOV ...

Page 13

Ordering Information 8.1 ATmega8U2 Speed Power Supply 16 MHz 2.7 - 5.5V 32A 32-lead 1.2 mm, lead pitch 0.8 mm Thin Quad Flat Package 32M1 32-pad body, pad pitch 0.50 ...

Page 14

ATmega16U2 Speed Power Supply 16 MHz 2.7 - 5.5V 32A 32-lead 1.2 mm, lead pitch 0.8 mm Thin Quad Flat Package 32M1 32-pad body, pad pitch 0.50 mm Quad Flat ...

Page 15

... MHz 2.7 - 5.5V 32A 32-lead 1.2 mm, lead pitch 0.8 mm Thin Quad Flat Package 32M1 32-pad body, pad pitch 0.50 mm Quad Flat No lead (QFN) 7799DS–AVR–11/10 ATmega8U2/16U2/32U2 Ordering Code Package ATmega32U2-AU 32A ATmega32U2-MU 32M1-A Package Type Operational Range -40°C to +85°C 15 ...

Page 16

Packaging Information 9.1 QFN32 ATmega8U2/16U2/32U2 16 7799DS–AVR–11/10 ...

Page 17

TQFP32 7799DS–AVR–11/10 ATmega8U2/16U2/32U2 17 ...

Page 18

... Low Power Crystal Oscillator, the system clock can be output on PORTC7 by programming the CKOUT fuse. 10.3 Errata ATmega32U2 The revision letter in this section refers to the revision of the ATmega32U2 device. 10.3.1 rev Known Errata ATmega8U2/16U2/32U2 18 7799DS– ...

Page 19

A and rev B • Full Swing oscillator 1. Full Swing oscillator The maximum frequency for the Full Swing Crystal Oscillator is 8MHz. For Crystal frequen- cies > 8MHz the Full Swing Crystal Oscillator is not guaranteed to ...

Page 20

Datasheet Revision History Please note that the referring page numbers in this section are referred to this document. The referring revision in this section are referring to the document revision. 11.1 Rev. 7799D – 11/10 1. Updated the footnote ...

Page 21

... Atmel Corporation. All rights reserved. / Rev. CORP072610 ® 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 ...

Related keywords