USB PD sink with TCPP03-M20 and STM32G0B1 is failing to set up PDO contract
I want to implement a USBPD sink application with a 9V PDO and I am struggeling to set up a PD-contract with a source. I am using following components:
STM32G0B1 MCU
TCPP03-M20 PD controller
My project is based on this example: https://github.com/STMicroelectronics/x-cube-tcpp/tree/main/Projects/NUCLEO-G071RB/Applications/USB_PD/DRP1M1_DRP
X-Cube-TCPP v4.1.0
When I attach a PD-source, the DPM_Params[_port].PE_IsConnected variable is successfully set.
After that I get in USBPD_DPM_Notification a USBPD_NOTIFY_POWER_STATE_CHANGE event and afterwards a USBPD_NOTIFY_HARDRESET_TX event.
I also notice that I do not receive a message within PORTx_IRQHandler, as I do not jump into
if (UCPD_SR_RXMSGEND == (_interrupt & UCPD_SR_RXMSGEND))
…
Do you have any tips for me where I can start looking for my missing piece? Did i initialize something wrong?
