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.

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

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

31.12.6 OTG_HS register map<br />

Reserved<br />

Bit 31:5 Reserved, must be kept at reset value.<br />

The table below gives the USB OTG register map and reset values.<br />

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

PHYSUSP<br />

Reserved<br />

GATEHCLK<br />

STPPCLK<br />

rw rw rw<br />

Bit 4 PHYSUSP: PHY suspended<br />

Indicates that the PHY has been suspended. This bit is updated once the PHY is suspended<br />

after the application has set the STPPCLK bit (bit 0).<br />

Bits 3:2 Reserved, must be kept at reset value.<br />

Bit 1 GATEHCLK: Gate HCLK<br />

The application sets this bit to gate HCLK to modules other than the AHB Slave and Master<br />

and wakeup logic when the USB is suspended or the session is not valid. The application<br />

clears this bit when the USB is resumed or a new session starts.<br />

Bit 0 STPPCLK: Stop PHY clock<br />

The application sets this bit to stop the PHY clock when the USB is suspended, the session<br />

is not valid, or the device is disconnected. The application clears this bit when the USB is<br />

resumed or a new session starts.<br />

31<br />

Table 182. OTG_HS register map and reset values<br />

Offset Register<br />

0x000<br />

0x004<br />

0x008<br />

0x00C<br />

0x010<br />

30<br />

29<br />

28<br />

27<br />

26<br />

25<br />

24<br />

23<br />

22<br />

21<br />

20<br />

19<br />

18<br />

17<br />

16<br />

15<br />

14<br />

13<br />

12<br />

11<br />

10<br />

9<br />

8<br />

7<br />

6<br />

5<br />

4<br />

3<br />

2<br />

1<br />

0<br />

OTG_HS_GOT<br />

GCTL Reserved<br />

BSVLD<br />

ASVLD<br />

DBCT<br />

CIDSTS<br />

Reserved<br />

DHNPEN<br />

HSHNPEN<br />

HNPRQ<br />

HNGSCS<br />

Reserved SRQ<br />

Reset value 0 0 0 1 0 0 0 0 0 0<br />

OTG_HS_GOT<br />

GINT Reserved<br />

DBCDNE<br />

ADTOCHG<br />

HNGDET<br />

Reserved<br />

HNSSCHG<br />

SRSSCHG<br />

Reserved<br />

Reset value 0 0 0 0 0 0<br />

OTG_HS_GAH<br />

BCFG Reserved<br />

PTXFELVL<br />

TXFELVL<br />

SEDET<br />

SRQSCS<br />

Res.<br />

Reserved GINT<br />

Reset value 0 0 0<br />

OTG_HS_GUS<br />

BCFG<br />

CTXPKT<br />

FDMOD<br />

FHMOD<br />

Reserved<br />

ULPIIPD<br />

PTCI<br />

PCCI<br />

TSDPS<br />

ULPIEVBUSI<br />

ULPIEVBUSD<br />

ULPICSM<br />

ULPIAR<br />

ULPIFSLS<br />

Reserved<br />

PHYLPCS<br />

Reserved<br />

TRDT<br />

HNPCAP<br />

SRPCAP<br />

Reserved<br />

PHSEL<br />

Reserved<br />

TOCAL<br />

Reset value 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 0<br />

OTG_HS_GRS<br />

TCTL<br />

AHBIDL<br />

DMAREQ<br />

Reserved<br />

TXFNUM<br />

TXFFLSH<br />

RXFFLSH<br />

Reserved<br />

FCRST<br />

HSRST<br />

CSRST<br />

Reset value 1 0 0 0 0 0 0 0 0 0 0 0 0

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

Saved successfully!

Ooh no, something went wrong!