09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>RM0090</strong> USB on-the-go high-speed (OTG_HS)<br />

B-device session request protocol<br />

The application must set the SRP-capable bit in the Core USB configuration register. This<br />

enables the OTG_HS controller to initiate SRP as a B-device. SRP is a means by which the<br />

OTG_HS controller can request a new session from the host.<br />

Figure 399. B-device SRP<br />

VBUS_VALID<br />

B_VALID<br />

DISCHRG_VBUS<br />

SESS_END<br />

OTG_HS_FS_DP<br />

OTG_HS_FS_DM<br />

CHRG_VBUS<br />

Suspend<br />

Low<br />

1<br />

2<br />

3<br />

4<br />

5 8<br />

Data line pulsing Connect<br />

7<br />

VBUS pulsing<br />

ai1568b2<br />

1. VBUS_VALID = VBUS valid signal from PHY<br />

B_VALID = B-device valid session to PHY<br />

DISCHRG_VBUS = discharge signal to PHY<br />

SESS_END = session end signal to PHY<br />

CHRG_VBUS = charge VBUS signal to PHY<br />

DP = Data plus line<br />

DM = Data minus line<br />

1. To save power, the host suspends and turns off port power when the bus is idle.<br />

The OTG_HS controller sets the early suspend bit in the Core interrupt register after 3<br />

ms of bus idleness. Following this, the OTG_HS controller sets the USB suspend bit in<br />

the Core interrupt register.<br />

The OTG_HS controller informs the PHY to discharge VBUS. 2. The PHY indicates the session’s end to the device. This is the initial condition for SRP.<br />

The OTG_HS controller requires 2 ms of SE0 before initiating SRP.<br />

For a USB 1.1 full-speed serial transceiver, the application must wait until VBUS discharges to 0.2 V after BSVLD (in OTG_HS_GOTGCTL) is deasserted. This<br />

6<br />

Doc ID 018909 Rev 3 1308/1416

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

Saved successfully!

Ooh no, something went wrong!