The USB TCPM software for STM32 simplifies the migration of the USB-PD 3.0 power transmission protocol
Publish:IC chip, PCB, PCBA, integrated circuit and other electronic components-Shenzhen Hao Qi Core Technology Co., Ltd Time:2022-08-29 Views:217
In order to help engineers to introduce the latest USB Power Delivery charging function and multi-purpose USB Type-C™ connector in newly developed products or in existing product designs, we will introduce a general-purpose microcontroller that supports STM32* from STMicroelectronics. Type-C Port Management (TCPM) software.
ST‘s X-CUBE-USB-PD software stack complies with the USB Type-C Port Controller Interface (TCPCi) specification for managing independent Type-C single-port or multi-port controller (TCPC) chips, enabling USB Power The protocol layer and policy engine of the Delivery power transmission protocol (USB-PD 3.0 v1.1) have extremely low resource requirements for STM32, low memory space occupation, only one I2C bus address, and only one alarm pin per port. . In addition, a standard register map ensures easy software interoperability with any connected TCPC device.
The X-CUBE-USB-PD supports all USB-PD 3.0 options including Programmable Power Supply (PPS) for connecting to a fast charger, Fast Role Switching (FRS) for a seamless user experience when the cable is plugged or unplugged, and Only authenticated message exchanges that transfer data or power between the host and a genuine device or charger are permitted.
The software stack supports Powering, Powering, and Dual Role (DRP) modes, allowing product designers to bring the benefits of USB Type-C to a variety of devices, such as powered USB splitters or power banks, docking stations , gamepads, PC peripherals, multifunctional accessories, as well as small appliances such as cordless vacuum cleaners, portable speakers, lighting products, special chargers, and many other related applications.
ST tested the software stack with ON Semiconductor‘s FUSB307B USB-PD 3.0 v1.1 certified TCPC chip to develop a fully certified and ready-to-use USB-PD multi-port centralized TCPM solution. The FUSB307B chip is equipped with a 1Mbps I2C microcontroller interface and has functions such as plug-in status/orientation detection and dead battery start. Because the USB PD power delivery function has strict timing requirements and can effectively reduce the load on the microcontroller, any STM32, including entry-level, can manage a multi-port, multi-role USB-PD interface. The current X-CUBE-USB-PD software stack contains software libraries tested on STM32Arm® Cortex®-M0 and Cortex-M4 microcontrollers, so developers can choose from over 420 different STM32 microcontrollers.
Users can also choose ON Semiconductor‘s FUSB307B evaluation board ON-FUSB3-STM32 to simplify development. The board features an STM32F072 microcontroller and a USB-C connector to demonstrate single-port control capabilities.