User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 464
UG585 (v1.11) September 27, 2016
Chapter 15: USB Host, Device, and OTG Controller
QH DWords 1 and 2: Endpoint Capabilities and Characteristics
The second and third DWords of a Queue Head specifies static information about the endpoint. This
information does not change over the lifetime of the endpoint. The host controller must not modify
the bits in these DWords.
Table 15-42: USB Host QH DWords 1 and 2: Endpoint Capabilities and Characteristics
Bits Description
DWord 1: Capabilities and Characteristics.
These are the USB endpoint characteristics including addressing, maximum packet size, and endpoint speed.
31:28 NAK Count Reload, RL. This field contains a value, which is used by the host controller to reload the
NAK Counter field.
27 Control Endpoint Flag, C. If the QH.EPS field indicates the endpoint is not a high speed device, and
the endpoint is a control endpoint, then the HCD must set this bit to a 1. Otherwise, it should always
set this bit to a 0.
26:16 Maximum Packet Length. This directly corresponds to the maximum packet size of the associated
endpoint (wMaxPacketSize). The maximum value this field can contain is 400h (1,024).
15 Head of Reclamation List Flag, H. This bit is set by the HCD to mark a queue head as being the head
of the reclamation list.
14 Data Toggle Control, DTC. This bit specifies where the host controller should get the initial data
toggle on an overlay transition.
0: Ignore DT bit from incoming qTD. Host controller preserves DT bit in the queue head.
1: Initial data toggle comes from incoming qTD DT bit. Host controller replaces DT bit in the
queue head from the DT bit in the qTD.
13:12 Endpoint Speed, EPS. Select speed of the associated endpoint.
00: Full-Speed (12Mb/s)
01: Low-Speed (1.5Mb/s)
10: High-Speed (480Mb/s)
11: Reserved
11:8 Endpoint Number, EndPt. This 4-bit field selects the particular endpoint number on the device
serving as the data source or sink.
7 Inactivate on Next Transaction, I. The HCD requests that the host controller set the Active status bit
to 0. This field is only valid when the QH is in the Periodic Schedule and the QH.EPS field indicates
an FS or LS endpoint. Setting this bit to a 1 when the queue head is in the Asynchronous Schedule
or the QH.EPS field indicates a high-speed device yields undefined results.
6:0 Device Address. Select the specific device serving as the data source or sink.
DWord 2: Capabilities and Characteristics
These are adjustable parameters of the endpoint. They affect how the endpoint data stream is managed by
the host controller.
31:30 High-Bandwidth Pipe Multiplier, Mult. This field is a multiplier used to key the host controller as the
number of successive packets the host controller can submit to the endpoint in the current execution.
The host controller makes the simplifying assumption that the HCD properly initializes this field
(regardless of location of queue head in the schedules or other run time parameters).
00: Reserved. A 0 in this field yields undefined results.
01: One transaction to be issued for this endpoint per microframe.
10: Two transactions to be issued for this endpoint per microframe.
11: Three transactions to be issued for this endpoint per microframe.