ATMEGA16U2-MU Atmel, ATMEGA16U2-MU Datasheet - Page 199

no-image

ATMEGA16U2-MU

Manufacturer Part Number
ATMEGA16U2-MU
Description
MCU AVR 16K FLASH USB 32-VQFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA16U2-MU

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
SPI, UART/USART, USB
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
32-VQFN Exposed Pad, 32-HVQFN, 32-SQFN, 32-DHVQFN
Core
AVR8
Processor Series
ATMEGA16x
Data Bus Width
8 bit
Maximum Clock Frequency
16 MHz
Data Ram Size
1.25 KB
Data Rom Size
512 B
Number Of Programmable I/os
22
Number Of Timers
2
Mounting Style
SMD/SMT
Height
0.95 mm
Interface Type
SPI, UART
Length
5 mm
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Supply Voltage (max)
5.5 V
Supply Voltage (min)
2.7 V
Width
5 mm
For Use With
ATSTK600 - DEV KIT FOR AVR/AVR32ATSTK500 - PROGRAMMER AVR STARTER KIT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA16U2-MU
Manufacturer:
RALINK
Quantity:
2 400
Company:
Part Number:
ATMEGA16U2-MU
Quantity:
250
21.7
7799D–AVR–11/10
Address Setup
Figure 21-2. Endpoint activation flow:
As long as the endpoint is not correctly configured (CFGOK cleared), the hardware does not
acknowledge the packets sent by the host.
CFGOK will not be set if the Endpoint size parameter is bigger than the DPRAM size.
A clear of EPEN acts as an endpoint reset (see
It also performs the next operation:
S e e
allocation/reorganization.
The USB device address is set up according to the USB protocol:
ADDEN and UADD shall not be written at the same time.
• The configuration of the endpoint is kept (EPSIZE, EPBK, ALLOC kept)
• It resets the data toggle field.
• The DPRAM memory associated to the endpoint is still reserved.
• the USB device, after power-up, responds at address 0
• the host sends a SETUP command (SET_ADDRESS(addr)),
• the firmware records that address in UADD, but keep ADDEN cleared,
• the USB device sends an IN command of 0 bytes (IN 0 Zero Length Packet) to acknowledge
• then, the firmware may enable the USB device address by setting ADDEN. The only
the transaction,
accepted address by the controller is the one stored in UADD.
“ M e m o r y m a n a g e m e n t ” o n p a g e 1 9 2
Endpoint activated
Yes
UECFG0X
UECFG1X
CFGOK=1
Activation
Endpoint
EPEN=1
UENUM
EPNUM=x
EPTYPE
EPSIZE
ALLOC
EPDIR
EPBK
...
No
ERROR
“Endpoint reset” on page 197
ATmega8U2/16U2/32U2
f o r m o r e d e t a i l s a b o u t t h e m e m o r y
Select the endpoint
Activate the endpoint
Configure:
Configure:
Allocation and reorganization of
the memory is made on-the-fly
Test the correct endpoint
configuration
- the endpoint direction
- the endpoint type
- the Not Yet Disable feature
- the endpoint size
- the bank parametrization
for more details).
199

Related parts for ATMEGA16U2-MU