2024-08-19 07:43 PM
I am using the NUCLEO-G474RE along with the X-NUCLEO-SRC1M1 board to create a USB-C power delivery source. I am also using the "SRC1M1_Source" example project in the x-cube-tcpp software download.
I am attempting to provide a 20V, 5000mA source to a USB-C power delivery sink. After I connect the nucleo board to the STM32CubeMonitor-UCPD, I am able to add the 20V, 5000mA PDO and send it to the target.
I plug the sink device into my SRC1M1 board (trace data attached)
I see the sink requests the 20V, 5000mA profile, however the trace data shows USBPD_CAD_STATE_DETACH_SRC soon after the profile is accepted by my source. The connection and negotiation then start again and continue in an infinite loop.
I am supplying the SRC1M1 board with an external power supply set to 5V. I had assumed that the source would not indicate SRC_READY until I manually adjusted the supply voltage to 20V, however it just disconnects.
What is the proper way to use the SRC1M1 source board to establish a 20V contract with a sink device?