cancel
Showing results for 
Search instead for 
Did you mean: 

USBPD library: Source capabilities sent multiple times

ChristophR
Associate III

Hi,

I have implemented a USB-C PD source using STM32CubeMX and the USBPD middleware. When looking at the trace from TRACER_EMB, I can see that the SRC_CAPABILITIES are sent multiple times:

0690X00000ArpntQAB.png

When analyzing it with the STM32G071B-Disco as sink, the SRC_CAPABILITIES are shown only once:

0690X00000ArpoXQAR.png

What could be the reason for this behavior?

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Nicolas P.
ST Employee

Hello.

A quick explanation could be that the first source capability message wasn't received (corruption during the transmission or sink not ready at that time ?) :

we can see that there is only one GoodCRC in return.

Nicolas

View solution in original post

2 REPLIES 2
Nicolas P.
ST Employee

Hello.

A quick explanation could be that the first source capability message wasn't received (corruption during the transmission or sink not ready at that time ?) :

we can see that there is only one GoodCRC in return.

Nicolas

Thanks.

I think you are right, the sink is not ready at that time. If I request the source capabilities later, the source sends the capabilities only once.