ST UCPD Problem with capabiltity mismatch
Hello,
Im trying to get a USB PD 3.0 connection betwe en an ST X-Nucleo-DRP1M1() and an power bank or wall adapter.
If i ask for the source to give its capabilties, and set up an 5, 9,12, 15 or 20V Vbus voltage the nucleo says it has an capability mismatch. Also it says it can only handle an maximum operating current of 440mA. But i cant find that number anywhere. My SNK_PDO list is as following:
USBPD_PDO_SRC_FIXED_SET_VOLTAGE(5000U) | /* Voltage in mV
USBPD_PDO_SRC_FIXED_SET_MAX_CURRENT(3000U) | /* Max current in mA
USBPD_PDO_SRC_FIXED_PEAKCURRENT_EQUAL | /* Peak Current info
/* Common definitions applicable to all PDOs, defined only in PDO 1 */
USBPD_PDO_SRC_FIXED_UNCHUNK_NOT_SUPPORTED | /* Unchunked Extended Messages
USBPD_PDO_SRC_FIXED_DRD_SUPPORTED | /* Dual-Role Data
USBPD_PDO_SRC_FIXED_USBCOMM_NOT_SUPPORTED | /* USB Communications
USBPD_PDO_SRC_FIXED_EXT_POWER_NOT_AVAILABLE | /* External Power
USBPD_PDO_SRC_FIXED_USBSUSPEND_NOT_SUPPORTED | /* USB Suspend Supported
USBPD_PDO_SRC_FIXED_DRP_SUPPORTED /* Dual-Role Power */

Plz help.
I also tried different PDO list settings, but it will say its a mismatch.I used STMCubeMX according to the getting started tutorial
