Design Win

STM32上的USB Power Delivery,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