Figure 372. Normal Isochronous Out/In Transactions - ST STM32F40 Series Reference Manual

Hide thumbs Also See for STM32F40 Series:
Table of Contents

Advertisement

USB on-the-go full-speed (OTG_FS)

Figure 372. Normal isochronous OUT/IN transactions

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 isochronous OUT/IN transactions
Code sample: Isochronous OUT
Unmask (FRMOR/XFRC)
if (XFRC)
{
De-allocate Channel
}
else
if (FRMOR)
{
Unmask CHH
Disable Channel
}
1129/1422
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)
Doc ID 018909 Rev 4
AHB
Host
3
1
MPS
ch_1
ch_2
3
5
5
1
MPS
RXFLVL interrupt
1
MPS
RXFLVL interrupt
ch_1
8
ch_2
1
MPS
USB
Device
Periodic Request Queue
Assume that this queue
can hold 4 entries.
4
(micro)
frame
4
(micro)
frame
RM0090
Odd
Even
ai15676

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Stm32f41 seriesStm32f42 seriesStm32f43 seriesRm0090

Table of Contents

Save PDF