
DocID024597 Rev 5
RM0351
USB on-the-go full-speed (OTG_FS)
1774
When the OTG_HFIR register is changed within a current SOF frame, the SOF period
correction is applied in the next frame as described in
Figure 522. Updating OTG_HFIR dynamically
47.11
USB data FIFOs
The USB system features 1.25 Kbytes of dedicated RAM with a sophisticated FIFO control
mechanism. The packet FIFO controller module in the OTG_FS core organizes RAM space
into Tx FIFOs into which the application pushes the data to be temporarily stored before the
USB transmission, and into a single Rx FIFO where the data received from the USB are
temporarily stored before retrieval (popped) by the application. The number of instructed
FIFOs and how these are organized inside the RAM depends on the device’s role. In
peripheral mode an additional Tx FIFO is instructed for each active IN endpoint. Any FIFO
size is software configured to better meet the application requirements.
ϰϬϬ
͙
͙
͙
͙
͙
ϰϱϬ
>ĂƚĞŶĐLJ
^K&
ƌĞůŽĂĚ
Kd'ͺ,&/Z
ǁƌŝƚĞ
ǀĂůƵĞ
&ƌĂŵĞ
ƚŝŵĞƌ
KůĚKd'ͺ,/&ZǀĂůƵĞ
сϰϬϬƉĞƌŝŽĚƐ
Kd'ͺ,/&ZǀĂůƵĞ
сϰϱϬƉĞƌŝŽĚƐн,/&ZǁƌŝƚĞůĂƚĞŶĐLJ
EĞǁKd'ͺ,/&ZǀĂůƵĞ
сϰϱϬƉĞƌŝŽĚƐ
ϭ
ϰϬϬ
Ϭ
ϯϵϵ
ϭ
ϰϬϬ
Ϭ
ϯϵϵ
ϰϱϬ
ϰϰϵ
ϭ
ϰϱϬ
Ϭ
ϰϰϵ
ϭ
ϰϱϬ
Ϭ
ϰϰϵ
Kd'ͺ,&/Z
ĂŝϭϴϰϰϬ