Entering EPR mode failed - USBPD
Hi team,
We have our own customized USBPD board (STM32L562CET6) which support both SPR(100W) and EPR(140W). SPR is working great, now we want to work on 140W using EPR mode. So that initially we have tried to enter EPR mode by following method
#define USBPD_EPRMDO_ACTION_ENTER (uint32_t)(0x01 << 24)
#define USBPD_EPRMDO_DATA_ENTER (uint32_t)(0x8C << 16)
eprmdo[0] = 1; //Header - no.of data objects
eprmdo[1] = USBPD_EPRMDO_ACTION_ENTER | USBPD_EPRMDO_DATA_ENTER;//EPRMDO
status = USBPD_PE_Request_DataMessage(0, USBPD_DATAMSG_EPR_MODE, eprmdo);
But it returns "USBPD_FAIL". Please clarify me that "Is it possible to enter EPR mode by using above mentioned method? If yes, please correct me why i am getting USBPD_FAIL status."


