1. Article purpose[edit source]
The purpose of this article is to:
- briefly introduce the USB3DR peripheral and its main features,
- indicate the peripheral instances assignment at boot time and their assignment at runtime (including whether instances can be allocated to secure contexts),
- list the software frameworks and drivers managing the peripheral,
- explain how to configure the peripheral.
2. Peripheral overview[edit source]
The USB3DR peripheral is used to interconnect other systems with STM32 MPU devices, using USB standard. USB3DR (as name implies) supports USB3 and lower versions of the standard
The USB3DR peripheral is a USB Dual-Role Device (DRD) controller that supports both device and host functions.
USB3DR speeds supported | SS (5000 Mb/s) | HS (480 Mb/s) | FS (12 Mb/s) | LS (1.5 Mb/s) |
---|---|---|---|---|
Host mode | ||||
Device mode |
OTG supports the following PHY interfaces:
OTG peripheral PHY interfaces | STM32MP13x lines | STM32MP15x lines | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UTMI interface connected to internal HS PHY for HS/FS/LS speeds |
Refer to the STM32 MPU reference manuals for the complete list of features, and to the software frameworks and drivers, introduced below, to see which features are implemented. 3. Peripheral usage[edit source]This chapter is applicable in the scope of the OpenSTLinux BSP running on the Arm® Cortex®-A processor(s), and the STM32CubeMPU Package running on the Arm® Cortex®-M processor. 3.1. Boot time assignment[edit source]3.1.1. On STM32MP2 series[edit source]Click on to expand or collapse the legend...
The present chapter describes STMicroelectronics recommendations or choice of implementation. Additional possibilities might be described in STM32MP25 reference manuals.
3.2. Runtime assignment[edit source]3.2.1. On STM32MP25x lines [edit source]Click on to expand or collapse the legend... Check boxes illustrate the possible peripheral allocations supported by STM32 MPU Embedded Software:
The present chapter describes STMicroelectronics recommendations or choice of implementation. Additional possibilities might be described in STM32MP25 reference manuals.
4. Software frameworks and drivers[edit source]Below are listed the software frameworks and drivers managing the USB3DR peripheral for the embedded software components listed in the above tables.
5. How to assign and configure the peripheral[edit source]The peripheral assignment can be done via the STM32CubeMX graphical tool (and manually completed if needed).
The configuration is applied by the firmware running in the context in which the peripheral is assigned.
6. How to go further[edit source]
7. References[edit source]
|