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