Electronic Components Datasheet Search
  English  ▼

X  

ATmega32U2 Datasheet(PDF) 192 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) 192 Page - ATMEL Corporation

Back Button ATmega32U2 Datasheet HTML 188Page - ATMEL Corporation ATmega32U2 Datasheet HTML 189Page - ATMEL Corporation ATmega32U2 Datasheet HTML 190Page - ATMEL Corporation ATmega32U2 Datasheet HTML 191Page - ATMEL Corporation ATmega32U2 Datasheet HTML 192Page - ATMEL Corporation ATmega32U2 Datasheet HTML 193Page - ATMEL Corporation ATmega32U2 Datasheet HTML 194Page - ATMEL Corporation ATmega32U2 Datasheet HTML 195Page - ATMEL Corporation ATmega32U2 Datasheet HTML 196Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 192 / 314 page
background image
192
7799B–AVR–07/09
ATmega8U2/16U2/32U2
20.5.3
Freeze clock
The firmware has the ability to freeze the clock of USB controller by setting the FRZCLK bit, and
thereby reduce the power consumption. When FRZCLK is set, it is still possible to access to the
following registers:
• USBCON
• DPRAM direct access registers (DPADD7:0, UEDATX)
•UDCON
•UDINT
•UDIEN
When FRZCLK is set, only the asynchronous interrupt may be triggered:
• WAKEUPI
20.6
Memory management
The controller does only support the following memory allocation management.
The reservation of an Endpoint can only be made in the increasing order (Endpoint 0 to the last
Endpoint). The firmware shall thus configure them in the same order.
The reservation of an Endpoint k
i is done when its ALLOC bit is set. Then, the hardware allo-
cates the memory and insert it between the Endpoints k
i-1 and ki+1. The ki+1 Endpoint memory
“slides” up and its data is lost. Note that the ki+2 and upper Endpoint memory does not slide.
Clearing an Endpoint enable (EPEN) does not clear either its ALLOC bit, or its configuration
(EPSIZE/PSIZE, EPBK/PBK). To free its memory, the firmware should clear ALLOC. Then, the
ki+1 Endpoint memory automatically slides down. Note that the ki+2 and upper Endpoint memory
does not slide.
The following figure illustrates the allocation and reorganization of the USB memory in a typical
example:
Table 20-1.
Allocation and reorganization USB memory flow
Free memory
0
1
2
3
4
EPEN=1
ALLOC=1
Free memory
0
1
EPEN=0
(ALLOC=1)
4
3
Free memory
0
1
3
Lost memory
4
Endpoints
activation
Endpoint Disable
Free its memory
(ALLOC=0)
Free memory
0
1
2 (bigger size)
Endpoint
Activatation
4
Conflict
3



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