User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 456
UG585 (v1.11) September 27, 2016
Chapter 15: USB Host, Device, and OTG Controller
Microframe C-mask
The split completion mask field, siTD.Microframe C-mask, along with the Active and SplitXstate fields in the
Status byte, is used to determine during which microframes the host controller should execute complete-split
transactions. This field is a straight bit position field, so if bit [0] is set then the complete-split transaction should
occur in the first microframe, if bit [1] is set = 1 then it should occur in the second microframe, and so on. When
the criteria for using this field is met, a 0 value has undefined behavior.
The host controller uses the value of the three low-order bits of the FRINDEX register to index into this bit field.
If the FRINDEX register value indexes to a position where the microframe C-Mask field is a 1, then this siTD is a
candidate for transaction execution.
There can be more than one bit in this mask set.
The C-Mask can be set for multiple micro frames, as it is not known in which microframe the transaction will
complete. So the C-Mask can be set for the micro frame after the S-Mask and all subsequent micro fames
thereafter. The C-Mask field should not have a bit set to the same microframe as the S-Mask is set to.
Microframe S-mask
The split start mask field, siTD.Micro S-mask, along with the Active and SplitX-state fields in the Status byte, is
used to determine during which microframes the host controller should execute start-split transactions.
The host controller uses the value of the three low-order bits of the FRINDEX register to index into this bit field.
If the FRINDEX register value indexes to a position where the microframe S-mask field is a 1, then this siTD is a
candidate for transaction execution.
A 0 value in this field, in combination with existing periodic frame list, has undefined results.
This field should have only one bit set to 1 at any given time. Having more than one bit set will result in
undefined results.
15:12 Reserved. Field reserved and should be set to 0.
11:8 Endpoint Number, EndPt. 4-bit field selects the endpoint on the device serving as the data source or
sink.
7 Reserved. Bit reserved and should be set to 0.
6:0 Device Address. Select the specific device serving as the data source or sink.
DWord 2: Microframe Schedule Control
31:16 Reserved. Field reserved and should be set to 0.
15:8 Split Completion Mask, Microframe C-mask.
This field (along with the Active and SplitXstate fields in the Status byte) is used to determine during
which microframes the host controller should execute complete-split transactions. Refer to the text
for details.
7:0 Split Start Mask, Microframe S-mask.
This field (along with the Active and SplitX-state fields in the Status byte) is used to determine during
which microframes the host controller should execute start-split transactions. Refer to the text for
details.
Table 15-31: USB Host siTD DWords 1 and 2:Endpoint State (Cont’d)
Bits Description