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 full-speed (OTG_FS)<br />

OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXFx)<br />

(x = 1..3, where x is the FIFO_number)<br />

Address offset: 0x104 + (FIFO_number – 1) × 0x04<br />

Reset value: 0x02000400<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 />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

30.16.3 Host-mode registers<br />

INEPTXFD INEPTXSA<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<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 device mode, as the results are undefined. Host mode registers<br />

can be categorized as follows:<br />

OTG_FS Host configuration register (OTG_FS_HCFG)<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

Bits 31:16 INEPTXFD: IN endpoint TxFIFO depth<br />

This value is in terms of 32-bit words.<br />

Minimum value is 16<br />

The power-on reset value of this register is specified as the largest IN endpoint FIFO<br />

number depth.<br />

r/r<br />

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

Address offset: 0x400<br />

Reset value: 0x0000 0000<br />

This register configures the core after power-on. Do not make changes 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 />

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

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

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

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

r/r<br />

w<br />

FSLSS<br />

r/r<br />

w<br />

FSLSPCS<br />

r/r<br />

w<br />

r rw rw

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

Saved successfully!

Ooh no, something went wrong!