EasyManua.ls Logo

ST STM32L4x6

ST STM32L4x6
1693 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
USB on-the-go full-speed (OTG_FS) RM0351
1620/1693 DocID024597 Rev 3
Figure 510. Receive FIFO packet read
SETUP transactions
This section describes how the core handles SETUP packets and the application’s
sequence for handling SETUP transactions.
Application requirements
1. To receive a SETUP packet, the STUPCNT field (OTG_DOEPTSIZx) in a control OUT
endpoint must be programmed to a non-zero value. When the application programs the
STUPCNT field to a non-zero value, the core receives SETUP packets and writes them
to the receive FIFO, irrespective of the NAK status and EPENA bit setting in
OTG_DOEPCTLx. The STUPCNT field is decremented every time the control endpoint
receives a SETUP packet. If the STUPCNT field is not programmed to a proper value
before receiving a SETUP packet, the core still receives the SETUP packet and
DLE
UGBGDWD UGBUHJ
27*B*5;6763
PHP>ZRUGBFQWB@ 
UGBU[ILIRUGBGDWD(3180
ZRUGBFQW
E
ZDLWXQWLO5;)/9/LQ
27*B*,17676*
<
3DFNHW
VWRUHGLQ
PHPRU\
UGBGDWD%&17

ZRUGBFQW 
%&17>@
%&17>@_%&17>@
UFYBRXWBSNW

Table of Contents

Related product manuals