User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 458
UG585 (v1.11) September 27, 2016
Chapter 15: USB Host, Device, and OTG Controller
siTD DWords 4 and 5: Buffer Pointer List
DWords 4 and 5 are the data buffer page pointers for the transfer. This structure supports one
physical page cross. The most significant 20 bits of each DWord in this section are the 4K (page)
aligned buffer pointers. The least significant 12 bits of each DWord are used as additional transfer
state.
siTD DWord 6: Back Link Pointer
DWord 6 of a siTD is simply another schedule link pointer. This pointer is either 0 or references an
siTD data structure. This pointer cannot reference any other schedule data structure.
Table 15-33: USB Host siTD DWords 4 and 5: Buffer Pointers
Bits Description
DWord 4
31:12 Buffer Pointer (Page 0). 4 KB aligned pointer to system memory address bits [31:12].
11:0 Current Offset. The 12 least significant bits of the Page 0 pointer is the current byte offset for the
current page pointer (as selected with the page select bit (P field)). The host controller is not required
to write this field back when the siTD is retired (Active bit transitioned from a 1 to a 0).
DWord 5
31:12 Buffer Pointer (Page 1). 4 KB aligned pointer to system memory address bits [31:12].
11:5 Reserved. Bit reserved for future use and should be set to 0.
4:3 Transition position, TP. This field is used with T-count to determine whether to send all, first, middle,
or last with each outbound transaction payload. The HCD must initialize this field with the
appropriate starting value. The host controller must correctly manage this state during the lifetime
of the transfer. The bit encodings are:
00: All. Entire FS transaction data payload is in this transaction (the payload is less than or equal
to 188 bytes.)
01: Begin. First data payload for a FS transaction that is greater than 188 bytes.
10: Mid. Middle payload for a FS OUT transaction that is greater than 188 bytes.
11: End. Last payload for a FS OUT transaction that was greater than 188 bytes.
2:0 Transaction count, T-Count. The HCD initializes this field with the number of OUT start-splits this
transfer requires. Any value larger than 6 is undefined.
Table 15-34: USB Host siTD DWord 6: Back Pointer
Bits Description
31:5 Back Pointer. Physical memory pointer to a siTD.
4:1 Reserved. Field reserved and should be set to 0.
0 Terminate transfer, T.
0: link to the Back Pointer field; the address is valid.
1: end the transaction, the Back Pointer field is not valid.