User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 448
UG585 (v1.11) September 27, 2016
Chapter 15: USB Host, Device, and OTG Controller
15.11.7 Operational Model of the TT
The operational models are well defined for the behavior of the transaction translator (see USB 2.0
specification) and for the EHCI controller to move packets between system memory and a USB-HS
hub. Since the transaction translator exists within the host controller there is no physical bus
between EHCI HCD and the USB FS/LS bus. These sections briefly discuss the operational model for
how the EHCI and transaction translator operational models are combined without the physical bus
between. The following sections assume the reader is familiar with both the EHCI and USB 2.0
transaction translator operational models.
Microframe Pipeline
The EHCI operational model uses the concept of H-frames and B-frames to describe the pipeline
between the Host (H) and the Bus (B). The embedded transaction translator shall use the same
pipeline algorithms specified in the USB 2.0 specification for a Hub-based Transaction Translator.
All periodic transfers always begin at B-frame 0 (after SOF) and continue until the stored periodic
transfers are complete. As an example of the microframe pipeline implemented in the embedded
transaction translator, all periodic transfers that are tagged in EHCI to execute in H-frame 0 will be
ready to execute on the bus in B-frame 0.
It is important to note that when programming the S-mask and C-masks in the EHCI data structures
to schedule periodic transfers for the embedded transaction translator, the EHCI HCD must follow
the same rules specified in EHCI for programming the S-mask and C-mask for downstream
hub-based transaction translators.
Once periodic transfers are exhausted, any stored asynchronous transfer will be moved.
Asynchronous transfers are opportunistic in that they shall execute whenever possible and their
operation is not tied to Hframe and B-frame boundaries with the exception that an asynchronous
transfer cannot babble through the SOF (start of B-frame 0.)
Split Transfer State Machines
When the controller attaches to a downstream FS/LS device via an HS hub, the controller can initiates
split transfers to allow for traffic to other devices to be intertwined.
The start and complete split operational model differs from EHCI slightly because there is no bus
medium between the EHCI controller and the embedded transaction translator. Where a start or
complete-split operation would occur by requesting the split to the HS hub, the start/complete split
operation is simple an internal operation to the embedded transaction translator. Table 15-22
summarizes the conditions where handshakes are emulated from internal state instead of actual
handshakes to HS split bus traffic.
Table 15-22: USB Handshake Emulation Conditions
Condition TT Response
Start-Split: All asynchronous buffers full. NAK
Start-Split: All periodic buffers full. ERR
Start-Split: Success for start of async. transaction. ACK