Skip to main content
ChristophR
Associate III
November 8, 2019
Solved

USBPD library: Source capabilities sent multiple times

  • November 8, 2019
  • 2 replies
  • 1404 views

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!

This topic has been closed for replies.
Best answer by Nicolas P.

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

2 replies

Nicolas P.
Nicolas P.Best answer
ST Employee
November 8, 2019

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

ChristophR
Associate III
November 8, 2019

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.