26.11.2012 Views

Beyond Bits VII - Freescale Semiconductor

Beyond Bits VII - Freescale Semiconductor

Beyond Bits VII - Freescale Semiconductor

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Technical Highlights<br />

Features<br />

• Complies with USB specification<br />

rev 2.0<br />

• USB host mode<br />

Supports EHCI<br />

34<br />

Supports HS operation using<br />

internal on-chip HS PHY<br />

Supported by Linux ® and other<br />

commercially available operating<br />

systems<br />

• USB device mode<br />

Supports HS operation using<br />

internal on-chip HS PHY<br />

Supports FS/LS operation using<br />

internal HS PHY<br />

Supports one upstream facing<br />

port<br />

Supports six programmable,<br />

bi-directional USB endpoints,<br />

including endpoint 0<br />

• Suspend mode/low-power<br />

As host, firmware can suspend<br />

individual devices or the entire<br />

USB and disable<br />

Chip clocks for low-power<br />

operation<br />

Device supports low-power<br />

suspend<br />

Remote wakeup supported for<br />

host and device<br />

Integrated with processor doze<br />

and stop modes for low-power<br />

operation<br />

Start of Frame<br />

USB audio use cases require some<br />

sort of audio clock recovery capability.<br />

The Vybrid system USB OTG controller<br />

supports use of the start of frame<br />

(SOF) signal, which is generated at<br />

the start of a microframe in the USB<br />

2.0 HS protocol. This is a signal with<br />

a rate of 125 microseconds. When<br />

operating in full-speed mode, the SOF<br />

SOF Implementation on the Vybrid Platform<br />

USB OTG 0<br />

USB OTG 1<br />

USB0 SOF<br />

USB1 SOF<br />

signal has a rate of 1 ms pulse that<br />

asserts for 64 system clock cycles<br />

when the SOF token is detected on<br />

the USB bus and the USB controller is<br />

in device mode.<br />

In order to properly support USB audio<br />

isochronous asynchronous mode of<br />

operation, it is necessary to measure<br />

how many audio sample clock ticks<br />

occur between two consecutive<br />

occurrences of the SOF signal. This<br />

measurement is used to provide<br />

feedback to the USB audio source in<br />

order to speed up or slow down the<br />

audio sample delivery over the USB<br />

bus.<br />

This is the method of estimating the<br />

ratio between the USB host clock<br />

(SOF occurrences) and the Vybrid<br />

device local audio clock.<br />

The figure above shows the USB SOF<br />

connectivity with FlexTimer to enable<br />

this scheme.<br />

FTM0<br />

FTM1<br />

FTM2<br />

FTM3<br />

Back to Table of Contents<br />

64 Cycles<br />

Pulse<br />

Stretcher<br />

64 Cycles<br />

Pulse<br />

Stretcher<br />

1. The two SOF signals (one from each USB port) must be brought to two timer<br />

channels of one FlexTimer. This flexibility is provided in FTM2 and FTM3 as<br />

shown in figure.<br />

2. At least one of the SOF should be connected to one channel of a second<br />

FlexTimer. This will allow measuring of two sets of audio clock/SOF signals.<br />

To accommodate this, the USB0 SOF is connected to all FlexTimers.<br />

USB OTG/HOST PHY<br />

Architecture<br />

USB0 SOF_PULSE<br />

USB1 SOF_PULSE<br />

Audio Master Clock should also be provided as one of the clock options to FlexTimers.<br />

The USB OTG HS PHY is a HS/FS/<br />

LS USB 2.0 PHY, integrated with the<br />

controller.<br />

The USB OTG HS HY comprises two<br />

USB 2.0 transceiver sub-modules, one<br />

OTG sub-module and one common<br />

module shared between USB OTG<br />

and USB H1 channels.<br />

USB OTG PHY Features<br />

• Complete physical interface module<br />

for USB 2.0 On-the-Go<br />

• UMTI+ Level 3 specification compliant<br />

• Supports USB HS (480 Mbps), FS<br />

(12 Mbps) and LS (1.5 Mbps)<br />

• Host, slave and OTG dual role device<br />

operational modes of OTG port<br />

• Host modes of host port<br />

• Integrated self-calibrated<br />

termination resistors for HS mode<br />

and full set of pull-up/pull-down<br />

resistors defined by USB 2.0<br />

electrical requirements

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!