cancel
Showing results for 
Search instead for 
Did you mean: 

Does the latest STM USB-PD Core stack support PPS?

FZhou.1
Associate II

It is not very clear to me if the latest STM USB-PD core stack support PPS, does anyone have the answer?

10 REPLIES 10

Dear Alex

By adding that code, when OCP happens at source side, what kind of Alert would be received by the port partner?

=> An alert message is sent from SRC to SNK (through USBPD_DPM_RequestAlert(_instance, alert);). Depending on the content of this alert, SINK can decide to send GET__xxxx_STATUS message (battery, PPS,....)

My understanding for OCP handling is as following:

1)When CL happens, OMF bit in PPSSDB would be set. The port partner would be notified through PPS_Status.

=> PPS_STATUS is sent only if requested by SINK with GET_PPS_STATUS (decision of SINK to send this message)

2)When vPpsShutdown happen, Source should send HardReset to its port partner.

Is this correct?, BTW, Are OMF flag setting and HardReset sending mandatory or optional ?

=> vPpsShutdown is optional according to the specification ("drop below vPpsShutdown the Source May send Hard Reset")

=> OMF is used only in PPS_STATUS but as supported by source, if Source receives a GET_PPS_STATUS, it shall manage the OMF bit

Regards,

Yohann