MCBSTM32EXL Keil, MCBSTM32EXL Datasheet - Page 795

no-image

MCBSTM32EXL

Manufacturer Part Number
MCBSTM32EXL
Description
BOARD EVALUATION FOR STM32F103ZE
Manufacturer
Keil
Datasheets

Specifications of MCBSTM32EXL

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
RM0008
3.
4.
Operational model
The application must initialize a channel before communicating to the connected device.
This section explains the sequence of operation to be performed for different types of USB
transactions.
Figure 270. Transmit FIFO write task
When a DISCINT (Disconnect Device) interrupt in OTG_FS_GINTSTS is received.
(The application is expected to disable all enabled channels
When the application aborts a transfer before normal completion.
Writing the transmit FIFO
The OTG_FS host automatically writes an entry (OUT request) to the periodic/non-
periodic request queue, along with the last DWORD write of a packet. The application
must ensure that at least one free space is available in the periodic/non-periodic
request queue before starting to write to the transmit FIFO. The application must
always write to the transmit FIFO in DWORDs. If the packet size is non-DWORD
aligned, the application must use padding. The OTG_FS host determines the actual
packet size based on the programmed maximum packet size and transfer size.
Reading the receive FIFO
The application must ignore all packet statuses other than IN data packet (bx0010).
TXFELVL or PTXFELVL
interrupt in
OTG_FS_GAHBCFG
HPTXFSIZ registers for
available FIFO and
Read GNPTXSTS/
queue spaces
W ait for
MPS: Maximum packet size
LPS: Last packet size
Doc ID 13902 Rev 9
t ac et
No
or LPS FIFO space
Transmit FIFO
W rite 1 packet
More packets
available?
to send?
1 MPS
data to
Done
Start
Yes
No
USB on-the-go full-speed (OTG_FS)
Yes
ai15673
795/995

Related parts for MCBSTM32EXL