From 338657f927723560c09b130c348f5a7fa7bfa3cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Thu, 16 Jun 2022 19:00:49 +0200 Subject: [PATCH] lib: add SY6288 current limit --- .qeda.yaml | 1 + coraleda/subc/SOT95P285X130-5N.lht | 385 +++++++++++++++++++++++++++++ geda/symbols/SY6288.sym | 67 +++++ 3 files changed, 453 insertions(+) create mode 100644 coraleda/subc/SOT95P285X130-5N.lht create mode 100644 geda/symbols/SY6288.sym diff --git a/.qeda.yaml b/.qeda.yaml index ad3de51..aacfa9d 100644 --- a/.qeda.yaml +++ b/.qeda.yaml @@ -33,3 +33,4 @@ library: - oscillator/x3225 - vreg/current-limit_mt9700 - connector/header-2.54@1x6 + - vreg/current-limit_sy6288 diff --git a/coraleda/subc/SOT95P285X130-5N.lht b/coraleda/subc/SOT95P285X130-5N.lht new file mode 100644 index 0000000..442bbc1 --- /dev/null +++ b/coraleda/subc/SOT95P285X130-5N.lht @@ -0,0 +1,385 @@ +# subcircuit generated using QEDA +li:pcb-rnd-subcircuit-v6 { + ha:subc.1 { + uid = SOT95P285X130-5N........ + ha:attributes { + footprint = SOT95P285X130-5N + } + ha:data { + li:padstack_prototypes { + ha:ps_proto_v6.2 { + htop = 0 + hbottom = 0 + hdia = 0 + hplated = 0 + li:shape { + ha:ps_shape_v4 { + clearance = 0.200mm + li:ps_poly { + -0.575mm + -0.300mm + 0.575mm + -0.300mm + 0.575mm + 0.300mm + -0.575mm + 0.300mm + } + ha:layer_mask { + top = 1 + copper = 1 + } + ha:combining { + } + } + ha:ps_shape_v4 { + clearance = 0 + li:ps_poly { + -0.625mm + -0.350mm + 0.625mm + -0.350mm + 0.625mm + 0.350mm + -0.625mm + 0.350mm + } + ha:layer_mask { + top = 1 + mask = 1 + } + ha:combining { + sub = 1 + auto = 1 + } + } + ha:ps_shape_v4 { + clearance = 0 + li:ps_poly { + -0.575mm + -0.300mm + 0.575mm + -0.300mm + 0.575mm + 0.300mm + -0.575mm + 0.300mm + } + ha:layer_mask { + top = 1 + paste = 1 + } + ha:combining { + auto = 1 + } + } + } + } + } + li:objects { + ha:padstack_ref.31 { + proto = 2 + rot = 0 + x = -1.350mm + y = -0.950mm + ha:attributes { + term = 1 + name = 1 + } + clearance = 0.200mm + ha:flags { + clearline = 1 + } + } + ha:padstack_ref.32 { + proto = 2 + rot = 0 + x = -1.350mm + y = 0.000mm + ha:attributes { + term = 2 + name = 2 + } + clearance = 0.200mm + ha:flags { + clearline = 1 + } + } + ha:padstack_ref.33 { + proto = 2 + rot = 0 + x = -1.350mm + y = 0.950mm + ha:attributes { + term = 3 + name = 3 + } + clearance = 0.200mm + ha:flags { + clearline = 1 + } + } + ha:padstack_ref.34 { + proto = 2 + rot = 0 + x = 1.350mm + y = 0.950mm + ha:attributes { + term = 4 + name = 4 + } + clearance = 0.200mm + ha:flags { + clearline = 1 + } + } + ha:padstack_ref.35 { + proto = 2 + rot = 0 + x = 1.350mm + y = -0.950mm + ha:attributes { + term = 5 + name = 5 + } + clearance = 0.200mm + ha:flags { + clearline = 1 + } + } + } + li:layers { + ha:subc-aux { + lid = 0 + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + li:objects { + ha:line.36 { + clearance = 0 + thickness = 0.1mm + ha:attributes { + subc-role = origin + } + x1 = 0.000mm + x2 = 0.000mm + y1 = 0.000mm + y2 = 0.000mm + } + ha:line.37 { + clearance = 0 + thickness = 0.1mm + ha:attributes { + subc-role = x + } + x1 = 0.000mm + x2 = 1.000mm + y1 = 0.000mm + y2 = 0.000mm + } + ha:line.38 { + clearance = 0 + thickness = 0.1mm + ha:attributes { + subc-role = y + } + x1 = 0.000mm + x2 = 0.000mm + y1 = 0.000mm + y2 = 1.000mm + } + ha:line.39 { + clearance = 0 + thickness = 0.1mm + ha:attributes { + subc-role = pnp-origin + } + x1 = 0.000mm + x2 = 0.000mm + y1 = 0.000mm + y2 = 0.000mm + } + } + } + ha:top-silkscreen { + lid = 1 + ha:type { + top = 1 + silk = 1 + } + li:objects { + ha:text.40 { + x = 0.000mm + y = 0.000mm + rot = 0 + scale = 100 + string = %a.parent.refdes% + fid = 0 + ha:flags { + floater = 1 + dyntext = 1 + } + } + ha:line.41 { + x1 = -0.900mm + y1 = -1.575mm + x2 = 0.900mm + y2 = -1.575mm + thickness = 0.200mm + clearance = 0 + } + ha:line.42 { + x1 = 0.900mm + y1 = -0.350mm + x2 = 0.900mm + y2 = 0.350mm + thickness = 0.200mm + clearance = 0 + } + ha:line.43 { + x1 = 0.900mm + y1 = 1.575mm + x2 = -0.900mm + y2 = 1.575mm + thickness = 0.200mm + clearance = 0 + } + ha:line.44 { + x1 = -0.900mm + y1 = -1.550mm + x2 = -2.225mm + y2 = -1.550mm + thickness = 0.200mm + clearance = 0 + } + ha:line.45 { + x1 = -2.225mm + y1 = -1.550mm + x2 = -2.225mm + y2 = -0.650mm + thickness = 0.200mm + clearance = 0 + } + } + } + ha:top-assembly { + lid = 2 + ha:type { + top = 1 + doc = 1 + } + purpose = assy + li:objects { + ha:arc.46 { + x = 0.000mm + y = 0.000mm + width = 0.500mm + height = 0.500mm + thickness = 0.100mm + astart = 0 + adelta = 360 + clearance = 0 + } + ha:line.47 { + x1 = -0.700mm + y1 = 0.000mm + x2 = 0.700mm + y2 = 0.000mm + thickness = 0.100mm + clearance = 0 + } + ha:line.48 { + x1 = 0.000mm + y1 = -0.700mm + x2 = 0.000mm + y2 = 0.700mm + thickness = 0.100mm + clearance = 0 + } + ha:text.49 { + x = 0.000mm + y = 0.000mm + rot = 90 + scale = 100 + string = SOT95P285X130-5N + fid = 0 + ha:flags { + floater = 1 + } + } + ha:line.50 { + x1 = 0.000mm + y1 = -1.475mm + x2 = 0.800mm + y2 = -1.475mm + thickness = 0.100mm + clearance = 0 + } + ha:line.51 { + x1 = 0.800mm + y1 = -1.475mm + x2 = 0.800mm + y2 = 1.475mm + thickness = 0.100mm + clearance = 0 + } + ha:line.52 { + x1 = 0.800mm + y1 = 1.475mm + x2 = -0.800mm + y2 = 1.475mm + thickness = 0.100mm + clearance = 0 + } + ha:line.53 { + x1 = -0.800mm + y1 = 1.475mm + x2 = -0.800mm + y2 = -0.675mm + thickness = 0.100mm + clearance = 0 + } + ha:line.54 { + x1 = -0.800mm + y1 = -0.675mm + x2 = 0.000mm + y2 = -1.475mm + thickness = 0.100mm + clearance = 0 + } + } + } + ha:top-courtyard { + lid = 3 + ha:type { + top = 1 + doc = 1 + } + purpose = ko.courtyard + li:objects { + ha:polygon.55 { + li:geometry { + ta:contour { + { -2.175mm; -1.500mm } + { -1.050mm; -1.500mm } + { -1.050mm; -1.725mm } + { 1.050mm; -1.725mm } + { 1.050mm; -1.500mm } + { 2.175mm; -1.500mm } + { 2.175mm; 1.500mm } + { 1.050mm; 1.500mm } + { 1.050mm; 1.725mm } + { -1.050mm; 1.725mm } + { -1.050mm; 1.500mm } + { -2.175mm; 1.500mm } + } + } + } + } + } + } + } + } +} diff --git a/geda/symbols/SY6288.sym b/geda/symbols/SY6288.sym new file mode 100644 index 0000000..fbe95e8 --- /dev/null +++ b/geda/symbols/SY6288.sym @@ -0,0 +1,67 @@ +v 20150930 2 +T 0 0 5 8 0 0 0 0 1 +description=current-limited power-distribution switch +T 0 0 5 8 0 0 0 0 1 +datasheet=https://datasheet.lcsc.com/lcsc/1811031913_Silergy-Corp-SY6288AAAC_C111829.pdf +T 0 0 5 8 0 0 0 0 1 +footprint=SOT95P285X130-5N.fp +B 400 1300 1100 -900 3 0 1 0 -1 -1 0 -1 -1 -1 -1 -1 +P 0 1100 400 1100 1 0 0 +{ +T 480 1100 9 8 1 1 0 0 1 +pinlabel=VIN +T 480 1100 5 8 0 0 0 2 1 +pintype=pwr +T 320 1100 5 8 1 1 0 6 1 +pinnumber=5 +T 320 1100 5 8 0 0 0 8 1 +pinseq=5 +} +P 0 700 400 700 1 0 0 +{ +T 480 700 9 8 1 1 0 0 1 +pinlabel=EN +T 480 700 5 8 0 0 0 2 1 +pintype=false +T 320 700 5 8 1 1 0 6 1 +pinnumber=4 +T 320 700 5 8 0 0 0 8 1 +pinseq=4 +} +P 1900 1100 1500 1100 1 0 0 +{ +T 1420 1100 9 8 1 1 0 6 1 +pinlabel=VOUT +T 1420 1100 5 8 0 0 0 8 1 +pintype=false +T 1580 1100 5 8 1 1 0 0 1 +pinnumber=1 +T 1580 1100 5 8 0 0 0 2 1 +pinseq=1 +} +P 1900 700 1500 700 1 0 0 +{ +T 1420 700 9 8 1 1 0 6 1 +pinlabel=OCB +T 1420 700 5 8 0 0 0 8 1 +pintype=false +T 1580 700 5 8 1 1 0 0 1 +pinnumber=3 +T 1580 700 5 8 0 0 0 2 1 +pinseq=3 +} +P 900 0 900 400 1 0 0 +{ +T 900 480 9 8 1 1 90 0 1 +pinlabel=GND +T 900 480 5 8 0 0 90 2 1 +pintype=pwr +T 900 320 5 8 1 1 90 6 1 +pinnumber=2 +T 900 320 5 8 0 0 90 8 1 +pinseq=2 +} +T 950 1360 5 10 1 1 0 3 1 +refdes=U? +T 960 340 9 10 1 1 0 2 1 +device=SY6288