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
JoLu_3455101
Level 4
Level 4
5 likes given 5 solutions authored 25 replies posted

Hi,

I am trying to figure out if there is a way to dynamically change the USB PD output profiles for CCG3PA. So far, I've specified my output profiles in the configuration table (i.e. a bunch of hex values in config.c). If there is a way to specific output charging profiles with "if/else" statements in the firmware code, that would solve my problem.

For example, my system has 2 input voltage supplies and 2 output profiles (5V @ 3A or 9V @ 1.67A). If the higher input power supply is turned OFF, the system cannot source the 9V output. However, because my configurable table is static right now, the end device keeps asking for 9V when it is not available. So I need to change the output charging profiles based on conditions (I have the power supply's status feed into the CCG3PA GPIO).

Thanks,

Jonathan

0 Likes
1 Solution
YiZ_31
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hi Jonathan,

You can look into this thread about changing PDO(Power Data Object) dynamically by issuing GPIO interrupt:

Active Power Identification with Multiple PDOs

Another option is dynamically change PDO by overriding source PDO mask. See function dpm_update_src_cap_mask().

Regards,
Eddie

View solution in original post

0 Likes
6 Replies