Adding or modifying CCG3 sink PDOs from EC at runtime

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
RoWe_3249151
Level 1
Level 1

Hello,

I am interested in adding one extra sink PDOS to the list list of active sink PDOs from the EC using the host processor interface. u The device is a CCG3 running CYPD3125_40LQXIT_notebook firmware version 3.3.1. This firmware supports HPI v2, which includes commands to read and modify the source and sink PDOs of the CCG3 at runtime.

Our two most common power sources or our product support source PDOs of 20V@1A and 20V@1.5A. The configuration table of our firmware contains only the 20V @1.5A sink PDO. We would like to be able to add the 20V@1A sink PDO at runtime because some of our units are already in the field and it is easier to upgrade the firmware of the EC as opposed to the CCG3. We currently only use 6 of 7 possible sink PDOs, so I would like to make the 7th sink PDO the 20V@1A profile.

HPI document is a pretty decent source of information on how to use HPI v2 to accomplish this task. This document describes the steps to update the list of sink PDOs.

The last step always results in an "invalid argument" event returned by the CCG3. I've double-checked that I have only one 20V PDO enabled in the new sink PDO mask and that the signature in read data memory is correctly set.

Is it possible to add this 7th sink PDO using this approach? Or can it only be added by updating the configuration table?

Thanks in advance for your help! Any feedback on this approach is greatly appreciated, and please let me know if there are any other documents or reference materials I should use when implementing this feature.

Cheers,

Rob Weber​

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

Hi Rob,

As you know document "001-97863 Rev. *H" is discover under NDA, community is public place, let's discuss in mycase. Thank you for your understanding.

Best Regards,

Lisa

View solution in original post

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

Hi Rob,

As you know document "001-97863 Rev. *H" is discover under NDA, community is public place, let's discuss in mycase. Thank you for your understanding.

Best Regards,

Lisa

0 Likes