Electronic Components Datasheet Search
  English  ▼

X  

AT90USB646 Datasheet(PDF) 258 Page - ATMEL Corporation

Part # AT90USB646
Description  Microcontroller with 64/128K Bytes of ISP Flash and USB Controller
PDF  434 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT90USB646 Datasheet(HTML) 258 Page - ATMEL Corporation

Back Button AT90USB646 Datasheet HTML 254Page - ATMEL Corporation AT90USB646 Datasheet HTML 255Page - ATMEL Corporation AT90USB646 Datasheet HTML 256Page - ATMEL Corporation AT90USB646 Datasheet HTML 257Page - ATMEL Corporation AT90USB646 Datasheet HTML 258Page - ATMEL Corporation AT90USB646 Datasheet HTML 259Page - ATMEL Corporation AT90USB646 Datasheet HTML 260Page - ATMEL Corporation AT90USB646 Datasheet HTML 261Page - ATMEL Corporation AT90USB646 Datasheet HTML 262Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 258 / 434 page
background image
258
7593A–AVR–02/06
AT90USB64/128
21.6.2
Host mode
When the USB interface is configured in device mode, internal Pull Down resistors are activated
on both UDP UDM lines and the interface detects the type of device connected.
21.7 Memory access capability
The CPU has the possibility to directly access to the USB internal memory (DPRAM).
The memory access mode is performed using 2 sfr’s: UDPADDH and UDPADDL.
To enter in this mode:
• the USBE bit must be cleared.
• the DPACC bit and the base address DPADD10:0 must be set.
Even if the USBE bit is cleared, the DPACC bit and DPADD10:0 field can be used by the
firmware.
Then, a read or a write in UEDATX (device mode) or in UPDATX (host mode) is performed
according to DPADD10:0 and the base address DPADD10:0 field is automatically increased.
The endpoint FIFO pointers and the value of the UxNUM registers are discarded in this mode.
The aim of this functionality is to use the DPRAM as extra-memory.
When using this mode, there is no influence over the USB controller.
21.8 Memory management
The controller does only support the following memory allocation management:
The reservation of a Pipe or an Endpoint can only be made in the growing order (Pipe/Endpoint
0 to the last Pipe/Endpoint). The firmware shall thus configure them in the same order.
The reservation of a Pipe or an Endpoint “k
i” is done when its ALLOC bit is set. Then, the hard-
ware allocates the memory and insert it between the Pipe/Endpoints “k
i-1” and “ki+1”. The “ki+1”
Pipe/Endpoint memory “slides” up and its data is lost. Note that the “ki+2” and upper Pipe/End-
point memory does not slide.
Clearing a Pipe enable (PEN) or an Endpoint enable (EPEN) does not clear neither its ALLOC
bit, nor its configuration (EPSIZE/PSIZE, EPBK/PBK). To free its memory, the firmware should
Endpoint 0
Endpoint 1 to N
Unused
[DPADDH - DPADDL]
USB DPRAM



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