Skip to content

Commit

Permalink
added cc1 and cc2 caps which were missing from PCB design, added more…
Browse files Browse the repository at this point in the history
… ideas how to fix SAFE 5V PWR EN problem
  • Loading branch information
glowingkitty committed Apr 17, 2024
1 parent 9626199 commit 5880879
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module CYPD3177_LoadSwitchSafe5V:
# After checking last revision with similar circuit (Dev Edition 1),
# it turns out the voltages at gate, source, drain are the same as in new design.
# So... the problem isn't new basically, I just removed the part of the electronics last time and ignored it that way
# TODO: test replacing two p channel mosfets with HSM4805 dual p channel mosfet (which I already use for 100W load switch)
# TODO: Test fix - remove big caps
# TODO: what other things did I change in comparison to previous version?

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,22 @@ module CYPD3177_WithCoreParts:
power_out_5v_load_switch.power_in ~ power_in
power_out_5v_load_switch.power_out ~ power_out_5v

# TODO: add to PCB layout
# Add 390pF caps for the CC1 and CC2 pins (as in eva)
cc1_cap = new Capacitor
cc1_cap.capacitance = 390pF +/- 5%
cc1_cap.footprint = "C0402"
cc1_cap.mpn = "C527008"
cc1_cap.power.vcc ~ ic.usb_pd.cc1
cc1_cap.power.gnd ~ gnd

cc2_cap = new Capacitor
cc2_cap.capacitance = 390pF +/- 5%
cc2_cap.footprint = "C0402"
cc1_cap.mpn = "C527008"
cc2_cap.power.vcc ~ ic.usb_pd.cc2
cc2_cap.power.gnd ~ gnd

# Add 3.3uF cap for the VBUS of the USB-C port
vbus_cap = new Capacitor
vbus_cap.capacitance = 3.3uF +/- 10%
Expand Down Expand Up @@ -85,7 +101,7 @@ module CYPD3177_WithCoreParts:

# Add a pull down resistor for the FAULT pin, so that it is not floating
fault_pull_down_resistor = new Resistor
fault_pull_down_resistor.resistance = 100kohm +/- 1%
fault_pull_down_resistor.resistance = 100kohm +/- 5%
fault_pull_down_resistor.footprint = "R0603"
fault_pull_down_resistor.mpn = "C25803"
fault_pull_down_resistor.p1 ~ ic.FAULT
Expand Down

0 comments on commit 5880879

Please sign in to comment.