/x-cube-ucsi

X-CUBE-UCSI is an STM32 expansion SW to manage USB Type-C connector for an MPU using standardized UCSI protocol

Primary LanguageCOtherNOASSERTION

X-CUBE-UCSI Firmware Package

latest tag

Description

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:

How to use it?

Boards available

  • STM32MP135F-DK

Applications

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.

Development Toolchains and Compilers

  • 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

Included features

  • STM32CubeMonUCPD: Monitoring and configuration software tool for STM32 USB-C and Power Delivery 3.0 applications

Documentation

Tests

STMicroelectronics package has been certified by USB-IF through the reference TID 3036 and TID 5205.

Contributing

STM32 customers and users who want to contribute to this component can follow instructions provided in the CONTRIBUTING guide.

Keywords

USB-PD, Power Delivery, USB Type-C, UCSI, STM32, STM32G0, MPU, STM32MP13

Release note

Details about the content of this release are available in the release note here.