ATmega32U2 Atmel Corporation, ATmega32U2 Datasheet - Page 10

no-image

ATmega32U2

Manufacturer Part Number
ATmega32U2
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega32U2

Flash (kbytes)
32 Kbytes
Pin Count
32
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
No
Max I/o Pins
22
Ext Interrupts
20
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
2
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
1
Eeprom (bytes)
1024
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
5
Input Capture Channels
1
Pwm Channels
4
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATMEGA32U2
Quantity:
20
Part Number:
ATmega32U2-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega32U2-AUR
Manufacturer:
Atmel
Quantity:
10 000
4.6.1.4
4.7
10
Reading the Flash or EEPROM Data
Answers from Bootloader
SETUP
OUT
OUT
OUT
OUT
IN
Figure 4-1.
The Host sends a DFU_DNLOAD request with Zero Length Packet (ZLP) to indicate that it has
completed transferring the firmware image file. This is the final payload packet of a download
operation.
After each program request, the Host can request the device state and status by sending a
DFU_GETSTATUS message.
If the device status indicates an error, the host must send a DFU_CLRSTATUS request to the
device.
The flow described below allows the user to read data in the Flash memory or in the EEPROM
data memory. A blank check command on the Flash memory is possible with this flow.
This operation is performed in 2 steps:
• DFU_DNLOAD request with the read command (6 bytes)
• DFU_UPLOAD request which correspond to the previous command.
Example of Firmware Download Zero Length DFU_DNLOAD Request
DFU_DNLOAD
Prog_Start + (EP0 fifo length - 6) x 00h
X offset bytes + Firmware Packet 1
Firmware Packet 2
Firmware Packet n + DFU suffix
ZLP
7618C–AVR–07/08

Related parts for ATmega32U2