ATMEGA32U4-MUR Atmel, ATMEGA32U4-MUR Datasheet - Page 268

no-image

ATMEGA32U4-MUR

Manufacturer Part Number
ATMEGA32U4-MUR
Description
MCU AVR 16K FLASH 16MHZ 44VQFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA32U4-MUR

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, SPI, UART/USART, USB
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
26
Program Memory Size
32KB (16K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
2.5K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
44-VQFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA32U4-MUR
Manufacturer:
UCC
Quantity:
1 001
22.7
7766F–AVR–11/10
Address Setup
Figure 22-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 is will not be sent if the Endpoint size parameter is bigger than the DPRAM size.
A clear of EPEN acts as an endpoint reset (see Section 22.3, page 266 for more details). It also
performs the next operation:
See Section 21.9, page 260 for more details about the memory 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.
UADD contains the default address 00h after a power-up or USB reset.
• 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 handles this request, and records that address in UADD, but keep ADDEN
• the USB device firmware sends an IN command of 0 bytes (IN 0 Zero Length Packet),
• then, the firmware can enable the USB device address by setting ADDEN. The only accepted
cleared,
address by the controller is the one stored in UADD.
Endpoint activated
Yes
UECFG0X
UECFG1X
CFGOK=1
Activation
Endpoint
EPEN=1
UENUM
EPNUM=x
EPTYPE
EPSIZE
ALLOC
EPDIR
EPBK
...
No
ERROR
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 endpoint size
- the bank parametrization
ATmega16/32U4
268

Related parts for ATMEGA32U4-MUR