← Commit history

orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (LCSC_PN C40655). The published library carried no attributes at all, so a BOM had nothing to buy from. Distributor PNs matched on exact MPN AND corroborating manufacturer.

Ray ·2dfde43132 · ·parent b75f6bf
2 files changed +29−9
cn3702.lbr+20−2
@@ -70,11 +70,23 @@   <smd name="14" x="2.8625" y="0.9750" dx="1.4750" dy="0.4000" layer="1"/>   <smd name="15" x="2.8625" y="1.6250" dx="1.4750" dy="0.4000" layer="1"/>   <smd name="16" x="2.8625" y="2.2750" dx="1.4750" dy="0.4000" layer="1"/>+  <polygon width="0.1200" layer="21">+    <vertex x="-3.8600" y="2.2800"/>+    <vertex x="-4.1900" y="2.0400"/>+    <vertex x="-4.1900" y="2.5200"/>+  </polygon>+  <polygon width="0.1000" layer="51">+    <vertex x="-1.2000" y="2.5000"/>+    <vertex x="2.2000" y="2.5000"/>+    <vertex x="2.2000" y="-2.5000"/>+    <vertex x="-2.2000" y="-2.5000"/>+    <vertex x="-2.2000" y="1.5000"/>+  </polygon>   <wire x1="-2.3100" y1="2.7350" x2="2.3100" y2="2.7350" width="0.1200" layer="21"/>   <wire x1="2.3100" y1="-2.7350" x2="-2.3100" y2="-2.7350" width="0.1200" layer="21"/>   <text x="0" y="3.613" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-3.613" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-3.8600" y="2.2800"/><vertex x="-4.1900" y="2.0400"/><vertex x="-4.1900" y="2.5200"/></polygon></package>+</package> </packages> <symbols> <symbol name="CN3702">@@ -128,7 +140,13 @@         <connect gate="G$1" pin="test" pad="10"/>         <connect gate="G$1" pin="COM2" pad="9"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="CN3702" constant="no"/>+          <attribute name="MANUFACTURER" value="ShangHai Consonance Elec" constant="no"/>+          <attribute name="LCSC_PN" value="C40655" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
page.json+9−7
@@ -26,7 +26,9 @@       "model_3d_step": "cn3702.step",       "lbr": "cn3702.lbr"     },-    "distributor_links": {},+    "distributor_links": {+      "lcsc": "C40655"+    },     "pins": [       {         "number": "1",@@ -62,13 +64,13 @@         "number": "6",         "name": "TEMP",         "type": "input",-        "description": "Battery temperature-monitor input. Connect an NTC thermistor (10 kΩ @ 25 °C) between TEMP and GND. Internal ~50 uA pull-up; comparator thresholds ~1.61 V (high-temp) and ~0.175 V (low-temp) suspend charging when temperature is out of range."+        "description": "Battery temperature-monitor input. Connect an NTC thermistor (10 k\u03a9 @ 25 \u00b0C) between TEMP and GND. Internal ~50 uA pull-up; comparator thresholds ~1.61 V (high-temp) and ~0.175 V (low-temp) suspend charging when temperature is out of range."       },       {         "number": "7",         "name": "EOC",         "type": "input",-        "description": "End-of-charge current programming input. Connect directly to GND for the minimum termination current or through a resistor Rext (≤100 kΩ) to GND to program the termination current per IEOC = 1.278·(14350 + Rext) / (Rcs·10^6)."+        "description": "End-of-charge current programming input. Connect directly to GND for the minimum termination current or through a resistor Rext (\u2264100 k\u03a9) to GND to program the termination current per IEOC = 1.278\u00b7(14350 + Rext) / (Rcs\u00b710^6)."       },       {         "number": "8",@@ -80,7 +82,7 @@         "number": "9",         "name": "COM2",         "type": "passive",-        "description": "Loop compensation input 2. Connect a series 120 Ω resistor and 220 nF capacitor between COM2 and GND."+        "description": "Loop compensation input 2. Connect a series 120 \u03a9 resistor and 220 nF capacitor between COM2 and GND."       },       {         "number": "10",@@ -104,13 +106,13 @@         "number": "13",         "name": "CSP",         "type": "input",-        "description": "Positive charge-current sense input. Senses the voltage across the external current-sense resistor Rcs connected between CSP and BAT; the internal loop regulates VCSP−VBAT to 200 mV (typ) so that Icharge = 200 mV / Rcs."+        "description": "Positive charge-current sense input. Senses the voltage across the external current-sense resistor Rcs connected between CSP and BAT; the internal loop regulates VCSP\u2212VBAT to 200 mV (typ) so that Icharge = 200 mV / Rcs."       },       {         "number": "14",         "name": "BAT",         "type": "input",-        "description": "Battery-voltage sense input and negative current-sense input. Internal precision resistor divider and reference set the 8.4 V (±1%) constant-voltage regulation point for the 2-cell battery."+        "description": "Battery-voltage sense input and negative current-sense input. Internal precision resistor divider and reference set the 8.4 V (\u00b11%) constant-voltage regulation point for the 2-cell battery."       },       {         "number": "15",@@ -122,7 +124,7 @@         "number": "16",         "name": "DRV",         "type": "output",-        "description": "Gate driver output for the external P-channel MOSFET. Drives referenced to VCC (VCC−VDRV ≈ 60 mV high, ≥5.8 V low), with 30-65 ns typical rise/fall times into a 2 nF load."+        "description": "Gate driver output for the external P-channel MOSFET. Drives referenced to VCC (VCC\u2212VDRV \u2248 60 mV high, \u22655.8 V low), with 30-65 ns typical rise/fall times into a 2 nF load."       }     ],     "provenance": {