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

The application can use the following formula to calculate the value of TRDT:<br />

4 × AHB clock + 1 PHY clock = (2 clock sync + 1 clock memory address + 1 clock<br />

memory data from sync RAM) + (1 PHY clock (next PHY clock MAC can sample the 2<br />

clock FIFO outputs)<br />

Figure 397. TRDT max timing case<br />

HCLK<br />

PCLK<br />

tkn_rcvd<br />

dsynced_tkn_rcvd<br />

spr_read<br />

spr_addr<br />

spr_rdata<br />

srcbuf_push<br />

srcbuf_rdata<br />

31.13.9 OTG programming model<br />

0ns 50ns 100ns 150ns 200ns<br />

1 2 3 4 5 6 7 8<br />

The OTG_HS controller is an OTG device supporting HNP and SRP. When the core is<br />

connected to an “A” plug, it is referred to as an A-device. When the core is connected to a<br />

“B” plug it is referred to as a B-device. In host mode, the OTG_HS controller turns off V BUS<br />

to conserve power. SRP is a method by which the B-device signals the A-device to turn on<br />

V BUS power. A device must perform both data-line pulsing and V BUS pulsing, but a host can<br />

detect either data-line pulsing or V BUS pulsing for SRP. HNP is a method by which the Bdevice<br />

negotiates and switches to host role. In Negotiated mode after HNP, the B-device<br />

suspends the bus and reverts to the device role.<br />

A1<br />

5 Clocks<br />

D1<br />

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

D1<br />

ai15680

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

Saved successfully!

Ooh no, something went wrong!