User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 429
UG585 (v1.11) September 27, 2016
Chapter 15: USB Host, Device, and OTG Controller
15.7.3 Endpoint Transfer Overlay Area
The dQH is read from memory by the controller and links to a dTD. The dTD is also read from
memory and is written into the overlay area of the dQH as shown in Table 15-15.
The seven DWords in the overlay area represent a transaction working space for the device
controller. After an endpoint is readied, the dTD will be copied into this dQH overlay area by the
device controller. Until a transfer is expired, the DCD must not write the queue head overlay area or
the associated transfer descriptor. When the transfer is complete, the device controller will write the
dTD back to system memory (with transfer status results added) and advance the queue pointer.
If the link list continues, then another dTD is fetched from memory and written into the transfer
overlay area of the dQH. After the link list is processed, the dQH is written back to system memory
and the endpoint servicing is completed.
The Overlay Transaction dQH DWords 2 through 8 are nearly identical to the dTD DWords 0 through
6 as shown in Table 15-15.
Transfer Overlay Table
The transfer overlay DWords that are used in both dQH and dTD descriptors are listed in Table 15-15
USB Device Transfer Overlay. The descriptions for Total Bytes and Multiplier Override fields are
described in the beginning of this section.
Table 15-15: USB Device Transfer Overlay
Bits Description
dTD
DWord
dQH
DWord
Next dTD Pointer and Terminate.
02
31:5 Next Transfer Element Pointer, Next dTD Pointer. System memory address [31:5] of the
next dTD to be processed.
4:1 Reserved. Field reserved and should be set to 0.
0 Terminate transfer, T.
0: link to the Next dTD Pointer field; the address is valid.
1: end the transaction, the Next dTD Pointer field is not valid.