EZ-PD SDK: Removing "Master_I2C"

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
35_Engineering
Level 4
Level 4
First like received 10 sign-ins 10 questions asked

Hi Infineon Friends:
I'm trying to take the 5225 Host SDK and make it WAY simpler....

The SDK docs leave a bit to be desired....   they give me a list of files to update, but no information as to how....

I just want to negotiate power (no HCI needed), no TBT needed, no Display....    Just want to test out simple PDO's.

 

Is there a "simple" version that someone can share with me for 5225 that strips out all of the LED's, external hubs, muxes, etc....   and just does the PD stuff??

 

It seems like anything I try to do to modify the SDK code breaks the SDK....    and there is no documentation as to how or why.

 

Please?

Thank you!!

JB.

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
Pranava_YN
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi,

I have disabled most of the functionalities in the attached project. Please check if this works for you. As specified in the other thread,  you will still have to write code to control the VBUS voltage as per your system.

Best regards,
Pranava

View solution in original post

7 Replies
Pranava_YN
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi,

May I know the exact application that you intend to implement? 

There are a few Macros specified in Compile Time Options section of the SDK User guide. Apart from this, all other features must be disabled manually. 

Before proceeding with this, I just want to understand the application.

Best regards,
Pranava
35_Engineering
Level 4
Level 4
First like received 10 sign-ins 10 questions asked

I can't give you the customer name, obviously....   and I'm not sure how the application helps you?

...however, The application is two port EZ-PD, without the I2C interface to the external power supply and USB hub that are provided in the CYPD6 SDK....    they are also provided in the CYPD5 SDK host....   but I don't have them...  and it seems that the errors generated by not having them are causing my application some problems...

 

 

😞

 

 

*tear face*

0 Likes
lock attach
Attachments are accessible only for community members.
Pranava_YN
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi,

I have disabled most of the functionalities in the attached project. Please check if this works for you. As specified in the other thread,  you will still have to write code to control the VBUS voltage as per your system.

Best regards,
Pranava
35_Engineering
Level 4
Level 4
First like received 10 sign-ins 10 questions asked

Thank You PranavaYN!

0 Likes
35_Engineering
Level 4
Level 4
First like received 10 sign-ins 10 questions asked

Wait!!!

I marked it as solved....  and then got an error....   in the "noboot"

hci not defined..  or "implicit declaration"???

 

 

0 Likes
lock attach
Attachments are accessible only for community members.
Pranava_YN
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi,

Sorry, I overlooked the "noboot" project. You can use this.

 

Best regards,
Pranava
35_Engineering
Level 4
Level 4
First like received 10 sign-ins 10 questions asked

Thank you!!!

0 Likes