2025-07-22 7:26 AM
Hello everyone,
I use a STM32G473VEH (TFBGA-100 package) and use it as USB PD sink:
When connecting the USB PD supply the CCx line is pulled down and after it is stable for 100ms - 125ms (depending on the power supply) the 5V are provided. When microcontroller is running, the UCPD is requesting 20V and this usually works.
Here is a osci screenshot of a working negotiation (C3 is the Vbus voltage, C2 is the CC line voltage):
BUT sometimes the negotation fails in the early stage. The USB PD source will not provide 5V.
According to the standard the CC line must be stable for > 100ms. Right after connection the voltage falls from 3.3V to 1.65V (due to the Rp/Rd resistors). Then there is a further drop after ~60ms which will appear periodically every ~100ms. Sometimes after 10s or longer the drop is missing and the charger will provide 5V. What could be the problem?
More things I've tested:
Has anyone seen this behavior? What could be the problem? Why is the microcontroller periodically "droping the voltage" (basically it uses a lower resistance or draws an additional current)?