English
Language : 

RM0316 Datasheet, PDF (1060/1141 Pages) STMicroelectronics – This reference manual targets application developers
Universal serial bus full-speed device interface (USB)
RM0316
32 Universal serial bus full-speed device interface (USB)
USB is only available on STM32F303xB/C/D/E devices. There is no USB in the
STM32F3x8xx devices.
32.1
Introduction
The USB peripheral implements an interface between a full-speed USB 2.0 bus and the
APB1 bus.
USB suspend/resume are supported which allows to stop the device clocks for low-power
consumption.
32.2
USB main features
• USB specification version 2.0 full-speed compliant
• Configurable number of endpoints from 1 to 8
• Cyclic redundancy check (CRC) generation/checking, Non-return-to-zero Inverted
(NRZI) encoding/decoding and bit-stuffing
• Isochronous transfers support
• Double-buffered bulk/isochronous endpoint support
• USB Suspend/Resume operations
• Frame locked clock pulse generation
32.3
USB implementation
Table 176 describes the USB implementation in the devices.
Table 176. STM32F3xx USB implementation
USB features
STM32F303xB/C
and
STM32F303xD/E
(1)
STM32F358xC
Number of endpoints
Size of dedicated packet buffer memory SRAM
Dedicated packet buffer memory SRAM access scheme
USB 2.0 Link Power Management (LPM) support
8
512 bytes
8
1024 bytes(2)
1 x 16 bits / word 2 x 16 bits / word
NA.
X
1. The STM32F303xD/E embeds a full-speed USB device peripheral compliant with the USB specification
version 2.0. The USB interface implements a full-speed (12 Mbit/s) function interface with added support
for USB 2.0 Link Power Management. It has software-configurable endpoint setting with packet memory
up-to 1 Kbytes (256 bytes are used for CAN peripheral if enabled) and suspend/resume support.
2. When the CAN peripheral clock is enabled in the RCC_APB1ENR register, only the first 768 Bytes are
available to USB while the last 256 Bytes are used by CAN.
1060/1141
DocID022558 Rev 5