ATMEGA16U2-16AU Atmel, ATMEGA16U2-16AU Datasheet - Page 27

no-image

ATMEGA16U2-16AU

Manufacturer Part Number
ATMEGA16U2-16AU
Description
8-bit Microcontrollers - MCU 16K Flash
Manufacturer
Atmel
Datasheet

Specifications of ATMEGA16U2-16AU

Product Category
8-bit Microcontrollers - MCU
Rohs
yes
Core
AVR
Data Bus Width
8 bit
Program Memory Size
16 KB
Data Ram Size
1.25 KB
Data Rom Size
512 B
Program Memory Type
Flash
Factory Pack Quantity
1250
8.1.4
8.2
8.2.1
7799D–AVR–11/10
USB
CPU Clock
External
Oscillator
RC oscillator
Clock Switch
USB Clock – clk
Exemple of use
non-Idle
The USB is provided with a dedicated clock domain. This clock is generated with an on-chip PLL
running at 48 MHz. The PLL always multiply its input frequency by 6. Thus the PLL clock register
should be programmed by software to generate a 8 MHz clock on the PLL input.
In the ATmega8U2/16U2/32U2 product, the Clock Multiplexer and the System Clock Prescaler
can be modified by software.
The modification can occur when the device enters in USB Suspend mode. It then switches from
External Clock to Calibrated RC Oscillator in order to reduce consumption. In such a configura-
tion, the External Clock is disabled.
The firmware can use the watchdog timer to be woken-up from power-down in order to check if
there is an event on the application.
If an event occurs on the application or if the USB controller signals a non-idle state on the USB
line (Resume for example), the firmware switches the Clock Multiplexer from the Calibrated RC
Oscillator to the External Clock.
Figure 8-2.
USB
Ext
3ms
Idle
Example of clock switching with wake-up from USB Host
Watchdog wake-up
from power-down
(Suspend)
1 Resume from Host
RC
ATmega8U2/16U2/32U2
1
resume
non-Idle
Ext
27

Related parts for ATMEGA16U2-16AU