The PDStack middleware implements state machines defined in the Universal Serial Bus Type-C Cable and Connector Specification and the Universal Serial Bus Power Delivery Specification. The middleware provides a set of Device Policy Manager (DPM) APIs through which the application can initialize, monitor, and configure the middleware operation.
The PDStack middleware is released in the form of pre-compiled libraries. The following library variants with a different feature set to help limit the memory footprint of the stack in applications are released.
- pmg1_pd3_snk_lite – Supports USB Type-C sink operation and USB PD Revision 3.1 messaging.
- pmg1_pd2_snk_lite – Supports USB Type-C sink operation and USB PD Revision 2.0 messaging. Using this library reduces the flash (code) memory usage by the application.
- pmg1_pd3_drp – Supports USB Type-C dual-role operation and USB PD Revision 3.1 messaging. This library can be used in any Power Delivery (PD)application.
- pmg1_pd3_snk_epr – Supports USB Type-C sink Extended Power Range (EPR) operation and USB PD Revision 3.1 messaging.
- pmg1_pd3_drp_epr - Supports USB Type-C dual-role EPR operation and USB PD Revision 3.1 messaging. This library can be used in any Power Delivery application that requires EPR feature support.
- wlc1_pd3_snk - Supports USB Type-C sink operation and USB PD Revision 3.1 messaging. This library can be used in any Power Delivery WLC1 application.
- Supports Type-C port configuration and connection detection in the sink, source, and dual-role.
- Supports EPR in source and sink roles.
- Supports USB PD communication with the following features:
- USB PD revision 3.1 compliance
- USB PD revision 2.0 compliance (backward compatibility)
- Power contract negotiation in sink and source roles
- Ability to respond to SOP and SOP messages to support designs with a captive USB-C cable
- Supports configuration of the port roles and responses through the EZ-PD™ Configurator.
- Supports DPM APIs to initialize, configure, monitor, and control the port operation and to send/receive USB PD messages associated with alternate mode discovery, authentication, firmware update, etc.
For more information, see the following resources:
- PDStack middleware RELEASE.md
- PDStack middleware API reference guide
- ModusToolbox™ software, quick start guide, documentation, and videos
- ModusToolbox™ EZ-PD™ Configurator user guide
© 2021-2022, Cypress Semiconductor Corporation (an Infineon company) or an affiliate of Cypress Semiconductor Corporation.