User Activity

I setted it by stm32cubemx, and just used ucpd1 as source, but it won't send source capabilities when connected the sink devices. I'm not sure it's the code or the hardware influenced it. I tested it in nucleo-stm32g071rb, and connected sink devices ...
I generated my code by stm32cubemx, and use ucpd1 as sink&dead battery, use ucpd2 as drp. But got USBPD_ERROR in USBPD_DPM_InitCore after execute " CHECK_PE_FUNCTION_CALL(USBPD_PE_Init(USBPD_PORT_0, (USBPD_SettingsTypeDef *)&DPM_Settings[USBPD_PORT_0...
I sended a dr_swap request, and the target will response a ack/reject/wait. I use the follow api to send dr_swap, and the target response a reject. However, this api just return USB_OK not USBPD_REJECT. And where I could get the response from the ta...
I found senduvdm callback in usbpd_vdm_user,c "USBPD_VDM_SendUVDM(uint8_t PortNum, USBPD_UVDMHeader_TypeDef *pUVDM_Header, uint8_t *pNbData, uint32_t *pVDO)"; and just found one interface,USBPD_StatusTypeDef USBPD_PE_UVDM_RequestMessage (uint8_t Por...
From the document, the sink will check:A SINK must present an Rd resistor and detection is done in two steps:1. detect the presence of Rp resistor2. detect a VBUS ON.I tested in stm32g431rb, connect ucpd_cc to a power adapter(source), Source send the...
Kudos from