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

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
20.7
7799D–AVR–11/10
PAD suspend
Note that:
The next figures illustrates the pad behaviour:
Figure 20-11. Pad behaviour
The SUSPI flag indicated that a suspend state has been detected on the USB bus. This flag
automatically put the USB pad in Idle. The detection of a non-idle event sets the WAKEUPI flag
and wakes-up the USB pad.
• Endpoints activation:
• Endpoint disable:
• Free its memory:
• Endpoint activation:
• The data of Endpoint 0 is never lost at activation or deactivation of a higher Endpoint. The
• Deactivate and reactivate the same Endpoint with the same parameters does not lead to a
• CFGOK is set by hardware even in the case that there is a “conflict” in the memory allocation.
• In the Idle mode, the pad is put in low power consumption mode.
• In the Active mode, the pad is working.
Endpoint 0 to Endpoint 4 are configured, in the growing order. The memory of each is
reserved in the DPRAM.
The Endpoint 2 is disabled (EPEN=0), but its memory reservation is internally kept by the
controller.
The ALLOC bit is cleared: the Endpoint 3 slides down, but the Endpoint 4 does not slide.
The firmware chooses to reconfigure the Endpoint 2, but with a bigger size. The controller
reserved the memory after the endpoint 1 memory and automatically slide the Endpoint 3.
The Endpoint 4 does not move and a memory conflict appear, in that both Endpoint 3 and 4
use a common area. The data of those endpoints are potentially lost.
data is lost only if the Endpoint 0 is deactivated.
slide of the higher endpoints. For those endpoints, the data are preserved.
ATmega8U2/16U2/32U2
193

Related parts for ATMEGA16U2-16AU