USB on-the-go full-speed (OTG_FS)
1
init_reg(ch_2)
1
2
set_ch_en
(ch_2)
2
6
read_rx_sts
read_rx_fifo
6
read_rx_sts
7
init_reg(ch_2)
9
set_ch_en
(ch_2)
1. The grayed elements are not relevant in the context of this figure.
•
Interrupt service routine for interrupt OUT/IN transactions
a)
Unmask (NAK/TXERR/STALL/XFRC/FRMOR)
2206/2301
Figure 630. Normal interrupt OUT
Application
init_reg(ch_1)
write_tx_fifo
(ch_1)
init_reg(ch_1)
write_tx_fifo
(ch_1)
RxFLvl interrupt
RxFLvl interrupt
RxFLvl interrupt
XferCompl interrupt
init_reg(ch_1)
write_tx_fifo
(ch_1)
Interrupt OUT
AHB
Host
3
1
MPS
3
5
5
1
MPS
1
MPS
8
1
MPS
RM0432 Rev 6
USB
Periodic Request Queue
Assume that this queue
can hold 4 entries.
4
ch_1
ch_2
_
4
ch_1
ch 2
ch_2
RM0432
Device
Odd
(micro)
frame
Even
(micro)
frame
MSv36020V1
Need help?
Do you have a question about the STM32L4+ Series and is the answer not in the manual?