USB on-the-go full-speed (OTG_FS)
●
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
1117/1422
Unmask RXFLVL
interrupt
Read the received
packet from the
Receive FIFO
Yes
369. See channel 1 (ch_1). Two bulk OUT packets are transmitted. A control
Doc ID 018909 Rev 4
Start
No
RXFLVL
interrupt ?
Yes
Mask RXFLVL
Unmask RXFLVL
interrupt
Read
OTG_FS_GRXSTSP
PKTSTS
No
0b0010?
Yes
BCNT > 0?
interrupt
No
ai15674
RM0090
Need help?
Do you have a question about the STM32F40 Series and is the answer not in the manual?
Questions and answers