← Commit history

symbol: the part is a 5-lead SOT-23 - the shipped footprint has 5 pads and the datasheet confirms it for this ordering suffix - but the symbol carried the 8-pin SOIC pinout. Pinout taken from this part's datasheet for its own ordering suffix. The library failed validate because the symbol declared pins the footprint has no pad for (connect-pad-unresolved), which also blocked its orderable attributes. Rebuilds the .lbr, re-derives pin 1 and pads.json.

Ray ·af9ca81a52 · ·parent 23fee94
2 files changed +31−63
pads.json+14−33
@@ -26,26 +26,7 @@   "5"  ],  "paste_apertures": 0,- "issues": [-  {-   "kind": "pin-not-in-symbol",-   "pin": "6",-   "name": "SCL",-   "detail": "page.json describes pin \"6\" (SCL) from the datasheet, but the symbol has no such pin, so nothing can connect to it"-  },-  {-   "kind": "pin-not-in-symbol",-   "pin": "7",-   "name": "WP",-   "detail": "page.json describes pin \"7\" (WP) from the datasheet, but the symbol has no such pin, so nothing can connect to it"-  },-  {-   "kind": "pin-not-in-symbol",-   "pin": "8",-   "name": "VCC",-   "detail": "page.json describes pin \"8\" (VCC) from the datasheet, but the symbol has no such pin, so nothing can connect to it"-  }- ],+ "issues": [],  "pads": [   {    "pad": "1",@@ -67,9 +48,9 @@    ],    "thermal": false,    "pin": "1",-   "name": "A0",+   "name": "SCL",    "type": "input",-   "description": "Device address input bit 0. Hard-wire to GND or VCC to select the device address on a shared I2C bus (up to 8 devices). Internally pulled down to GND when floating; Microchip recommends always tying to a known state (pull-up resistor ≤10 kΩ if used).",+   "description": "I²C serial clock input. Input data on SDA is latched on the rising edge; output data is clocked out on the falling edge. Requires external pull-up to VCC (or drive high) when the bus is idle.",    "is_pin1": true,    "source": {     "geometry": "SOT-23-5.kicad_mod",@@ -97,9 +78,9 @@    ],    "thermal": false,    "pin": "2",-   "name": "A1",-   "type": "input",-   "description": "Device address input bit 1. Hard-wire to GND or VCC for I2C bus device addressing (matches slave address bits). Internally pulled to GND if floating; tie to a known state for reliable operation.",+   "name": "GND",+   "type": "power_in",+   "description": "Ground reference for the power supply and I²C bus. Connect to system ground (0 V).",    "is_pin1": false,    "source": {     "geometry": "SOT-23-5.kicad_mod",@@ -127,9 +108,9 @@    ],    "thermal": false,    "pin": "3",-   "name": "A2",-   "type": "input",-   "description": "Device address input bit 2. Hard-wire to GND or VCC for I2C bus device addressing. Internally pulled to GND if floating; recommended pull-up resistor value ≤10 kΩ.",+   "name": "SDA",+   "type": "bidirectional",+   "description": "I²C serial data, open-drain bidirectional. Requires an external pull-up resistor to VCC (≤10 kΩ recommended); may be wire-ORed with other open-drain devices on the bus.",    "is_pin1": false,    "source": {     "geometry": "SOT-23-5.kicad_mod",@@ -157,9 +138,9 @@    ],    "thermal": false,    "pin": "4",-   "name": "GND",+   "name": "VCC",    "type": "power_in",-   "description": "Ground reference for the power supply. Connect to system ground.",+   "description": "Device power supply, 1.7 V to 5.5 V. Typical ICC ≈ 0.4 mA read / 2.0 mA write at 400 kHz (3 mA max active, 6 µA max standby).",    "is_pin1": false,    "source": {     "geometry": "SOT-23-5.kicad_mod",@@ -187,9 +168,9 @@    ],    "thermal": false,    "pin": "5",-   "name": "SDA",-   "type": "bidirectional",-   "description": "I2C serial data line. Open-drain bidirectional I/O; requires an external pull-up resistor (≤10 kΩ) to VCC. Wire-OR compatible with other open-drain devices on the same bus.",+   "name": "WP",+   "type": "input",+   "description": "Write-Protect input. Tied to GND enables normal write operations; tied to VCC inhibits all writes to the full array. Internally pulled down to GND if floating; Microchip recommends driving to a known state (≤10 kΩ pull-up if used).",    "is_pin1": false,    "source": {     "geometry": "SOT-23-5.kicad_mod",
page.json+17−30
@@ -15,7 +15,7 @@     "mpn": "AT24C02C-STUM-T",     "manufacturer": "Microchip",     "package": "SOT-23-5",-    "pin_count": 8,+    "pin_count": 5,     "category": "Memory",     "subcategory": "EEPROM",     "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/acfc0331d55a40fafaed99d3d812ad09.pdf",@@ -33,51 +33,38 @@     "pins": [       {         "number": "1",-        "name": "A0",+        "name": "SCL",         "type": "input",-        "description": "Device address input bit 0. Hard-wire to GND or VCC to select the device address on a shared I2C bus (up to 8 devices). Internally pulled down to GND when floating; Microchip recommends always tying to a known state (pull-up resistor \u226410 k\u03a9 if used)."+        "description": "I\u00b2C serial clock input. Input data on SDA is latched on the rising edge; output data is clocked out on the falling edge. Requires external pull-up to VCC (or drive high) when the bus is idle.",+        "group": "I2C"       },       {         "number": "2",-        "name": "A1",-        "type": "input",-        "description": "Device address input bit 1. Hard-wire to GND or VCC for I2C bus device addressing (matches slave address bits). Internally pulled to GND if floating; tie to a known state for reliable operation."-      },-      {-        "number": "3",-        "name": "A2",-        "type": "input",-        "description": "Device address input bit 2. Hard-wire to GND or VCC for I2C bus device addressing. Internally pulled to GND if floating; recommended pull-up resistor value \u226410 k\u03a9."-      },-      {-        "number": "4",         "name": "GND",         "type": "power_in",-        "description": "Ground reference for the power supply. Connect to system ground."+        "description": "Ground reference for the power supply and I\u00b2C bus. Connect to system ground (0 V).",+        "group": "GROUND"       },       {-        "number": "5",+        "number": "3",         "name": "SDA",         "type": "bidirectional",-        "description": "I2C serial data line. Open-drain bidirectional I/O; requires an external pull-up resistor (\u226410 k\u03a9) to VCC. Wire-OR compatible with other open-drain devices on the same bus."+        "description": "I\u00b2C serial data, open-drain bidirectional. Requires an external pull-up resistor to VCC (\u226410 k\u03a9 recommended); may be wire-ORed with other open-drain devices on the bus.",+        "group": "I2C"       },       {-        "number": "6",-        "name": "SCL",-        "type": "input",-        "description": "I2C serial clock input. Positive-edge clocks data into the device; negative-edge clocks data out. Supports 100 kHz Standard, 400 kHz Fast, and 1 MHz Fast Mode Plus (FM+) operation."+        "number": "4",+        "name": "VCC",+        "type": "power_in",+        "description": "Device power supply, 1.7 V to 5.5 V. Typical ICC \u2248 0.4 mA read / 2.0 mA write at 400 kHz (3 mA max active, 6 \u00b5A max standby).",+        "group": "POWER"       },       {-        "number": "7",+        "number": "5",         "name": "WP",         "type": "input",-        "description": "Write-Protect input. When tied to VCC, all write operations to the memory array are inhibited (full array hardware write protection). When tied to GND or left floating (internal pull-down active), normal read/write operations are permitted."-      },-      {-        "number": "8",-        "name": "VCC",-        "type": "power_in",-        "description": "Device power supply. Operating range 1.7V to 5.5V (2.5V to 5.5V for 1 MHz FM+ operation). Bypass with a 0.1 \u00b5F ceramic capacitor to GND close to the pin."+        "description": "Write-Protect input. Tied to GND enables normal write operations; tied to VCC inhibits all writes to the full array. Internally pulled down to GND if floating; Microchip recommends driving to a known state (\u226410 k\u03a9 pull-up if used).",+        "group": "CONTROL"       }     ],     "provenance": {