USB Power Delivery on STM32F0 software expansion for STM32Cube (UM2063)

The USB Type-Cis the newest USB connector ecosystem, it addresses the evolving needs of platform and devices, while retaining the functional benefits of USB.

STM32 USB-PD package (X-CUBE-USB-PD) consists of libraries (in a binary format) and application examples for STM32F0 devices acting as USB Power Delivery controllers, and it will be extended to other STM32 Series in the future.

This package includes examples covering most of applicative use cases and allowing to develop applications based on USB-PD (Provider, Consumer, DRP, Dual Port and VDM).

The libraries and the associated examples can be used with the STM32F0 devices and a dedicated P-NUCLEO-USB001 shield containing Analog Front-Ends and USB Type-Cconnectors.

For more details on all the components of the USB-PD libraries, refer to the STM32 USB-PD (Power Delivery) software expansion for STM32Cube user manual (UM2063).

Key Features

  • Compliant with USB Type-C 1.2 and USB Power Delivery 2.0 Standards
  • Provider, Consumer and Dual-Role mode (DRP) support
  • Dual-Port support
  • PD communication supported for the two sides of the cable
  • Cable detection: detection of an USB Type-C cable plug/unplug
  • Cable orientation: cable orientation detection to allow choosing one communication line CC1/CC2
  • USB-PD messages transmission/reception: communication through CC line and message exchanging, coding/decoding using BMC and 5b4b coding
  • Drive VCONN switch and Super-Speed switches for flippable connector or Alternate Modes
  • BIST test mode support: BIST test mode to enable testing the platform at runtime
  • Structured VDM (Vendor Defined Messages) support allowing Alternate Modes and extensions implementation


Technical Documentation

Product Specifications
Description Version Size
DB2957 DB2957: STM32 USB-PD (Power Delivery) software expansion for STM32Cube 4.0 184 KB
User Manuals
Description Version Size
UM2312 UM2312: Development checklist for STM32Cube Expansion Packages 1.0 283 KB
UM2285 UM2285: Development guidelines for STM32Cube Expansion Packages 1.0 485 KB
UM2063 UM2063: STM32 USB-PD (Power Delivery) software expansion for STM32Cube 2.0 701 KB

Presentations & Training Material

Description Version Size
STM32 and STM8 embedded software solutions 4.0 3 MB
Solutions for USB-C™ & Power Delivery 1.0 2 MB

Publications and Collaterals

Description Version Size
STM32 Open Development Environment Brochure 15.10 4 MB


License Agreement
Description Version Size
SLA0048 SLA0048: Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT 3.6 104 KB

Tools and Software

Embedded Software
MCUs Embedded Software
Evaluation Tools
Product Evaluation Tools

Get Software

Part Number Software Version Marketing Status Supplier Order from ST
X-CUBE-USB-PD 1.4.0 Active ST