2025-12-21 7:18 AM
Problem
When i call
* USBPD_PE_SVDM_RequestAttention
I get a OK message response but the callback never gets called.
* USBPD_VDM_SendAttention
Curious to know if there's any good way to debug this?
Current debugging steps
I have a STM32G0-Disco board setup to capture the messages over USB-PD and display them with ST's USB-PD monitoring software. So i know the attention pin is not currently activating. I have a breakpoint to make sure that USBPD_PE_SVDM_RequestAttention is being called. If i wait a few seconds and then trigger it to call USBPD_PE_SVDM_RequestAttention again i get a BUSY error. So i figure it's trying to send it, it just can't?
My project
I'm using this as my base with a stm32G071- nucleo board. I grab the CC lines from usb with a breakout board that passes the USB datalines through.
And i'm migrating all the USB-PD calls that relate to Display Port/VDM over from this project