cancel
Showing results for 
Search instead for 
Did you mean: 

B-U585I-IOT02A USB Host problem

milorad
Associate II

I'm using BSP driver for USB PD (TCPP03-M20) on the B-U585I-IOT02A, for initialization of the USB PD as USB Host I use the following code:

BSP_USBPD_PWR_Init (USBPD_PWR_TYPE_C_PORT_1);
BSP_USBPD_PWR_SetRole (USBPD_PWR_TYPE_C_PORT_1, POWER_ROLE_SOURCE);
BSP_USBPD_PWR_SetPowerMode(USBPD_PWR_TYPE_C_PORT_1, USBPD_PWR_MODE_NORMAL);
BSP_USBPD_PWR_VBUSInit (USBPD_PWR_TYPE_C_PORT_1);
BSP_USBPD_PWR_VBUSOn (USBPD_PWR_TYPE_C_PORT_1);

what I don't understand is, why when I connect an USB stick to the USB Type-C connector an over-current event (OCP VBUS) is detected by the TCPP03-M20 chip, and then after sending a recovery word the voltage on the Vbus line is provided again by the TCPP03-M20 chip and operation continues as normal?

Why is the OCP event happening?

Is there a way to avoid it?

0 REPLIES 0