Unable to activate UCPD Trace in STM32G431
Hi,
I have tried many times to get a trace using STM32CubeMonitor-UCPD 1.2.0 with my board without success. I have tried with both RTOS and without. The USAR1 is connected to an FTDI usb serial cable but the board doesn't show up In the monitor.
I have noticed that USBPD_PE_StateMachine_SRC returns -1 which prevents it from ever being called again since the return value is used as a waiting time.
Find attached my main.c (initialization of the board and peripherals)
