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

Bits 15:0 INEPTXSA: IN endpoint FIFOx transmit RAM start address<br />

This field contains the memory start address for IN endpoint transmit FIFOx. The address<br />

must be aligned with a 32-bit memory location.<br />

31.12.3 Host-mode registers<br />

Bit values in the register descriptions are expressed in binary unless otherwise specified.<br />

Host-mode registers affect the operation of the core in the host mode. Host mode registers<br />

must not be accessed in peripheral mode, as the results are undefined. Host mode registers<br />

can be categorized as follows:<br />

OTG_HS host configuration register (OTG_HS_HCFG)<br />

Address offset: 0x400<br />

Reset value: 0x0000 0000<br />

This register configures the core after power-on. Do not change to this register after<br />

initializing the host.<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 />

Reserved<br />

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

Bit 2 FSLSS: FS- and LS-only support<br />

The application uses this bit to control the core’s enumeration speed. Using this bit, the<br />

application can make the core enumerate as an FS host, even if the connected device<br />

supports HS traffic. Do not make changes to this field after initial programming.<br />

0: HS/FS/LS, based on the maximum speed supported by the connected device<br />

1: FS/LS-only, even if the connected device can support HS (read-only)<br />

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

FSLSS<br />

FSLSPCS<br />

r rw rw<br />

Bits 1:0 FSLSPCS: FS/LS PHY clock select<br />

When the core is in FS host mode:<br />

01: PHY clock is running at 48 MHz<br />

Others: Reserved<br />

When the core is in LS host mode:<br />

00: Reserved<br />

01: PHY clock is running at 48 MHz.<br />

10: Select 6 MHz PHY clock frequency<br />

11: Reserved<br />

Note: The FSLSPCS bit must be set on a connection event according to the speed of the<br />

connected device. A software reset must be performed after changing this bit.

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

Saved successfully!

Ooh no, something went wrong!