Skip to content
Permalink
9ed74f798c
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

PmgAppCommon Middleware Library 1.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
  • Provide the application status information
  • Prepare application layer for device low-power mode
  • Evaluate the source capabilities advertised by port partner and identify the optimal power contract entered
  • Evaluate a PD request data object and determine whether to accept or reject the request
  • Evaluate a power role (PR) swap, data role (DR) swap or a VConn role swap request from a port partner
  • Enable/disable power source output
  • Set the desired voltage and current for the power source output
  • Enable/disable the power sink path
  • Handler for voltage/current change
  • Initialize vendor defined messages (VDM) handler
  • Evaluate the received VDM messages and respond to them
  • Enable/disable 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 Eclipse IDE for ModusToolbox™ software
ModusToolbox™ software is a collection of easy-to-use software and tools enabling rapid development with Infineon MCUs, covering applications from embedded sense and control to wireless and cloud-connected systems using AIROC(TM) Wi-Fi & Bluetooth(R) combo devices.

More information

For more information, see the following documents:


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