User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 430
UG585 (v1.11) September 27, 2016
Chapter 15: USB Host, Device, and OTG Controller
Multiplier Override (MultO) Bit Field
The total bytes field is used for both dQH and dTD descriptors and is also used for transmit iso IN
endpoints to override the multiplier in the dQH. This field must be 0 for all packet types that are not
transmit (IN) iso endpoints. For maximal efficiency, the DCD should compute MultO = greatest
integer of (Total Bytes / Max. Packet Size) except for the case when Total Bytes = 0; then MultO
should be set = 1.
Example 1: Send three packets
If dQH.multiplier = 3; Max packet size = 8; Total Bytes = 15; dQH.Mult = 0 (default),
then three packets are sent: Data2 (8) + Data1 (7) + Data0 (0).
Total Bytes, MultO, and Status.
13
31 Reserved. Field reserved and should be set to 0.
30:16 Total Bytes. Total number of bytes to be moved with this transfer descriptor. Refer to
section Total Bytes to Transfer Parameter for more info.
15 Interrupt On Complete, IOC. Indicates if USBINT is to be set in response to device
controller being finished with this dTD.
14:12 Current Page, C_Page. Reserved in Device mode.
11:10 Multiplier Override, MultO. Used for transmit isochronous packets, refer to text.
9:8 Reserved. Field reserved and should be set to 0.
7:0 Status. This field is used by the device controller to communicate individual command
execution status back to the DCD. This field contains the status of the last transaction
performed on this dTD. Bit [7] Active Status. Bit [6] Halted Status.
Bit [5] Data Buffer Error Status. Bit [3] Transaction Error Status.
Other bits: reserved.
Buffer Pointer Page 0 and Current Offset
24
31:12 Buffer Pointer. 4KB aligned pointer to system memory address bits [31:12].
11:0 Current Offset.
Frame Number and Buffer Pointer Page 1
35
31:12 Buffer Pointer. 4KB aligned pointer to system memory address bits [31:12].
11 Reserved, R. Field reserved and should be set to 0.
10:0 Frame Number. Written by the device controller to indicate the frame number in which
a packet finishes. This is typically used to correlate relative completion times of packets
on an iso endpoint.
Buffer Pointer Pages 2 to 4
4 to 6 6 to 8
31:12 Buffer Pointer. 4KB aligned pointer to system memory address bits [31:12].
11:0 Reserved. Field reserved and should be set to 0.
Table 15-15: USB Device Transfer Overlay (Cont’d)
Bits Description
dTD
DWord
dQH
DWord