← Commit history

symbol: give the SO-8 its real 8-pin pinout. The page shipped the 3-pin DPAK/TO-220 pinout (GND/VOUT/VIN) on an 8-pad SOIC-8 footprint, leaving pads 4-8 as copper no symbol pin could reach. Taken from Figure 2 of the LD1117 datasheet, which lists D33CTR under SO-8: 1 GND, 2 VOUT, 3 VOUT, 4 VIN, 5 NC, 6 VOUT, 7 VOUT, 8 NC. Note the automated extraction of this same datasheet returned '2-7 all VOUT, 8 VIN' and flagged itself review_required; reading the figure directly showed VIN is pin 4 and pins 5 and 8 are NC, so that reading would have wired the input to a no-connect.

Ray ·f28ef5c1c2 · ·parent 03d9a66
4 files changed +123−105
ld1117d33ctr.kicad_sym+27−7
@@ -1,25 +1,45 @@ (kicad_symbol_lib (version 20211014) (generator ds2sf_rect)   (symbol "LD1117D33CTR" (in_bom yes) (on_board yes)-    (property "Reference" "U" (at 0 5.08 0) (effects (font (size 1.27 1.27))))-    (property "Value" "LD1117D33CTR" (at 0 -7.62 0) (effects (font (size 1.27 1.27))))+    (property "Reference" "U" (at 0 7.62 0) (effects (font (size 1.27 1.27))))+    (property "Value" "LD1117D33CTR" (at 0 -10.16 0) (effects (font (size 1.27 1.27))))     (property "Footprint" "" (at 0 0 0) (effects (font (size 1.27 1.27)) hide))     (symbol "LD1117D33CTR_0_1"-    (rectangle (start -12.70 2.54) (end 12.70 -5.08)+    (rectangle (start -12.70 5.08) (end 12.70 -7.62)       (stroke (width 0.254) (type default)) (fill (type background)))     )     (symbol "LD1117D33CTR_1_1"-    (pin power_in line (at -17.78 0.00 0) (length 5.08)+    (pin power_in line (at -17.78 2.54 0) (length 5.08)       (name "GND" (effects (font (size 1.27 1.27))))       (number "1" (effects (font (size 1.27 1.27))))     )-    (pin power_out line (at -17.78 -2.54 0) (length 5.08)+    (pin power_out line (at -17.78 0.00 0) (length 5.08)       (name "VOUT" (effects (font (size 1.27 1.27))))       (number "2" (effects (font (size 1.27 1.27))))     )-    (pin power_in line (at 17.78 0.00 180) (length 5.08)-      (name "VIN" (effects (font (size 1.27 1.27))))+    (pin power_out line (at -17.78 -2.54 0) (length 5.08)+      (name "VOUT" (effects (font (size 1.27 1.27))))       (number "3" (effects (font (size 1.27 1.27))))     )+    (pin power_in line (at -17.78 -5.08 0) (length 5.08)+      (name "VIN" (effects (font (size 1.27 1.27))))+      (number "4" (effects (font (size 1.27 1.27))))+    )+    (pin no_connect line (at 17.78 2.54 180) (length 5.08)+      (name "NC" (effects (font (size 1.27 1.27))))+      (number "8" (effects (font (size 1.27 1.27))))+    )+    (pin power_out line (at 17.78 0.00 180) (length 5.08)+      (name "VOUT" (effects (font (size 1.27 1.27))))+      (number "7" (effects (font (size 1.27 1.27))))+    )+    (pin power_out line (at 17.78 -2.54 180) (length 5.08)+      (name "VOUT" (effects (font (size 1.27 1.27))))+      (number "6" (effects (font (size 1.27 1.27))))+    )+    (pin no_connect line (at 17.78 -5.08 180) (length 5.08)+      (name "NC" (effects (font (size 1.27 1.27))))+      (number "5" (effects (font (size 1.27 1.27))))+    )     )   ) )
ld1117d33ctr.lbr+34−23
@@ -50,18 +50,18 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description></description>+<description>STMicroelectronics Voltage Regulators - Linear, Low Drop Out (LDO) Regulators, SOIC-8</description> <packages>-<package name="LD1117D33CTR">-  <description>LD1117D33CTR</description>-  <smd name="1" x="-2.4750" y="1.9050" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="2" x="-2.4750" y="0.6350" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="3" x="-2.4750" y="-0.6350" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="4" x="-2.4750" y="-1.9050" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="5" x="2.4750" y="-1.9050" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="6" x="2.4750" y="-0.6350" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="7" x="2.4750" y="0.6350" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="8" x="2.4750" y="1.9050" dx="1.9500" dy="0.6000" layer="1"/>+<package name="SOIC-8_3.9x4.9mm_P1.27mm">+  <description>SOIC-8, 3.9 x 4.9 mm, 1.27 mm pitch</description>+  <smd name="1" x="-2.4750" y="1.9050" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="2" x="-2.4750" y="0.6350" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="3" x="-2.4750" y="-0.6350" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="4" x="-2.4750" y="-1.9050" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="5" x="2.4750" y="-1.9050" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="6" x="2.4750" y="-0.6350" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="7" x="2.4750" y="0.6350" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="8" x="2.4750" y="1.9050" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>   <polygon width="0.1200" layer="21">     <vertex x="-2.6000" y="2.4700"/>     <vertex x="-2.8400" y="2.8000"/>@@ -86,29 +86,40 @@ </packages> <symbols> <symbol name="LD1117D33CTR">-  <wire x1="-12.7" y1="2.54" x2="12.7" y2="2.54" width="0.254" layer="94"/>-  <wire x1="12.7" y1="2.54" x2="12.7" y2="-5.08" width="0.254" layer="94"/>-  <wire x1="12.7" y1="-5.08" x2="-12.7" y2="-5.08" width="0.254" layer="94"/>-  <wire x1="-12.7" y1="-5.08" x2="-12.7" y2="2.54" width="0.254" layer="94"/>-  <text x="0" y="5.08" size="1.27" layer="95" align="bottom-center">&gt;NAME</text>-  <text x="0" y="-7.62" size="1.27" layer="96" align="top-center">&gt;VALUE</text>-  <pin name="GND" x="-17.78" y="0" length="middle" direction="pwr"/>-  <pin name="VOUT" x="-17.78" y="-2.54" length="middle" direction="out"/>-  <pin name="VIN" x="17.78" y="0" length="middle" direction="pwr" rot="R180"/>+  <description>STMicroelectronics Voltage Regulators - Linear, Low Drop Out (LDO) Regulators, SOIC-8</description>+  <wire x1="-12.7" y1="5.08" x2="12.7" y2="5.08" width="0.254" layer="94"/>+  <wire x1="12.7" y1="5.08" x2="12.7" y2="-7.62" width="0.254" layer="94"/>+  <wire x1="12.7" y1="-7.62" x2="-12.7" y2="-7.62" width="0.254" layer="94"/>+  <wire x1="-12.7" y1="-7.62" x2="-12.7" y2="5.08" width="0.254" layer="94"/>+  <text x="0.0000" y="7.6200" size="1.27" layer="95" align="center">&gt;NAME</text>+  <text x="0.0000" y="-10.1600" size="1.27" layer="96" align="center">&gt;VALUE</text>+  <pin name="GND" x="-17.78" y="2.54" length="middle" direction="pwr"/>+  <pin name="VOUT" x="-17.78" y="0" length="middle" direction="out"/>+  <pin name="VOUT@2" x="-17.78" y="-2.54" length="middle" direction="out"/>+  <pin name="VIN" x="-17.78" y="-5.08" length="middle" direction="pwr"/>+  <pin name="NC" x="17.78" y="2.54" length="middle" direction="io" rot="R180"/>+  <pin name="VOUT@3" x="17.78" y="0" length="middle" direction="out" rot="R180"/>+  <pin name="VOUT@4" x="17.78" y="-2.54" length="middle" direction="out" rot="R180"/>+  <pin name="NC@2" x="17.78" y="-5.08" length="middle" direction="io" rot="R180"/> </symbol> </symbols> <devicesets> <deviceset name="LD1117D33CTR" prefix="U">-  <description></description>+  <description>STMicroelectronics Voltage Regulators - Linear, Low Drop Out (LDO) Regulators, SOIC-8</description>   <gates>     <gate name="G$1" symbol="LD1117D33CTR" x="0" y="0"/>   </gates>   <devices>-    <device name="" package="LD1117D33CTR">+    <device name="" package="SOIC-8_3.9x4.9mm_P1.27mm">       <connects>         <connect gate="G$1" pin="GND" pad="1"/>         <connect gate="G$1" pin="VOUT" pad="2"/>-        <connect gate="G$1" pin="VIN" pad="3"/>+        <connect gate="G$1" pin="VOUT@2" pad="3"/>+        <connect gate="G$1" pin="VIN" pad="4"/>+        <connect gate="G$1" pin="NC" pad="8"/>+        <connect gate="G$1" pin="VOUT@3" pad="7"/>+        <connect gate="G$1" pin="VOUT@4" pad="6"/>+        <connect gate="G$1" pin="NC@2" pad="5"/>       </connects>       <technologies>         <technology name="">
pads.json+32−69
@@ -21,52 +21,15 @@  "symbol_pins": [   "1",   "2",-  "3"+  "3",+  "4",+  "5",+  "6",+  "7",+  "8"  ],  "paste_apertures": 0,- "issues": [-  {-   "kind": "pin-not-in-symbol",-   "pin": "TAB",-   "name": "VOUT",-   "detail": "page.json describes pin \"TAB\" (VOUT) from the datasheet, but the symbol has no such pin, so nothing can connect to it"-  },-  {-   "kind": "pad-has-no-pin",-   "pad": "4",-   "thermal": false,-   "described_in_page": false,-   "detail": "footprint pad \"4\" is in copper but the SYMBOL has no pin for it"-  },-  {-   "kind": "pad-has-no-pin",-   "pad": "5",-   "thermal": false,-   "described_in_page": false,-   "detail": "footprint pad \"5\" is in copper but the SYMBOL has no pin for it"-  },-  {-   "kind": "pad-has-no-pin",-   "pad": "6",-   "thermal": false,-   "described_in_page": false,-   "detail": "footprint pad \"6\" is in copper but the SYMBOL has no pin for it"-  },-  {-   "kind": "pad-has-no-pin",-   "pad": "7",-   "thermal": false,-   "described_in_page": false,-   "detail": "footprint pad \"7\" is in copper but the SYMBOL has no pin for it"-  },-  {-   "kind": "pad-has-no-pin",-   "pad": "8",-   "thermal": false,-   "described_in_page": false,-   "detail": "footprint pad \"8\" is in copper but the SYMBOL has no pin for it"-  }- ],+ "issues": [],  "pads": [   {    "pad": "1",@@ -90,7 +53,7 @@    "pin": "1",    "name": "GND",    "type": "power_in",-   "description": "Ground / common return pin. Reference for the internal band-gap and the 3.3 V output. Quiescent current returns through this pin.",+   "description": "Ground / reference for the fixed 3.3 V output.",    "is_pin1": true,    "source": {     "geometry": "SOIC-8_3.9x4.9mm_P1.27mm.kicad_mod",@@ -120,7 +83,7 @@    "pin": "2",    "name": "VOUT",    "type": "power_out",-   "description": "Regulated 3.3 V output (typ. 3.3 V, tolerance +/-1% at 25 degC). Sources up to 800 mA continuous; requires a 10 uF minimum output capacitor for loop stability. Electrically common with the DPAK tab.",+   "description": "Regulated output. Brought out on four leads (2, 3, 6, 7) to carry current and conduct heat.",    "is_pin1": false,    "source": {     "geometry": "SOIC-8_3.9x4.9mm_P1.27mm.kicad_mod",@@ -148,9 +111,9 @@    ],    "thermal": false,    "pin": "3",-   "name": "VIN",-   "type": "power_in",-   "description": "Unregulated DC input supply. Operating range up to 15 V (18 V absolute max when IOUT < 20 mA); a 100 nF input decoupling capacitor is recommended. Dropout is typically 1.1 V at 800 mA load.",+   "name": "VOUT",+   "type": "power_out",+   "description": "Regulated output. Brought out on four leads (2, 3, 6, 7) to carry current and conduct heat.",    "is_pin1": false,    "source": {     "geometry": "SOIC-8_3.9x4.9mm_P1.27mm.kicad_mod",@@ -178,13 +141,13 @@    ],    "thermal": false,    "pin": "4",-   "name": null,-   "type": null,-   "description": null,+   "name": "VIN",+   "type": "power_in",+   "description": "Unregulated input supply.",    "is_pin1": false,    "source": {     "geometry": "SOIC-8_3.9x4.9mm_P1.27mm.kicad_mod",-    "meaning": null,+    "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }   },@@ -208,13 +171,13 @@    ],    "thermal": false,    "pin": "5",-   "name": null,-   "type": null,-   "description": null,+   "name": "NC",+   "type": "no_connect",+   "description": "No internal connection.",    "is_pin1": false,    "source": {     "geometry": "SOIC-8_3.9x4.9mm_P1.27mm.kicad_mod",-    "meaning": null,+    "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }   },@@ -238,13 +201,13 @@    ],    "thermal": false,    "pin": "6",-   "name": null,-   "type": null,-   "description": null,+   "name": "VOUT",+   "type": "power_out",+   "description": "Regulated output. Brought out on four leads (2, 3, 6, 7) to carry current and conduct heat.",    "is_pin1": false,    "source": {     "geometry": "SOIC-8_3.9x4.9mm_P1.27mm.kicad_mod",-    "meaning": null,+    "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }   },@@ -268,13 +231,13 @@    ],    "thermal": false,    "pin": "7",-   "name": null,-   "type": null,-   "description": null,+   "name": "VOUT",+   "type": "power_out",+   "description": "Regulated output. Brought out on four leads (2, 3, 6, 7) to carry current and conduct heat.",    "is_pin1": false,    "source": {     "geometry": "SOIC-8_3.9x4.9mm_P1.27mm.kicad_mod",-    "meaning": null,+    "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }   },@@ -298,13 +261,13 @@    ],    "thermal": false,    "pin": "8",-   "name": null,-   "type": null,-   "description": null,+   "name": "NC",+   "type": "no_connect",+   "description": "No internal connection.",    "is_pin1": false,    "source": {     "geometry": "SOIC-8_3.9x4.9mm_P1.27mm.kicad_mod",-    "meaning": null,+    "meaning": "page.json:component.pins",     "correspondence": "kicad: symbol pin number == pad name"    }   }
page.json+30−6
@@ -15,7 +15,7 @@     "mpn": "LD1117D33CTR",     "manufacturer": "STMicroelectronics",     "package": "SOIC-8",-    "pin_count": 4,+    "pin_count": 8,     "category": "PMIC",     "subcategory": "Voltage Regulators - Linear, Low Drop Out (LDO) Regulators",     "datasheet": "https://www.st.com/resource/en/datasheet/ld1117d33ctr.pdf",@@ -36,25 +36,49 @@         "number": "1",         "name": "GND",         "type": "power_in",-        "description": "Ground / common return pin. Reference for the internal band-gap and the 3.3 V output. Quiescent current returns through this pin."+        "description": "Ground / reference for the fixed 3.3 V output."       },       {         "number": "2",         "name": "VOUT",         "type": "power_out",-        "description": "Regulated 3.3 V output (typ. 3.3 V, tolerance +/-1% at 25 degC). Sources up to 800 mA continuous; requires a 10 uF minimum output capacitor for loop stability. Electrically common with the DPAK tab."+        "description": "Regulated output. Brought out on four leads (2, 3, 6, 7) to carry current and conduct heat."       },       {         "number": "3",+        "name": "VOUT",+        "type": "power_out",+        "description": "Regulated output. Brought out on four leads (2, 3, 6, 7) to carry current and conduct heat."+      },+      {+        "number": "4",         "name": "VIN",         "type": "power_in",-        "description": "Unregulated DC input supply. Operating range up to 15 V (18 V absolute max when IOUT < 20 mA); a 100 nF input decoupling capacitor is recommended. Dropout is typically 1.1 V at 800 mA load."+        "description": "Unregulated input supply."+      },+      {+        "number": "5",+        "name": "NC",+        "type": "no_connect",+        "description": "No internal connection."       },       {-        "number": "TAB",+        "number": "6",         "name": "VOUT",         "type": "power_out",-        "description": "Exposed metal tab used as the primary thermal path to the PCB copper pour. Electrically tied to VOUT internally, so any copper it contacts is at the regulated output potential."+        "description": "Regulated output. Brought out on four leads (2, 3, 6, 7) to carry current and conduct heat."+      },+      {+        "number": "7",+        "name": "VOUT",+        "type": "power_out",+        "description": "Regulated output. Brought out on four leads (2, 3, 6, 7) to carry current and conduct heat."+      },+      {+        "number": "8",+        "name": "NC",+        "type": "no_connect",+        "description": "No internal connection."       }     ],     "provenance": {