User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 440
UG585 (v1.11) September 27, 2016
Chapter 15: USB Host, Device, and OTG Controller
Isochronous split transaction data streams are managed with split-transaction isochronous
transfer descriptors (siTD).
Interrupt, Control, and Bulk data streams are managed via queue heads (QH) and queue
element transfer descriptors (qTD). These data structures are optimized to reduce the total
memory footprint of the schedule and to reduce (on average) the number of memory accesses
needed to execute a USB transaction.
15.10.2 Periodic Schedule
The periodic schedule provides interrupt and isochronous transfers by using the Periodic Frame list
of elements and transfer descriptors as shown in Figure 15-15.
Periodic Frame List
The host controller uses the Periodic Frame List to schedule isochronous and interrupt transfers. The
periodic frame list is written into memory by the HCD. The host controller hardware reads the
elements using the usb.PERIODICLISTBASE_ base address and the FRINDEX index registers. The
current element within the periodic frame list is pointed to by the FRINDEX register. The Periodic
Frame List implements a sliding window of work over time.
Note: The periodic frame list is a 4 KB page-aligned array for pointers to Isochronous and interrupt
transfer descriptors. The length of the frame list is programmable: 8, 16, 32, 64, 128, 256, 512, or
1024 elements using the usb.USBCMD [FS2] and [FS0] bit fields. When [FS2] is set = 0, then the EHCI
programming model: 256, 512 and 1024 elements can be used in [FS0]. The length of the frame list
affects the amount of system memory to allocate and the number of periodic transactions that can
be queued.
The HCD writes the memory address of the first element in the periodic frame list in the
usb.PERIODICLISTBASE_ [PERBASE_] bit field. The controller beings processing the periodic frame list
when the (micro)frame time stamp occurs.
X-Ref Target - Figure 15-15
Figure 15-15: USB Host Periodic Schedule with Example
UG585_c15_43_030713
Periodic Frame
List (EHCI)
Frame 3 Elements
Frame 1 Elements
Frame 2 Elements
Frame 0 Elements
advanced for every
USB Frame.
Programmable
number of elements:
8, 16, 32, … 1024.
Programmed by
usb.USBCMD [FS2] [FS0]
usb.PERIODLISTBASE_ [31:12]
Periodic Frame List
Element Address
(32-bit system address)
usb.FRINDEX
000
Frame 7 Elements
Frame 5 Elements
Frame 6 Elements
Frame 4 Elements
Frame 8 Elements
Interrupt QH executed
every 8 Frames
Interrupt QH executed
every 4 Frames
Interrupt QH executed
every Frame
Isochronous
Transfer
Descriptors
Last QH has terminate
bit set, T = 1.
Link Pointer
Link Pointer
Example