X-CUBE-UCSI is an STMicroelectronics original initiative. It uses for USB Type-C and Power Delivery software expansion for STM32Cube (UM2285).
X-CUBE-UCSI package consists of libraries, drivers, sources, APIs, and application example running on STM32G0 32-bit microcontroller acting as an UCSI (USB Type-CTM Connector System Software Interface) Platform Policy Manager (PPM) on the STM32MP135F-DK board. The PPM is a combination of hardware and firmware that manages the USB Type-C connectors on the platform. The STM32MP13 has a role of UCSI OS Policy Manager (OPM) to interface with the PPM, via I2C with the UCSI interface.
This application also features the TCPP02-M18/TCPP03-M20 USB Type-C port protection device. To discover all the MCU-based solutions for USB Type-C™ and Power Delivery technology, go to the landing page https://www.st.com/content/st_com/en/stm32-usb-c.html.
The figure below shows the overall architecture:
- STM32MP135F-DK
Applications | Board | MCU | Short Description |
---|---|---|---|
UCSI_DRP | STM32MP135F-DK | STM32G071G8 | Use of USB Power Delivery (USB-PD) Dual role application running on STM32G0XX devices. |
This Expansion Package is demonstrated on one hardware implementation, but can easily be ported to any STM32 including the UCPD peripheral.
- IAR Embedded Workbench for ARM (EWARM) toolchain V8.50.6 + ST-Link
- RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.32 + ST-Link
- STM32CubeIDE V1.9.0 + ST-Link
- STM32CubeMonUCPD: Monitoring and configuration software tool for STM32 USB-C and Power Delivery 3.0 applications
-
Application Note AN5225 : USB Type-C™ Power Delivery using STM32xx Series MCUs and STM32xxx Series MPUs
-
User manual UM2552 : Managing USB power delivery stack with STM32 microcontrollers
-
Wiki to create a simple sink application from STM32CubeMX: STM32 Advance USB-Power Delivery Sink
-
Wiki to create a simple source application from STM32CubeMX: STM32 Advance USB-Power Delivery Source
-
An application note to create a simple application from STM32CubeMX is available at this link : AN5418
-
Corresponding video here
STMicroelectronics package has been certified by USB-IF through the reference TID 3036 and TID 5205.
STM32 customers and users who want to contribute to this component can follow instructions provided in the CONTRIBUTING guide.
USB-PD, Power Delivery, USB Type-C, UCSI, STM32, STM32G0, MPU, STM32MP13
Details about the content of this release are available in the release note here.