ATMEGA8U2_1 ATMEL [ATMEL Corporation], ATMEGA8U2_1 Datasheet

no-image

ATMEGA8U2_1

Manufacturer Part Number
ATMEGA8U2_1
Description
8-bit Microcontroller with 8/16/32K Bytes of ISP Flash and USB Controller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
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
7799CS–AVR–12/09

Related parts for ATMEGA8U2_1

ATMEGA8U2_1 Summary of contents

Page 1

Features • High Performance, Low Power AVR • Advanced RISC Architecture – 125 Powerful Instructions – Most Single Clock Cycle Execution – General Purpose Working Registers – Fully Static Operation – MIPS Throughput at ...

Page 2

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

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 that not all C compiler vendors include bit definitions in the header files and interrupt handling compiler dependent ...

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

ATmega32U2 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 16

Packaging Information 9.1 QFN32 7799CS–AVR–12/09 ATmega8U2/16U2/32U2 16 ...

Page 17

TQFP32 7799CS–AVR–12/09 ATmega8U2/16U2/32U2 17 ...

Page 18

Errata 10.1 Errata ATmega8U2 The revision letter in this section refers to the revision of the ATmega8U2 device. 10.1.1 rev. A and rev B • Full Swing oscillator 1. Full Swing oscillator The maximum frequency for the Full Swing ...

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. 7799C – 12/ ...

Page 21

Headquarters Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131 USA Tel: 1(408) 441-0311 Fax: 1(408) 487-2600 Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to ...

Related keywords