PMG1-S1 Code Example for Power Source

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,

Is there a sample project/source code example for a USB-C PD source application? Currently, it seems ModusToolBox only have a sink example. If a source project is not available yet, do you have a target date of release?

Thanks,
Jonathan

 

0 Likes
1 Solution
Pablo_EG
Moderator
Moderator
Moderator
First question asked 250 sign-ins 250 replies posted

Hello JoLu,

Thank you for posting on Infineon Community.

As you well noted, we currently do not have a PD source code example available for PMG1 devices.
However, we are currently working on it.
It is scheduled for release in Work Week 50 (mid-December).

I appreciate your patience on this.

Best regards,
Pablo

View solution in original post

0 Likes
3 Replies
Pablo_EG
Moderator
Moderator
Moderator
First question asked 250 sign-ins 250 replies posted

Hello JoLu,

Thank you for posting on Infineon Community.

As you well noted, we currently do not have a PD source code example available for PMG1 devices.
However, we are currently working on it.
It is scheduled for release in Work Week 50 (mid-December).

I appreciate your patience on this.

Best regards,
Pablo

0 Likes

Hi Pablo,

Thanks for your reply. We have experience working with the CCG3PA chipset and wrote firmware based on the CCG3PA power adapter (source) code example in the past.

We know the functions are different for PMG1, but is it possible to write our own PD source code for PMG1-S1 or does it involve too many low-level (perhaps hidden) function calls where it's not likely that we can get something running before the example code is available in December?

Best regards,
Jonathan

 

0 Likes
Pablo_EG
Moderator
Moderator
Moderator
First question asked 250 sign-ins 250 replies posted

Hello Jolu,

In order to support the source functionality, the PD Stack middleware should support either a DRP or a Source library.
The current PD Stack available in GitHub has only sink libraries.
Therefore, developing the source functionality will need to be done from scratch, and will very likely take longer than waiting until December.

I apologize for the inconvenience.
Best regards,

Pablo

0 Likes