STMicroelectronics has introduced a new software for implementing a Type-C port manager (TCPM) on any general purpose STM32 Microcontroller which will help engineers to derive the maximum output from the latest USB power delivery capabilities and versatile USB Type-C connections in new or legacy product designs.
Compliant with the USB Type-C Port Controller Interface (TCPCi) specification, it is designed to manage a separate single or multi-port Type-C Port Controller (TCPC) chip, software’s stack implements the protocol layer and policy engine of the USB Power Delivery Specification (USB-PD 3.0 v1.1).
The stack demands minimal STM32 resources, having a low memory footprint and using only a single I2C bus address and one alert pin per port. Standard register maps ensure easy interoperability with any connected TCPC device.
Consistent user experience and availability
Software supports all USB-PD 3.0 options, including Programmable Power Supply (PPS) for connecting fast chargers, Fast Role Swap (FRS) for seamless user experiences during cable insertion or removal, and authentication-message exchange to allow data or power transfer only with genuine devices.
By supporting Provider, Consumer, and Dual-Role (DRP) modes, the stack enables product designers to leverage the benefits of USB Type-C in a wide variety of equipment types, such as power hubs or power banks, docking stations, game controllers, PC peripherals, multi-function accessories, and small appliances such as cordless vacuum cleaners, portable speakers, lighting products, proprietary chargers, and many other applications.
Power delivery and functionality
The stack has been tested with ON semiconductor’s TCPC chip creating a ready-to-use solution that centralizes the TCPM for multiple USB-PD ports. Time-critical Power-Delivery function offloads the microcontroller effectively enables the microcontroller including entry-level devices to manage multi-port, multi-role USB-PD interfaces.