Electronic Components Datasheet Search
  English  ▼

X  

ATmega32U2 Datasheet(PDF) 197 Page - ATMEL Corporation

Part # ATmega32U2
Description  8-bit Microcontroller with 8/16/32K Bytes of ISP Flash and USB Controller
PDF  314 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATmega32U2 Datasheet(HTML) 197 Page - ATMEL Corporation

Back Button ATmega32U2 Datasheet HTML 193Page - ATMEL Corporation ATmega32U2 Datasheet HTML 194Page - ATMEL Corporation ATmega32U2 Datasheet HTML 195Page - ATMEL Corporation ATmega32U2 Datasheet HTML 196Page - ATMEL Corporation ATmega32U2 Datasheet HTML 197Page - ATMEL Corporation ATmega32U2 Datasheet HTML 198Page - ATMEL Corporation ATmega32U2 Datasheet HTML 199Page - ATMEL Corporation ATmega32U2 Datasheet HTML 200Page - ATMEL Corporation ATmega32U2 Datasheet HTML 201Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 197 / 314 page
background image
197
7799B–AVR–07/09
ATmega8U2/16U2/32U2
21. USB Device Operating modes
21.1
Overview
The USB device controller supports full speed data transfers. In addition to the default control
endpoint, it provides four other endpoints, which can be configured in control, bulk, interrupt or
isochronous modes:
The controller starts in the “idle” mode. In this mode, the pad consumption is reduced to the
minimum.
21.2
Power-on and reset
The next diagram explains the USB device controller main states on power-on:
Figure 21-1. USB device controller states after reset
The reset state of the Device controller is:
• the macro clock is stopped in order to minimize the power consumption (FRZCLK set),
• the USB device controller internal state is reset (all the registers are reset to their default
value. Note that DETACH is set.)
• the endpoint banks are reset
• the D+ pull up are not activated (mode Detach)
The D+ pull-up will be activated as soon as the DETACH bit is cleared.
The macro is in the ‘Idle’ state after reset with a minimum power consumption and does not
need to have the PLL activated to enter in this state.
The USB device controller can at any time be reset by clearing USBE.
21.3
Endpoint reset
An endpoint can be reset at any time by setting in the UERST register the bit corresponding to
the endpoint (EPRSTx). This resets:
• the internal state machine on that endpoint,
• Endpoint 0:
Programmable size FIFO up to 64 bytes, default control endpoint
• Endpoint 1 and 2:
Programmable size FIFO up to 64 bytes.
• Endpoint 3 and 4:
Programmable size FIFO up to 64 bytes with ping-pong mode.
Reset
Idle
HW
RESET
USBE=0
<any
other
state>
USBE=0
USBE=1
UID=1



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com