STMicroelectronics STM32F405 Reference Manual page 1439

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

RM0090
OTG_HS Device threshold control register (OTG_HS_DTHRCTL)
Address offset: 0x0830
Reset value: 0x0000 0000
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
Reserved
rw
rw rw rw rw rw rw rw rw rw rw
Bits 31:28 Reserved, must be kept at reset value.
Bit 27 ARPEN: Arbiter parking enable
Bit 26
Bits 25: 17 RXTHRLEN: Receive threshold length
Bit 16 RXTHREN: Receive threshold enable
Bits 15: 11
Bits 10:2 TXTHRLEN: Transmit threshold length
Bit 1 ISOTHREN: ISO IN endpoint threshold enable
Bit 0 NONISOTHREN: Nonisochronous IN endpoints threshold enable
RXTHRLEN
This bit controls internal DMA arbiter parking for IN endpoints. When thresholding is enabled
and this bit is set to one, then the arbiter parks on the IN endpoint for which there is a token
received on the USB. This is done to avoid getting into underrun conditions. By default
parking is enabled.
Reserved, must be kept at reset value.
This field specifies the receive thresholding size in DWORDS. This field also specifies the
amount of data received on the USB before the core can start transmitting on the AHB. The
threshold length has to be at least eight DWORDS. The recommended value for
RXTHRLEN is to be the same as the programmed AHB burst length (HBSTLEN bit in
OTG_HS_GAHBCFG).
When this bit is set, the core enables thresholding in the receive direction.
Reserved, must be kept at reset value.
This field specifies the transmit thresholding size in DWORDS. This field specifies the
amount of data in bytes to be in the corresponding endpoint transmit FIFO, before the core
can start transmitting on the USB. The threshold length has to be at least eight DWORDS.
This field controls both isochronous and nonisochronous IN endpoint thresholds. The
recommended value for TXTHRLEN is to be the same as the programmed AHB burst length
(HBSTLEN bit in OTG_HS_GAHBCFG).
When this bit is set, the core enables thresholding for isochronous IN endpoints.
When this bit is set, the core enables thresholding for nonisochronous IN endpoints.
DocID018909 Rev 11
USB on-the-go high-speed (OTG_HS)
9
8
Reserved
rw rw rw rw rw rw rw rw rw rw rw
7
6
5
4
3
2
1
TXTHRLEN
1439/1731
0
1529

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F405 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF