09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

USB on-the-go full-speed (OTG_FS) <strong>RM0090</strong><br />

Figure 376. A-device SRP<br />

DRV_VBUS<br />

VBUS_VALID<br />

A_VALID<br />

D+<br />

D-<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-peripheral VBUS level signal to PHY<br />

D+ = Data plus line<br />

D- = 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_FS 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_FS 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_FS_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 />

1149/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 />

ai15681

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

Saved successfully!

Ooh no, something went wrong!