cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G071RB USBPD Source not weakup PE task

H V N D
Associate III

STM32G071RB USBPD Source:

  • First time, plugin usb-c cable, STM32G071RB send some source cable, the SRC power negotiation finish
  • disconnect and plugin cable again, the PE task not weak-up, no source cap packet send in type C bus. the source code go to some CAD_Task( g_NumberCADTask increase some value ), the g_numberPETask is increase when PE_task running
5 REPLIES 5
H V N D
Associate III

@Yohann M.​ please support me

H V N D
Associate III

after finish SRC power negotiation first time, If I remove cable and pugin again, it can't weakup PE task, maybe it change to sink mode( please see in trace No.2 )

Yohann M.
ST Employee

Dear @H V N D​ 

I am sorry but without our internal debug traces (.cpd files), it is very difficult for us to support you.

Could you please try to connect an UART (only TX can be used) on your board and enable TRACER_EMB on your application?

Thanks for your comprehension!

Regards

Yohann

@Yohann M.​ 

please get the trace data in attach file

H V N D
Associate III

@Yohann M.​ this attach file is newest trace