Pdsink Debuts: USB PD 3.2 Fast Charging Stack

The first release of the project pdsink has occurred, focusing on implementing the fast charging protocol USB PD (Power Delivery) for embedded devices. This library is designed for developers in need of dynamic power management from USB chargers and support for the latest standard. Unlike other projects, the pdsink kernel is platform and operating system independent, making it user-friendly. The code is written in C++ and is distributed under the MIT license.

Key features of the project include:

  • Full support for SNK mode (energy consumer).
  • Support for the latest USB PD 3.2 rev1.1 specification (EPR mode with AVS profiles).
  • No binding to any specific platform (except for drivers).
  • FUSB302 driver for FreeRTOS, with i2c HAL for esp32.
  • Device Policy Manager (not regulated in the specification) for typical tasks.

Future plans include developing drivers for UCPD in STM32Gxxx / WCH. However, there are currently no plans to support SRC (power source) mode and control cable/port modes due to low demand.

Most currently available chargers support the USB PD 3.1 specification with a fixed 28-volt profile. Version 3.2 introduces mandatory AVS profiles, allowing for smooth voltage regulation across the entire range. New chargers compliant with this standard are expected to be released by the middle of next year.

/Reports, release notes, official announcements.