STM32G0 STM32MX generated PD source application generate hardreset every 14s
Hi, We have an PD source application on our custom board with STM32G071GBU6N. We use STM32 MX to genereate a PD source application (PD Core 4.1, device 3.4.1) following steps on
STM32StepByStep:Getting_started_with_USB-Power_Delivery_Source
After filling missing bits(Voltage monitoring and vbus switch and other DPM bits). we can make sink and source to enter a explicit power contract. but the PD stack will issue a PD hardreset every 14 seconds without any CAD events.
After few days of debugging, we finally resolve the issue by replacing PD stack library (USBPDCORE_PD3_FULL_CM0PLUS_wc32.a) from STM32 MX (4.1) with x-cube-tcpp_v4.0.0 (4.0) one.
Any sugguestions of starting our software project from STM32 generated one or from x-cube-tcpp_v4.0.0?
Regards
Steven
