CYPD4226 Notebook Example Modifications for CY4541 Hardware

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
mraines
Level 1
Level 1
5 sign-ins First reply posted First question asked

The CY4541 EVK has a CYPD4225 but the available code examples only support the CYPD4226

In order to have control over the consumer FET, I discovered after much troubleshooting that I need to change the VBUS_FET_INTERNAL_CTRL config from 1 to 0. From my understanding this is because the two silicon versions internally handle FET control differently.

Are there any other changes I need to make in order to run the 4226 Notebook example on the CY4541 EVK? Using a 4225 example project does not appear to be an available option as shown in the attached screen shot. Custom HW will use the 4226.

Thank you

mraines_0-1680115563706.png

 

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

Hello ,

For CY4541 board firmware, Infineon have release firmware project in EZ-PD SDK3.0.1 and example code name is CYPD4225-40LQXI_notebook. Download link:

https://www.infineon.com/cms/en/design-support/tools/tools-archive/usb-ez-pd-host-sdk-archives/ 

 

If you would like to use a CYPD4226 for CY4541 board, CYPD4226 is pin to pin compatible  with CYPD4225, you could easy to pick 4225 out from CY4541 and assemble 4226, and then, you could use the latest CYPD4226-40LQXI_notebook example code in Ez-PD Host SDK 3.4. 

https://softwaretools.infineon.com/tools/com.ifx.tb.tool.ezpdhostsdk?_ga=2.86289306.384531303.167987...

 

Best Regards,

Lisa

View solution in original post

0 Likes
4 Replies
jsk2
Level 1
Level 1
First like received First solution authored First reply posted

If you want to use the CYPD4226 with the CY4541 EVK, you will need to make a few changes to the code examples to ensure that they work properly with your hardware. 

  1. Modify the code to account for the differences in FET control. As you noted, you will need to change the VBUS_FET_INTERNAL_CTRL config from 1 to 0 to have control over the consumer FET. You may also need to make other changes to the code to ensure that it works properly with the CYPD4226.

  2. Ensure that the pin mappings in the code match your hardware. The CY4541 EVK uses different pin mappings than the default configuration in the code examples. You will need to modify the code to match your hardware.

  3. Configure the firmware to work with your specific hardware. You may need to modify other settings in the firmware, such as the power mode, to ensure that it works properly with your hardware.

  4. Verify that the code is working properly by testing it with your hardware. You may need to make further changes to the code to address any issues that arise during testing.

It may be helpful to consult the CYPD4226 datasheet and reference manual as well as any documentation provided by your hardware manufacturer to ensure that you have all of the information you need to make the necessary modifications.

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

Hello ,

For CY4541 board firmware, Infineon have release firmware project in EZ-PD SDK3.0.1 and example code name is CYPD4225-40LQXI_notebook. Download link:

https://www.infineon.com/cms/en/design-support/tools/tools-archive/usb-ez-pd-host-sdk-archives/ 

 

If you would like to use a CYPD4226 for CY4541 board, CYPD4226 is pin to pin compatible  with CYPD4225, you could easy to pick 4225 out from CY4541 and assemble 4226, and then, you could use the latest CYPD4226-40LQXI_notebook example code in Ez-PD Host SDK 3.4. 

https://softwaretools.infineon.com/tools/com.ifx.tb.tool.ezpdhostsdk?_ga=2.86289306.384531303.167987...

 

Best Regards,

Lisa

0 Likes

Thank you for the link to the CYPD-4225 notebook source code.

I was hoping for a specific (and hopefully short) list of needed changes, since the two parts are so similar. Is this list available?

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

Hello ,

It's not recommend you change it from CYPD4226 firmware, it make no sense to do that, since CYPD4225 is PD2.0 only, but CYPD4226 is PD3.0 supporting. 

Best Regards,

Lisa

0 Likes