User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 462
UG585 (v1.11) September 27, 2016
Chapter 15: USB Host, Device, and OTG Controller
qTD DWord 3 to 7: Buffer page Pointer List
The last five DWords of a queue element transfer descriptor is an array of physical memory address
pointers. These pointers reference the individual pages of a data buffer.
The HCD initializes current offset field to the starting offset into the current page, where current
page is selected via the value in the C_Page field.
The field C_Page specifies the current active pointer. When the transfer element descriptor is
fetched, the starting buffer address is selected using C_Page (similar to an array index to select an
array element). If a transaction spans a 4 KB buffer boundary, the host controller must detect the
page-span boundary in the data stream, increment C_Page and advance to the next buffer pointer in
the list, and conclude the transaction via the new buffer pointer.
3 Transaction Error Status. Set to a 1 by the host controller during status update in the case where
the host did not receive a valid response from the device (Timeout, CRC, Bad PID, etc.). If the
controller sets this bit to a 1, then it remains a 1 for the duration of the transfer.
2 Missed Microframe Status. This bit is ignored unless the QH.EPS field indicates a full- or low-speed
endpoint and the queue head is in the periodic list. This bit is set when the host controller detected
that a host-induced hold-off caused the controller to miss a required complete-split transaction. If
the controller sets this bit to a 1, then it remains a 1 for the duration of the transfer.
1 Split Transaction State Status. This bit is ignored by the host controller unless the QH.EPS field
indicates a FS or LS endpoint. When a Full- or Low speed device, the host controller uses this bit to
track the state of the split transaction. The functional requirements of the controller for managing
this state bit and the split transaction protocol depends on whether the endpoint is in the periodic
or asynchronous schedule.
0: Do Start Split. This value directs the host controller to issue a Start split transaction to the
endpoint.
1: Do Complete Split. This value directs the host controller to issue a Complete split transaction
to the endpoint.
0 Ping State/ERR Status. If the QH.EPS field indicates a HS device and the PID indicates an OUT
endpoint, then this is the state bit for the Ping protocol.
0: Do OUT. This value directs the controller to issue an OUT PID to the endpoint.
1: Do Ping. This value directs the controller to issue a Ping PID to the endpoint.
If the QH.EPS field does not indicate a HS device, then this field is used as an error indicator bit. It
is set to a 1 by the controller whenever a periodic split-transaction receives an ERR handshake.
Table 15-39: USB Host qTD DWord 3 to 7: Buffer Pointers
Bits Description
31:1
2
DWords 3 to 7: Buffer Pointer. 4KB page-aligned memory address.
11:0 DWord 3: Current Offset. Byte offset into the active page (as selected by C_Page). The host controller
is not required to write this field back when the qTD is retired.
DWords 4 to 7: Reserved. Field reserved and should be set to 0.
Table 15-38: USB Host qTD DWord 2: DT, Total Bytes (Contd)
Bits Description