← Commit history

orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (LCSC_PN C77905). 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 ·484a2d810d · ·parent d56fc37
2 files changed +30−10
cn3722.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="CN3722">@@ -128,7 +140,13 @@         <connect gate="G$1" pin="FB" pad="10"/>         <connect gate="G$1" pin="COM2" pad="9"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="CN3722" constant="no"/>+          <attribute name="MANUFACTURER" value="ShangHai Consonance Elec" constant="no"/>+          <attribute name="LCSC_PN" value="C77905" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
page.json+10−8
@@ -26,7 +26,9 @@       "model_3d_step": "cn3722.step",       "lbr": "cn3722.lbr"     },-    "distributor_links": {},+    "distributor_links": {+      "lcsc": "C77905"+    },     "pins": [       {         "number": "1",@@ -62,13 +64,13 @@         "number": "6",         "name": "TEMP",         "type": "input",-        "description": "Battery temperature sensing input. Connect an NTC thermistor (typ. 10 kΩ) between TEMP and GND. Internal 55 µA pull-up; charging is suspended when temperature is out of range (Vthh 1.61 V / Vthl 0.175 V)."+        "description": "Battery temperature sensing input. Connect an NTC thermistor (typ. 10 k\u03a9) between TEMP and GND. Internal 55 \u00b5A pull-up; charging is suspended when temperature is out of range (Vthh 1.61 V / Vthl 0.175 V)."       },       {         "number": "7",         "name": "MPPT",         "type": "input",-        "description": "Solar panel maximum-power-point tracking input. Regulated to 1.04 V at 25 °C with a −0.4 %/°C temperature coefficient to match a Si solar cell's MPP voltage. Requires an external resistor divider from the panel to sense its terminal voltage."+        "description": "Solar panel maximum-power-point tracking input. Regulated to 1.04 V at 25 \u00b0C with a \u22120.4 %/\u00b0C temperature coefficient to match a Si solar cell's MPP voltage. Requires an external resistor divider from the panel to sense its terminal voltage."       },       {         "number": "8",@@ -80,7 +82,7 @@         "number": "9",         "name": "COM2",         "type": "passive",-        "description": "Loop compensation input 2. Connect a 120 Ω resistor in series with a 220 nF capacitor from this pin to GND."+        "description": "Loop compensation input 2. Connect a 120 \u03a9 resistor in series with a 220 nF capacitor from this pin to GND."       },       {         "number": "10",@@ -104,25 +106,25 @@         "number": "13",         "name": "CSP",         "type": "input",-        "description": "Positive input of the charge-current sense amplifier. CSP and BAT measure the voltage across the sense resistor R_CS to close the current-regulation loop. In CC mode V(CSP−BAT) = 200 mV typ (→ I_chg = 200 mV / R_CS)."+        "description": "Positive input of the charge-current sense amplifier. CSP and BAT measure the voltage across the sense resistor R_CS to close the current-regulation loop. In CC mode V(CSP\u2212BAT) = 200 mV typ (\u2192 I_chg = 200 mV / R_CS)."       },       {         "number": "14",         "name": "BAT",         "type": "input",-        "description": "Negative input of the charge-current sense amplifier and battery-terminal connection. Together with CSP measures V(R_CS) and monitors the battery voltage for over-voltage protection (Vov = 1.08·V_REG typ)."+        "description": "Negative input of the charge-current sense amplifier and battery-terminal connection. Together with CSP measures V(R_CS) and monitors the battery voltage for over-voltage protection (Vov = 1.08\u00b7V_REG typ)."       },       {         "number": "15",         "name": "VCC",         "type": "power_in",-        "description": "Main supply input for the chip and internal circuitry. Operating range 7.5-28 V; UVLO ≈ 6 V. Bypass to GND with a local filter capacitor."+        "description": "Main supply input for the chip and internal circuitry. Operating range 7.5-28 V; UVLO \u2248 6 V. Bypass to GND with a local filter capacitor."       },       {         "number": "16",         "name": "DRV",         "type": "output",-        "description": "Gate drive output for the external P-channel MOSFET (buck high-side switch). Referenced to VCC: VH (VCC−DRV) = 60 mV @ −10 mA, VL = 6.5 V typ; ~40 ns rise/fall into 2 nF; f_osc = 300 kHz, D_max = 94 %."+        "description": "Gate drive output for the external P-channel MOSFET (buck high-side switch). Referenced to VCC: VH (VCC\u2212DRV) = 60 mV @ \u221210 mA, VL = 6.5 V typ; ~40 ns rise/fall into 2 nF; f_osc = 300 kHz, D_max = 94 %."       }     ],     "provenance": {