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

discharge time can be obtained from the transceiver vendor and varies from one<br />

transceiver to another.<br />

3. The USB OTG core informs the PHY to speed up VBUS discharge.<br />

4. The application initiates SRP by writing the session request bit in the OTG Control and<br />

status register. The OTG_HS controller perform data-line pulsing followed by VBUS pulsing.<br />

5. The host detects SRP from either the data-line or VBUS pulsing, and turns on VBUS .<br />

The PHY indicates VBUS power-on to the device.<br />

6. The OTG_HS controller performs VBUS pulsing.<br />

The host starts a new session by turning on VBUS , indicating SRP success. The<br />

OTG_HS controller interrupts the application by setting the session request success<br />

status change bit in the OTG interrupt status register. The application reads the session<br />

request success bit in the OTG control and status register.<br />

7. When the USB is powered, the OTG_HS controller connects, completing the SRP<br />

process.<br />

A-device host negotiation protocol<br />

HNP switches the USB host role from the A-device to the B-device. The application must set<br />

the HNP-capable bit in the Core USB configuration register to enable the OTG_HS<br />

controller to perform HNP as an A-device.<br />

Figure 400. A-device HNP<br />

OTG core<br />

DP<br />

DM<br />

1<br />

DPPULLDOWN<br />

DMPULLDOWN<br />

Host Device Host<br />

Suspend 2<br />

1. DPPULLDOWN = signal from core to PHY to enable/disable the pull-down on the DP line inside the PHY.<br />

DMPULLDOWN = signal from core to PHY to enable/disable the pull-down on the DM line inside the PHY.<br />

1. The OTG_HS controller sends the B-device a SetFeature b_hnp_enable descriptor to<br />

enable HNP support. The B-device’s ACK response indicates that the B-device<br />

supports HNP. The application must set host Set HNP Enable bit in the OTG Control<br />

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

3<br />

4 5<br />

Reset<br />

6<br />

Traffic 7<br />

Traffic<br />

8<br />

Connect<br />

ai15683b

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

Saved successfully!

Ooh no, something went wrong!