Skip to main content
Visitor II
July 27, 2023
Question

USB PD: Vendor_Defined_Extended Message

  • July 27, 2023
  • 2 replies
  • 1349 views

Hi Community!

We're working with an STM32G0B1xx MCU and using USB PD v5.0.0 library from github (https://github.com/STMicroelectronics/stm32-mw-usbpd-core).

I see here that USBPD_EXT_VDM = 0x1E is defined properly. However, when I use this with USBPD_DPM_SendExtendedMessage(), I get a generic "USBPD_FAIL" response, and nothing gets sent out on the CC line.

So, my question is: Does the v5.0.0 library support Vendor_Defined_Extended message? 

Thank you for the support!

Screenshot from the USB PD 3.1 spec

DDesr1_0-1690487916211.png

 

    This topic has been closed for replies.

    2 replies

    ST Employee
    August 2, 2023

    Hello @DDesr.1 ,

    Do you mean the call to USBPD_PE_SendExtendedMessage() returns USBPD_FAIL ?
    If so, it is expected as Vendor_Defined_Extended messages are not supported in v5.0.0 of USBPD Core library.

    Regards

    DDesr.1Author
    Visitor II
    August 4, 2023

    Hi @Guenael Cadier thank you for responding.

    It's too bad.. I could really use the feature :).

    Please, let me know if there's anything I can do to help expedite this one .

    Thanks again