USB on-the-go high-speed (OTG_HS)
RM0090
1478/1731
DocID018909 Rev 11
Figure 414. Transmit FIFO write task
•
Reading the receive FIFO
The application must ignore all packet statuses other than IN data packet (bx0010).
1 MPS
or LPS FIFO space
available?
W ait for
W rite 1 packet
data to
Transmit FIFO
More packets
to send?
Yes
No
No
Read GNPTXSTS/
HPTXFSIZ registers for
available FIFO and
queue spaces
Yes
MPS: Maximum packet size
LPS: Last packet size
t ac et
Start
Done
ai15673
TXFELVL or PTXFELVL
interrupt in
OTG_FS_GAHBCFG