CYPD3125 Firmware programming

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
lock attach
Attachments are accessible only for community members.
PoVe_3939176
Level 2
Level 2
5 likes given First like given

Hi @LisaZ_26

pastedImage_0.png

This thread is regarding CYPD3125 Hardware Configuration. Still am facing same problem can't able to reply for previous thread and can't able to create even discussion.

As per your suggestion, used Miniprog3 for programming via SWD interface and programming also succeed.

But Across VBUS getting milli volts only and even mosfet's are also not enabled, across VBUS_P_CTRL0/1 getting milli volts.

The MOSFET's are N-Type MOSFET. Attached schematics for your reference

Programmed CYPD3125-40LQXI_notebook firmware. Kindly advise to overcome this problem.

Regards

Srini

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

Hi Srini,

1. It seems you can reply this threads and the other threads (). Let's tracking the new question in this threads.

2.DMG2305UX is P MOS FET on VBUS_P_CTRL. It is not match CY4531. CY4531 use N MOS FET on the provider path.

https://www.diodes.com/assets/Datasheets/DMG2305UX.pdf

Based on this hardware, you need change the configure of FET type in main.c. Below is original configure for this. 

pastedImage_1.png

For your case, you can change to

    pd_hal_set_fet_drive(PD_FET_DR_P_JN_FET, PD_FET_DR_P_JN_FET);

Best Regards,

Lisa

View solution in original post

3 Replies
ShifangZ_26
Moderator
Moderator
Moderator
10 likes given 250 sign-ins 1000 replies posted

Hi Srini,

1. It seems you can reply this threads and the other threads (). Let's tracking the new question in this threads.

2.DMG2305UX is P MOS FET on VBUS_P_CTRL. It is not match CY4531. CY4531 use N MOS FET on the provider path.

https://www.diodes.com/assets/Datasheets/DMG2305UX.pdf

Based on this hardware, you need change the configure of FET type in main.c. Below is original configure for this. 

pastedImage_1.png

For your case, you can change to

    pd_hal_set_fet_drive(PD_FET_DR_P_JN_FET, PD_FET_DR_P_JN_FET);

Best Regards,

Lisa

Hi Liza,

Thanks for your reply. In hardware itself  changed to N channel MOSFET( 2N7002). Still functioning is not happening.

https://www.mouser.in/datasheet/2/308/2N7002-1305074.pdf

Is there any other issue with our customized board. Please kindly help us. Soon we planned for the production based on the result of the prototype.

Regards

Srini

0 Likes

Hi Srini,

1. The 390pF cap on CC1 and CC2 pins of CYPD3125. Refer C17 and C20 as below.

pastedImage_0.png

2. Recommend you remove Q3 and Q4 when you bring up the board. Since the Vgs(th) SPEC is below:

pastedImage_1.png

At the beginning, the CC1 and CC2 is toggling with 3.3 and 0V, you can measure it on your board.

Best Regards,

Lisa

0 Likes