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.

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

A-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 detect SRP as an A-device.<br />

Figure 398. A-device SRP<br />

DRV_VBUS<br />

VBUS_VALID<br />

A_VALID<br />

OTG_HS_FS_DP<br />

OTG_HS_FS_DM<br />

Suspend<br />

Low<br />

1. DRV_VBUS = VBUS drive signal to the PHY<br />

VBUS_VALID = VBUS valid signal from PHY<br />

A_VALID = A-device VBUS level signal to PHY<br />

DP = Data plus line<br />

DM = Data minus line<br />

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

by writing the port suspend and port power bits in the host port control and status<br />

register.<br />

2. PHY indicates port power off by deasserting the VBUS_VALID signal.<br />

3. The device must detect SE0 for at least 2 ms to start SRP when VBUS power is off.<br />

4. To initiate SRP, the device turns on its data line pull-up resistor for 5 to 10 ms. The<br />

OTG_HS controller detects data-line pulsing.<br />

5. The device drives VBUS above the A-device session valid (2.0 V minimum) for VBUS pulsing.<br />

The OTG_HS controller interrupts the application on detecting SRP. The Session<br />

request detected bit is set in Global interrupt status register (SRQINT set in<br />

OTG_HS_GINTSTS).<br />

6. The application must service the Session request detected interrupt and turn on the<br />

port power bit by writing the port power bit in the host port control and status register.<br />

The PHY indicates port power-on by asserting the VBUS_VALID signal.<br />

7. When the USB is powered, the device connects, completing the SRP process.<br />

1307/1416 Doc ID 018909 Rev 3<br />

1<br />

2<br />

3<br />

V BUS pulsing<br />

4 7<br />

Data line pulsing<br />

Connect<br />

6<br />

5<br />

ai15681b

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

Saved successfully!

Ooh no, something went wrong!