Problem with alt-mode state-machine in CCG4

Announcements

Live Webinar: USB-C adoption. Simple & Cost-efficient solutions | April 18th @9am or 5pm CEST. Register now !

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
OlEr_1999891
Level 5
Level 5
50 replies posted 25 replies posted 25 sign-ins

Hi!

We are seeing some strange behaviour on our USB-C dock, more or less based on the CCG4 dock ref-design. Sometimes (maybe every 20th time) alt-mode fails to negotiate and based on the PD-signalling it looks it is the CCG4 alt-mode state-machine that fails. There might maybe be an underlying hardware problem (maybe I2C communication to mux or something), but a bit hard to understand how the alt-mode state-machine will change behaviour based on this.

I have attached two traces. dp_alt_mode_failed the error is around line 179 were CCG4 sends NAK. In dp_alt_mode_failed_2 the error is in the last part (line 730 and below) CCG4 doesn't respond to "Enter Mode" sent from the sink. The other traces are successful attempt for comparison.

Again, this is rather random occurrences so it might well be some timing or hardware stability issue, but maybe you can come up with some clues based on what external factors the CCG4 code will act on.

Cheers

Olof

0 Likes
1 Reply
ShifangZ_26
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 1000 replies posted

Hi Olof,

Could you please kindly let me know the firmware version you tested?

Have you been tested latest CCG4 HOST SDK?

Best Regards,

Lisa

0 Likes