STM32G431 UCPD continuous power cycling
Hi,
I'm developing an USB-C sink, using dead battery feature.
I have respective CCx pins connected to DBCCx pins and the source can successfully power the sink.
However, when the UCPD code starts running, the source disconects the 5V, effectively resulting in an endless power cycle.
I have powered the board externally and connected trough the STM32G0 Discovery in spy mode to have some trace capability. Attached you'll find the trace dump.
I'm using lastest version of the libraries, followed the AN5418 to the letter... I can confirm the vbus sensing is correctly working.
I have tried as a source both a pc and an usb-c wall charger. Same behaviour...
The same occours also if i disconnect the DBCCx pins and use an external power supply for the 3.3v...
Anybody has some ideas why this is happening?
Any help will be immensely appreciated!
