Figure 363. Normal Interrupt Out/In Transactions - ST STM32F207 Series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F207 Series:
Table of Contents

Advertisement

USB on-the-go full-speed (OTG_FS)
init_reg(ch _2)
set_ch_en
read_rx_sts
read_rx_fifo
read_rx_sts
init_reg(ch _2)
set_ch_en
Interrupt service routine for interrupt OUT/IN transactions
a)
Unmask (NAK/TXERR/STALL/XFRC/FRMOR)
if (XFRC)
{
Reset Error Count
Mask ACK
De-allocate Channel
}
else
if (STALL or FRMOR)
{
Mask ACK
Unmask CHH
1062/1381

Figure 363. Normal interrupt OUT/IN transactions

Application
1
init _reg(ch_1)
1
write_tx_fifo
(ch_1)
2
(ch_2)
2
6
init _reg(ch_1)
write_tx_fifo
(ch_1)
6
7
9
(ch_2)
init _reg(ch_1)
write_tx_fifo
(ch_1)
Interrupt OUT
AHB
Host
3
1
MPS
3
5
5
1
MPS
RXFLVL interrupt
1
MPS
RXFLVL interrupt
8
1
MPS
RM0033 Rev 9
USB
Periodic Request Queue
Assume that this queue
can hold 4 entries.
4
ch_1
ch_2
4
ch_1
ch_2
RM0033
Device
Odd
(micro)
frame
Even
(micro)
frame
ai15676

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F207 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents