ST STM32F40 Series Reference Manual page 1267

Hide thumbs Also See for STM32F40 Series:
Table of Contents

Advertisement

USB on-the-go high-speed (OTG_HS)
SETUP transaction operates in the same way but has only one packet. The
assumptions are:
Normal bulk and control OUT/SETUP operations
The sequence of operations for channel 1 is as follows:
a)
b)
c)
d)
e)
f)
g)
h)
1267/1422
The application is attempting to send two maximum-packet-size packets (transfer
size = 1, 024 bytes).
The nonperiodic transmit FIFO can hold two packets (128 bytes for FS).
The nonperiodic request queue depth = 4.
Initialize channel 1
Write the first packet for channel 1
Along with the last DWORD write, the core writes an entry to the nonperiodic
request queue
As soon as the nonperiodic queue becomes nonempty, the core attempts to send
an OUT token in the current frame
Write the second (last) packet for channel 1
The core generates the XFRC interrupt as soon as the last transaction is
completed successfully
In response to the XFRC interrupt, de-allocate the channel for other transfers
Handling nonACK responses
Doc ID 018909 Rev 4
RM0090

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f41 seriesStm32f42 seriesStm32f43 seriesRm0090

Table of Contents

Save PDF