cancel
Showing results for 
Search instead for 
Did you mean: 

TCPP03-M20 with STM32G0B1CBT6 failed to connect

PaulMinh
Associate II

Hello Expert,

 

Could you please provide guidance on the issue below? 

 

We are using the following setup:

- MCU: STM32G0B1CCTx

- Software: X-CUBE-TCPP 4.2.0 with USBPD Application 4.2.0 Dual Role

- Board Part: TCPP0203 v1.2.3

 

We are developing a USB PD board.

When we plug in an Android smartphone (USB Type-C port), the phone does not detect the connection.

Attached is the log showing three plug-in/plug-out attempts.(we plug in and out 3 times)

From the log, it appears that after attachment, the connection detaches immediately, then the roles switch, followed by another detachment.

We have already tried increasing the CAD source/sink toggle time from 100 ms to 144 ms, but the issue persists.

Could you advise on possible causes or solutions? Thanks.

 

DEBUG 86569 0 -- BSP_USBPD_PWR_SetRole : SNK -- 96
DEBUG 86609 0 -- BSP_USBPD_PWR_SetRole : SRC -- 97
DEBUG 86653 0 -- BSP_USBPD_PWR_SetRole : SNK -- 98
DEBUG 86693 0 -- BSP_USBPD_PWR_SetRole : SRC -- 99
DEBUG 86705 0 -- BSP_USBPD_PWR_VBUSInit -- 100
DEBUG 86705 0 -- BSP_USBPD_PWR_SetPowerMode -- 101
DEBUG 86706 0 -- Normal -- 102
CAD 86706 0 USBPD_CAD_STATE_ATTACHED_WAIT 103
CAD 91053 0 USBPD_CAD_STATE_DETACH_SRC 104
DEBUG 91053 0 -- BSP_USBPD_PWR_VBUSDeInit -- 105
DEBUG 91053 0 -- GDP/GDC setting : default -- 106
DEBUG 91053 0 -- BSP_USBPD_PWR_SetPowerMode -- 107
DEBUG 91053 0 -- Low Power -- 108
CAD 91053 0 USBPD_CAD_STATE_SWITCH_TO_SNK 109
DEBUG 91055 0 -- BSP_USBPD_PWR_SetRole : SNK -- 110
CAD 91055 0 USBPD_CAD_STATE_DETACHED 111
DEBUG 91097 0 -- BSP_USBPD_PWR_SetRole : SRC -- 112
DEBUG 91141 0 -- BSP_USBPD_PWR_SetRole : SNK -- 113
DEBUG 91181 0 -- BSP_USBPD_PWR_SetRole : SRC -- 114

0 REPLIES 0