ATMEGA8U2-MU Atmel, ATMEGA8U2-MU Datasheet
![no-image](/images/manufacturer_photos/0/0/78/atmel_sml.jpg)
ATMEGA8U2-MU
Specifications of ATMEGA8U2-MU
Related parts for ATMEGA8U2-MU
ATMEGA8U2-MU Summary of contents
Page 1
... 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
... Note: 1.1 Disclaimer Typical values contained in this datasheet are based on simulations and characterization of other AVR microcontrollers manufactured on the same process technology. Min and Max values will be available after the device is characterized. ATmega8U2/16U2/32U2 Reset (PC1 / dW) 23 PC6 (OC.1A / PCINT8) 22 PC7 (INT4 / ICP1 / CLKO) PB7 (PCINT7 / OC ...
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 optimize power consumption versus processing speed. 2.1 Block Diagram Figure 2-1 ...
Page 4
... As inputs, Port B pins that are externally pulled low will source current if the pull-up resistors are activated. The Port B pins are tri-stated when a reset condition becomes active, even if the clock is not running. Port B also serves the functions of various special features of the ATmega8U2/16U2/32U2 as listed on ATmega8U2/16U2/32U2 ...
Page 5
... As inputs, Port C pins that are externally pulled low will source current if the pull-up resistors are activated. The Port C pins are tri-stated when a reset condition becomes active, even if the clock is not running. Port C also serves the functions of various special features of the ATmega8U2/16U2/32U2 as listed on 2.2.6 Port D (PD7 ...
Page 6
... I/O. Typically "LDS" and "STS" combined with "SBRS", "SBRC", "SBR", and "CBR". 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. ATmega8U2/16U2/32U2 6 7799DS–AVR–11/10 ...
Page 7
... RCCKSEL1 RCCKSEL0 EXCKSEL3 RCSUT0 EXSUT1 EXSUT0 RCE - - - USART1 I/O Data Register - - - USART1 Baud Rate Register Low Byte - - - UMSEL10 UPM11 UPM10 USBS1 TXCIE1 UDRIE1 RXEN1 TXEN1 TXC1 UDRE1 FE1 DOR1 - - - - - - - - - - - - - - - - - - - - - - - - - - - ATmega8U2/16U2/32U2 Bit 2 Bit 1 Bit DATAI DPI DMI - - - - - - - - - - - - - - - - - - - - - - - - EPINT4 RXOUTE STALLEDE TXINE - CTRLDIR ...
Page 8
... OCR1CH (0x8C) OCR1CL (0x8B) OCR1BH (0x8A) OCR1BL (0x89) OCR1AH (0x88) OCR1AL (0x87) ICR1H (0x86) ICR1L (0x85) TCNT1H (0x84) TCNT1L (0x83) Reserved - (0x82) TCCR1C FOC1A (0x81) TCCR1B ICNC1 (0x80) TCCR1A COM1A1 (0x7F) DIDR1 - (0x7E) Reserved - (0x7D) ACMUX - ATmega8U2/16U2/32U2 8 Bit 6 Bit 5 Bit 4 Bit ...
Page 9
... Timer/Counter0 Output Compare Register B Timer/Counter0 Output Compare Register A Timer/Counter0 (8 Bit) FOC0B - - WGM02 COM0A0 COM0B1 COM0B0 - - - - - - EEPROM Address Register Low Byte EEPROM Data Register - EEPM1 EEPM0 EERIE General Purpose I/O Register 0 INT6 INT5 INT4 INT3 INTF6 INTF5 INTF4 INTF3 - - - ATmega8U2/16U2/32U2 Bit 2 Bit 1 Bit ...
Page 10
... When using the I/O specific commands IN and OUT, the I/O addresses $00 - $3F must be used. When addressing I/O reg- isters as data space using LD and ST instructions, $20 must be added to these addresses. The ATmega8U2/16U2/32U2 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 ...
Page 11
... Branch if T Flag Cleared Branch if Overflow Flag is Set Branch if Overflow Flag is Cleared Branch if Interrupt Enabled Branch if Interrupt Disabled Set Bit in I/O Register Clear Bit in I/O Register Logical Shift Left Logical Shift Right ATmega8U2/16U2/32U2 Operation Flags Rd ← Z,C,N,V,H Rd ← Z,C,N,V,H Rdh:Rdl ← Rdh:Rdl + K Z,C,N,V,S Rd ← ...
Page 12
... OUT P, Rr PUSH Rr POP Rd MCU CONTROL INSTRUCTIONS NOP SLEEP WDR BREAK ATmega8U2/16U2/32U2 12 Description Rotate Left Through Carry Rotate Right Through Carry Arithmetic Shift Right Swap Nibbles Flag Set Flag Clear Bit Store from Register to T Bit load from T to Register Set Carry ...
Page 13
... 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 ATmega8U2-AU 32A ATmega8U2-MU 32M1-A Package Type Operational Range -40°C to +85°C 13 ...
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 No lead (QFN) ATmega8U2/16U2/32U2 14 Ordering Code Package ATmega16U2-AU 32A ATmega16U2-MU 32M1-A Package Type Operational Range -40°C to +85°C ...
Page 15
... 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 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° ...
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
... 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 Crystal Oscillator is 8MHz. For Crystal frequen- cies > 8MHz the Full Swing Crystal Oscillator is not guaranteed to operate correctly. ...
Page 19
... Low Power Crystal Oscillator will not provide full rail-to-rail swing on the XTAL2 pin. If sys- tem clock output is needed to drive other clock inputs while running from the Low Power Crystal Oscillator, the system clock can be output on PORTC7 by programming the CKOUT fuse. 7799DS–AVR–11/10 ATmega8U2/16U2/32U2 19 ...
Page 20
... Rev. 7799B – 06/09 1. Updated 11.4 Rev. 7799A – 03/09 1. Initial revision. ATmega8U2/16U2/32U2 20 Section 20-4 ”Typical Bus powered application with 3.3V I/O” on page Figure 20-6 on page 188. By connecting UVCC to 3V power-supply. Table 21-2 on page 215. 10: Bulk Type, and 01: Isochronous Type “ ...
Page 21
... 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 THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, 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 ...