Skip to content

Infineon/pmg-app-common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PmgAppCommon Middleware Library 2.0

Overview

The PmgAppCommon asset provides a set of files that are essential for a USB-C and Power Delivery application.

Features

The following functionality is provided by the asset:

  • Application-level handler for PD stack events
  • Provides the application status information
  • Prepares application layer for device low-power mode
  • Evaluates the source capabilities advertised by the port partner and identify the optimal power contract entered
  • Evaluates a PD request data object and determine whether to accept or reject the request
  • Evaluates a power role (PR) swap, data role (DR) swap, or a VCONN role swap request from a port partner
  • Enables/disables power source output
  • Sets the desired voltage and current for the power source output
  • Enables/disables the power sink path
  • Handler for voltage/current change
  • Initializes vendor defined messages (VDM) handler
  • Evaluates the received VDM messages and respond to them
  • Enables/disables fault protections such as VBUS OVP, VBUS OCP, VBUS SCP, and VConn OCP
  • Default handlers for fault protections
  • Provides smart power management
  • LED control (for example, ON, OFF, blink, breath) driver
  • Provides UART and flash based data logging mechanism

Quick start

See the API reference guide quick start guide section for step-by-step instruction how to enable the PmgAppCommon middleware library.

Related resources

Resources Links
Libraries on GitHub mtb-pdl-cat2 – Peripheral Driver Library (PDL) and docs
Middleware on GitHub pdstack – PDStack middleware library and docs
pdutils – PDUtils middleware library and docs
pdaltmode – PDAltMode middleware library and docs
hpi – HPI middleware library and docs
usbdev – USB Device middleware library and docs
Tools ModusToolbox™ – ModusToolbox™ software is a collection of easy-to-use libraries and tools enabling rapid development with Infineon MCUs for applications ranging from wireless and cloud-connected systems, edge AI/ML, embedded sense and control, to wired USB connectivity using PSOC™ Industrial/IoT MCUs, AIROC™ Wi-Fi and Bluetooth® connectivity devices, XMC™ Industrial MCUs, and EZ-USB™/EZ-PD™ wired connectivity controllers. ModusToolbox™ incorporates a comprehensive set of BSPs, HAL, libraries, configuration tools, and provides support for industry-standard IDEs to fast-track your embedded application development.

More information

For more information, see the following documents:


© 2024, Cypress Semiconductor Corporation (an Infineon company) or an affiliate of Cypress Semiconductor Corporation.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages