AT90USB1286-16MU ATMEL [ATMEL Corporation], AT90USB1286-16MU Datasheet - Page 258

no-image

AT90USB1286-16MU

Manufacturer Part Number
AT90USB1286-16MU
Description
Microcontroller with 64/128K Bytes of ISP Flash and USB Controller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT90USB1286-16MU
Manufacturer:
ST
0
21.6.2
21.7
21.8
258
Memory access capability
Memory management
AT90USB64/128
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.
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:
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.
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
ware allocates the memory and insert it between the Pipe/Endpoints “k
Pipe/Endpoint memory “slides” up and its data is lost. Note that the “k
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
• the USBE bit must be cleared.
• the DPACC bit and the base address DPADD10:0 must be set.
Endpoint 1 to N
USB DPRAM
Endpoint 0
Unused
i
” is done when its ALLOC bit is set. Then, the hard-
[DPADDH - DPADDL]
i+2
i-1
” and upper Pipe/End-
” and “k
i+1
7593A–AVR–02/06
”. The “k
i+1

Related parts for AT90USB1286-16MU