Skip to main content
Visitor II
March 25, 2025
Question

VDM issue: PE_SEND_NOTSUPPORTED on STM32G071RB + SNK1M1 sink mode

  • March 25, 2025
  • 1 reply
  • 466 views

Hi,

I am trying to get any communication with the source through VDM messages on my STM32G071RB + SNK1M1 setup and I am not able to. The source sends a request "VENDOR_DEFINED VDM:SVDM_DISCOVER_IDENTITY INIT" but PE on the sink responds with PE_SEND_NOTSUPPORTED. Power delivery works fine and manages to negotiate different power options.

The code is generated with CubeMX following this step-by-step guide: https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:Getting_started_with_USB-Power_Delivery_Sink


I followed the manual (https://www.st.com/resource/en/user_manual/dm00598101-managing-usb-power-delivery-systems-with-stm32-microcontrollers-stmicroelectronics.pdf) chapter 4.5 and enabled these VDM features.

To implement the VDM callbacks and some DPM callbacks I used this repo: https://github.com/STMicroelectronics/STM32CubeG0/blob/master/Projects/STM32G0C1E-EV/Demonstrations/Modules/ucpd/

I am aware that there isn't sufficient hardware support for alternate modes on my current hardware but shouldn't it be possible to start negotiating?

Why does the stack reject the VDM message if they are enabled? The VDM callbacks never get triggered by the stack.

My goal is to just get it to communicate past the first message.
Also, UCPD Monitor doesn't display anything in Port Configuration under VDM SOP.

Kind regards,
Vlado


    This topic has been closed for replies.

    1 reply

    Visitor II
    March 26, 2025

    Update:

    here is the whole project for reproduction.