Initialization of ADC for USBPD?
Does the ADC need to be initialized in a special way for the USBPD stack to work properly?
I am trying to implement PD on a STM32G431 and the USBPD stack doesn't seem to work. If a powersource is connected, the CAD state changes to ATTACHED but then it immediately changes to DETACHED and waits for the VBUS voltage to drop to zero, which doesn't happen because the source is still attached and supplies the standard 5V.
The stack is resetting right after the attached state.
