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

The USB Type-C™ is the newest USB connector ecosystem, it addresses the evolving needs of platforms and devices, while retaining the functional benefits of USB.

X-CUBE-USB-PD is a USB-IF certified Expansion Package and consists of libraries, drivers, sources, APIs and application examples running on STM32F0 Series microcontrollers acting as USB Power Delivery controllers or USB Type-C port managers (TCPMs). Examples are provided to help to develop applications based on USB-PD (Provider, Consumer, DRP, Dual Port and VDM).

The "Core" of the stack is delivered in library format while the "Device" part, in open source format, offers high level of flexibility to match the design considerations.

This Expansion Package supports various hardware implementations covering most of the typical USB Type-C use-cases at optimized cost.


  • Compliant with USB Type-C™ 1.3 specification and USB Power Delivery 3.0 standard
  • Supports the following USB-PD 3.0 optional features:
    • Programming power supply (PPS), fast role swap (FRS), extended messages
    • Authentication messages and commands via USB-PD protocol
  • Compliant with Type-C port controller interface (TCPCi) specification
    • Enables the STM32 to act as TCPM (Type-C port manager) and to control multi TCPCs (Type-C port controllers)
  • Provider (source), Consumer (sink) and Dual-Role Power (DRP) roles supported
  • USB Type-C™ CC logic supported
    • Cable insertion, connector orientation detection and attachment with distant port
  • USB-PD messages transmission and reception over selected configuration channel (CC lines)
    • Protocol layer including coding and decoding using BMC and 5b4b coding
  • Structured VDM (vendor defined messages) support allowing alternate mode extensions implementation
  • PD communication supported for the two sides of the USB-C cable (SOP’, SOP’’)
  • Drive VCONN and SuperSpeed switches for flippable connector or alternate modes
  • BIST mode support: BIST mode to enable platform testing at runtime





Description バージョン サイズ
DB2957 DB2957: STM32 USB-PD (Power Delivery) software expansion for STM32Cube 5.0 182 KB
Description バージョン サイズ
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 4.0 1 MB

プレゼンテーション & トレーニング資料

Description バージョン サイズ
STM32 and STM8 embedded software solutions 6.0 2 MB
Solutions for USB-C™ & Power Delivery 1.1 843 KB

Publications and Collaterals

Description バージョン サイズ
STM32 Open Development Environment Brochure 16.10 1 MB
Sensor & motion algorithm software pack for STM32Cube 1.0 675 KB


Description バージョン サイズ
SLA0048 SLA0048: Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT 4.18 87 KB

ツール & ソフトウェア

Software Development Tools
Product Evaluation Tools


製品型番 General Description Software Version Supplier Marketing Status ダウンロード
X-CUBE-USB-PD USB Power Delivery on STM32 software expansion for STM32Cube (UM2063) 2.1.0 ST Active


サポート & コミュニティ