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.

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

OTG_HS Device threshold control register (OTG_HS_DTHRCTL)<br />

Address offset: 0x0830<br />

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

ARPEN<br />

Reserved<br />

RXTHRLEN<br />

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

RXTHREN<br />

Reserved<br />

TXTHRLEN<br />

rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw<br />

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

Bit 27 ARPEN: Arbiter parking enable<br />

This bit controls internal DMA arbiter parking for IN endpoints. When thresholding is enabled<br />

and this bit is set to one, then the arbiter parks on the IN endpoint for which there is a token<br />

received on the USB. This is done to avoid getting into underrun conditions. By default<br />

parking is enabled.<br />

Bit 26 Reserved, must be kept at reset value.<br />

Bits 25: 17 RXTHRLEN: Receive threshold length<br />

This field specifies the receive thresholding size in DWORDS. This field also specifies the<br />

amount of data received on the USB before the core can start transmitting on the AHB. The<br />

threshold length has to be at least eight DWORDS. The recommended value for RXTHRLEN<br />

is to be the same as the programmed AHB burst length (HBSTLEN bit in<br />

OTG_HS_GAHBCFG).<br />

Bit 16 RXTHREN: Receive threshold enable<br />

When this bit is set, the core enables thresholding in the receive direction.<br />

Bits 15: 11 Reserved, must be kept at reset value.<br />

Bits 10:2 TXTHRLEN: Transmit threshold length<br />

This field specifies the transmit thresholding size in DWORDS. This field specifies the<br />

amount of data in bytes to be in the corresponding endpoint transmit FIFO, before the core<br />

can start transmitting on the USB. The threshold length has to be at least eight DWORDS.<br />

This field controls both isochronous and nonisochronous IN endpoint thresholds. The<br />

recommended value for TXTHRLEN is to be the same as the programmed AHB burst length<br />

(HBSTLEN bit in OTG_HS_GAHBCFG).<br />

Bit 1 ISOTHREN: ISO IN endpoint threshold enable<br />

When this bit is set, the core enables thresholding for isochronous IN endpoints.<br />

Bit 0 NONISOTHREN: Nonisochronous IN endpoints threshold enable<br />

When this bit is set, the core enables thresholding for nonisochronous IN endpoints.<br />

ISOTHREN<br />

NONISOTHREN

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

Saved successfully!

Ooh no, something went wrong!