USB on-the-go full-speed (OTG_FS) RM0090
1117/1422 Doc ID 018909 Rev 4
● Reading the receive FIFO
The application must ignore all packet statuses other than IN data packet (bx0010).
Figure 368. Receive FIFO read task
● Bulk and control OUT/SETUP transactions
A typical bulk or control OUT/SETUP pipelined transaction-level operation is shown in
Figure 369. See channel 1 (ch_1). Two bulk OUT packets are transmitted. A control
RXFLVL
interrupt ?
Read the received
packet from the
Receive FIFO
Read
OTG_FS_GRXSTSP
PKTSTS
0b0010?
Yes
Yes
Unmask RXFLVL
interrupt
BCNT > 0?
No
Mask RXFLVL
interrupt
Yes
Unmask RXFLVL
interrupt
No
No
Start
ai15674