← Commit history

Update 3 file(s)

Ray ·6d6f82399b · ·parent b1659f4
3 files changed +202−86
MCP2515.adom-lbr.json+117−20
@@ -14,7 +14,8 @@         "x": 600,         "y": 500,         "length": 100,-        "rotation": 180+        "rotation": 180,+        "electrical_type": "output"       },       {         "number": "2",@@ -22,7 +23,8 @@         "x": 600,         "y": 600,         "length": 100,-        "rotation": 180+        "rotation": 180,+        "electrical_type": "input"       },       {         "number": "3",@@ -30,7 +32,8 @@         "x": -600,         "y": -400,         "length": 100,-        "rotation": 0+        "rotation": 0,+        "electrical_type": "output"       },       {         "number": "4",@@ -38,7 +41,8 @@         "x": 600,         "y": -300,         "length": 100,-        "rotation": 180+        "rotation": 180,+        "electrical_type": "input"       },       {         "number": "5",@@ -46,7 +50,8 @@         "x": 600,         "y": -400,         "length": 100,-        "rotation": 180+        "rotation": 180,+        "electrical_type": "input"       },       {         "number": "6",@@ -54,7 +59,8 @@         "x": 600,         "y": -500,         "length": 100,-        "rotation": 180+        "rotation": 180,+        "electrical_type": "input"       },       {         "number": "7",@@ -62,7 +68,8 @@         "x": -600,         "y": -200,         "length": 100,-        "rotation": 0+        "rotation": 0,+        "electrical_type": "output"       },       {         "number": "8",@@ -70,7 +77,8 @@         "x": -600,         "y": -300,         "length": 100,-        "rotation": 0+        "rotation": 0,+        "electrical_type": "input"       },       {         "number": "9",@@ -78,7 +86,8 @@         "x": 0,         "y": -800,         "length": 100,-        "rotation": 90+        "rotation": 90,+        "electrical_type": "power_in"       },       {         "number": "10",@@ -86,7 +95,8 @@         "x": 600,         "y": -200,         "length": 100,-        "rotation": 180+        "rotation": 180,+        "electrical_type": "output"       },       {         "number": "11",@@ -94,7 +104,8 @@         "x": 600,         "y": -100,         "length": 100,-        "rotation": 180+        "rotation": 180,+        "electrical_type": "output"       },       {         "number": "12",@@ -102,7 +113,8 @@         "x": 600,         "y": 0,         "length": 100,-        "rotation": 180+        "rotation": 180,+        "electrical_type": "output"       },       {         "number": "13",@@ -110,7 +122,8 @@         "x": -600,         "y": 300,         "length": 100,-        "rotation": 0+        "rotation": 0,+        "electrical_type": "input"       },       {         "number": "14",@@ -118,7 +131,8 @@         "x": -600,         "y": 600,         "length": 100,-        "rotation": 0+        "rotation": 0,+        "electrical_type": "input"       },       {         "number": "15",@@ -126,7 +140,8 @@         "x": -600,         "y": 500,         "length": 100,-        "rotation": 0+        "rotation": 0,+        "electrical_type": "output"       },       {         "number": "16",@@ -134,7 +149,8 @@         "x": -600,         "y": 400,         "length": 100,-        "rotation": 0+        "rotation": 0,+        "electrical_type": "input"       },       {         "number": "17",@@ -142,7 +158,8 @@         "x": 600,         "y": -600,         "length": 100,-        "rotation": 180+        "rotation": 180,+        "electrical_type": "input"       },       {         "number": "18",@@ -150,7 +167,8 @@         "x": 0,         "y": 800,         "length": 100,-        "rotation": 270+        "rotation": 270,+        "electrical_type": "power_in"       }     ],     "body": null,@@ -162,12 +180,39 @@         "x2": 500.0,         "y2": -700.0000000000001,         "width": 10.0,-        "filled": true+        "filled": true,+        "fill_style": "background"       }     ],     "designator_prefix": "U",     "footprint": "SOIC-18W_7.5x11.6mm_P1.27mm",-    "parameters": [],+    "parameters": [+      {+        "name": "Value",+        "value": "MCP2515-xSO",+        "visible": true+      },+      {+        "name": "Datasheet",+        "value": "https://ww1.microchip.com/downloads/en/DeviceDoc/MCP2515-Stand-Alone-CAN-Controller-with-SPI-20001801J.pdf",+        "visible": true+      },+      {+        "name": "Description",+        "value": "Stand-Alone CAN Controller with SPI Interface, SOIC-18",+        "visible": true+      },+      {+        "name": "ki_keywords",+        "value": "CAN Controller SPI",+        "visible": true+      },+      {+        "name": "ki_fp_filters",+        "value": "SOIC*7.5x11.6mm*P1.27mm*",+        "visible": true+      }+    ],     "pin_numbers_hidden": false,     "pin_names_hidden": false   },@@ -554,6 +599,58 @@         "y2": 5.63,         "width": 0.05       }+    ],+    "polys": [+      {+        "layer": {+          "role": "silk"+        },+        "points": [+          [+            -4.65,+            -5.64+          ],+          [+            -4.99,+            -6.11+          ],+          [+            -4.31,+            -6.11+          ]+        ],+        "width": 0.12,+        "filled": true+      },+      {+        "layer": {+          "role": "fab"+        },+        "points": [+          [+            -2.75,+            -5.775+          ],+          [+            3.75,+            -5.775+          ],+          [+            3.75,+            5.775+          ],+          [+            -3.75,+            5.775+          ],+          [+            -3.75,+            -4.775+          ]+        ],+        "width": 0.1,+        "filled": false+      }     ]   },   "connect": [
MCP2515.lbr+74−54
@@ -52,26 +52,38 @@ <library> <description>Stand-Alone CAN Controller with SPI Interface, SOIC-18</description> <packages>-<package name="MCP2515-xSO">-  <description>MCP2515-xSO</description>-  <smd name="1" x="-4.6500" y="5.0800" dx="2.0500" dy="0.6000" layer="1"/>-  <smd name="2" x="-4.6500" y="3.8100" dx="2.0500" dy="0.6000" layer="1"/>-  <smd name="3" x="-4.6500" y="2.5400" dx="2.0500" dy="0.6000" layer="1"/>-  <smd name="4" x="-4.6500" y="1.2700" dx="2.0500" dy="0.6000" layer="1"/>-  <smd name="5" x="-4.6500" y="-0.0000" dx="2.0500" dy="0.6000" layer="1"/>-  <smd name="6" x="-4.6500" y="-1.2700" dx="2.0500" dy="0.6000" layer="1"/>-  <smd name="7" x="-4.6500" y="-2.5400" dx="2.0500" dy="0.6000" layer="1"/>-  <smd name="8" x="-4.6500" y="-3.8100" dx="2.0500" dy="0.6000" layer="1"/>-  <smd name="9" x="-4.6500" y="-5.0800" dx="2.0500" dy="0.6000" layer="1"/>-  <smd name="10" x="4.6500" y="-5.0800" dx="2.0500" dy="0.6000" layer="1"/>-  <smd name="11" x="4.6500" y="-3.8100" dx="2.0500" dy="0.6000" layer="1"/>-  <smd name="12" x="4.6500" y="-2.5400" dx="2.0500" dy="0.6000" layer="1"/>-  <smd name="13" x="4.6500" y="-1.2700" dx="2.0500" dy="0.6000" layer="1"/>-  <smd name="14" x="4.6500" y="-0.0000" dx="2.0500" dy="0.6000" layer="1"/>-  <smd name="15" x="4.6500" y="1.2700" dx="2.0500" dy="0.6000" layer="1"/>-  <smd name="16" x="4.6500" y="2.5400" dx="2.0500" dy="0.6000" layer="1"/>-  <smd name="17" x="4.6500" y="3.8100" dx="2.0500" dy="0.6000" layer="1"/>-  <smd name="18" x="4.6500" y="5.0800" dx="2.0500" dy="0.6000" layer="1"/>+<package name="SOIC-18W_7.5x11.6mm_P1.27mm">+  <description>SOIC-18W, 7.5 x 11.6 mm, 1.27 mm pitch. SOIC, 18 Pin</description>+  <smd name="1" x="-4.6500" y="5.0800" dx="2.0500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="2" x="-4.6500" y="3.8100" dx="2.0500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="3" x="-4.6500" y="2.5400" dx="2.0500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="4" x="-4.6500" y="1.2700" dx="2.0500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="5" x="-4.6500" y="-0.0000" dx="2.0500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="6" x="-4.6500" y="-1.2700" dx="2.0500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="7" x="-4.6500" y="-2.5400" dx="2.0500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="8" x="-4.6500" y="-3.8100" dx="2.0500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="9" x="-4.6500" y="-5.0800" dx="2.0500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="10" x="4.6500" y="-5.0800" dx="2.0500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="11" x="4.6500" y="-3.8100" dx="2.0500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="12" x="4.6500" y="-2.5400" dx="2.0500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="13" x="4.6500" y="-1.2700" dx="2.0500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="14" x="4.6500" y="-0.0000" dx="2.0500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="15" x="4.6500" y="1.2700" dx="2.0500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="16" x="4.6500" y="2.5400" dx="2.0500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="17" x="4.6500" y="3.8100" dx="2.0500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="18" x="4.6500" y="5.0800" dx="2.0500" dy="0.6000" layer="1" roundness="50"/>+  <polygon width="0.1200" layer="21">+    <vertex x="-4.6500" y="5.6400"/>+    <vertex x="-4.9900" y="6.1100"/>+    <vertex x="-4.3100" y="6.1100"/>+  </polygon>+  <polygon width="0.1000" layer="51">+    <vertex x="-2.7500" y="5.7750"/>+    <vertex x="3.7500" y="5.7750"/>+    <vertex x="3.7500" y="-5.7750"/>+    <vertex x="-3.7500" y="-5.7750"/>+    <vertex x="-3.7500" y="4.7750"/>+  </polygon>   <wire x1="-3.8600" y1="5.8850" x2="3.8600" y2="5.8850" width="0.1200" layer="21"/>   <wire x1="-3.8600" y1="5.6400" x2="-3.8600" y2="5.8850" width="0.1200" layer="21"/>   <wire x1="-3.8600" y1="-5.8850" x2="-3.8600" y2="-5.6400" width="0.1200" layer="21"/>@@ -84,30 +96,31 @@ </packages> <symbols> <symbol name="MCP2515-xSO">-  <wire x1="-12.7" y1="17.78" x2="12.7" y2="17.78" width="0.254" layer="94"/>-  <wire x1="12.7" y1="17.78" x2="12.7" y2="-17.78" width="0.254" layer="94"/>-  <wire x1="12.7" y1="-17.78" x2="-12.7" y2="-17.78" width="0.254" layer="94"/>-  <wire x1="-12.7" y1="-17.78" x2="-12.7" y2="17.78" width="0.254" layer="94"/>-  <text x="0" y="20.32" size="1.27" layer="95" align="bottom-center">&gt;NAME</text>-  <text x="0" y="-20.32" size="1.27" layer="96" align="top-center">&gt;VALUE</text>-  <pin name="TXCAN" x="15.24" y="12.7" length="short" direction="out" rot="R180"/>-  <pin name="RXCAN" x="15.24" y="15.24" length="short" direction="in" rot="R180"/>-  <pin name="CLKOUT/SOF" x="-15.24" y="-10.16" length="short" direction="out"/>-  <pin name="~{TX0RTS}" x="15.24" y="-7.62" length="short" direction="in" rot="R180"/>-  <pin name="~{TX1RTS}" x="15.24" y="-10.16" length="short" direction="in" rot="R180"/>-  <pin name="~{TX2RTS}" x="15.24" y="-12.7" length="short" direction="in" rot="R180"/>-  <pin name="OSC2" x="-15.24" y="-5.08" length="short" direction="out"/>-  <pin name="OSC1" x="-15.24" y="-7.62" length="short" direction="in"/>-  <pin name="VSS" x="0" y="-20.32" length="short" direction="pwr" rot="R90"/>-  <pin name="~{RX1BF}" x="15.24" y="-5.08" length="short" direction="out" rot="R180"/>-  <pin name="~{RX0BF}" x="15.24" y="-2.54" length="short" direction="out" rot="R180"/>-  <pin name="~{INT}" x="15.24" y="0" length="short" direction="out" rot="R180"/>-  <pin name="SCK" x="-15.24" y="7.62" length="short" direction="in"/>-  <pin name="SI" x="-15.24" y="15.24" length="short" direction="in"/>-  <pin name="SO" x="-15.24" y="12.7" length="short" direction="out"/>-  <pin name="~{CS}" x="-15.24" y="10.16" length="short" direction="in"/>-  <pin name="~{RESET}" x="15.24" y="-15.24" length="short" direction="in" rot="R180"/>-  <pin name="VDD" x="0" y="20.32" length="short" direction="pwr" rot="R270"/>+  <description>Stand-Alone CAN Controller with SPI Interface, SOIC-18</description>+  <wire x1="-17.78" y1="17.78" x2="17.78" y2="17.78" width="0.254" layer="94"/>+  <wire x1="17.78" y1="17.78" x2="17.78" y2="-15.240000000000002" width="0.254" layer="94"/>+  <wire x1="17.78" y1="-15.240000000000002" x2="-17.78" y2="-15.240000000000002" width="0.254" layer="94"/>+  <wire x1="-17.78" y1="-15.240000000000002" x2="-17.78" y2="17.78" width="0.254" layer="94"/>+  <text x="-10.1600" y="19.6850" size="1.27" layer="95" align="center">&gt;NAME</text>+  <text x="19.0500" y="20.3200" size="1.27" layer="96" align="center">&gt;VALUE</text>+  <pin name="TXCAN" x="22.86" y="7.62" length="middle" direction="out" rot="R180"/>+  <pin name="RXCAN" x="-22.86" y="12.7" length="middle" direction="in"/>+  <pin name="CLKOUT/SOF" x="22.86" y="15.24" length="middle" direction="out" rot="R180"/>+  <pin name="!TX0RTS!" x="-22.86" y="0" length="middle" direction="in"/>+  <pin name="!TX1RTS!" x="-22.86" y="-2.540000000000001" length="middle" direction="in"/>+  <pin name="!TX2RTS!" x="-22.86" y="-5.08" length="middle" direction="in"/>+  <pin name="OSC2" x="22.86" y="12.7" length="middle" direction="out" rot="R180"/>+  <pin name="OSC1" x="-22.86" y="15.24" length="middle" direction="in"/>+  <pin name="VSS" x="-22.86" y="-12.700000000000001" length="middle" direction="pwr"/>+  <pin name="!RX1BF!" x="22.86" y="0" length="middle" direction="out" rot="R180"/>+  <pin name="!RX0BF!" x="22.86" y="2.540000000000001" length="middle" direction="out" rot="R180"/>+  <pin name="!INT!" x="22.86" y="5.08" length="middle" direction="out" rot="R180"/>+  <pin name="SCK" x="-22.86" y="10.16" length="middle" direction="in"/>+  <pin name="SI" x="-22.86" y="7.62" length="middle" direction="in"/>+  <pin name="SO" x="22.86" y="10.16" length="middle" direction="out" rot="R180"/>+  <pin name="!CS!" x="-22.86" y="5.08" length="middle" direction="in"/>+  <pin name="!RESET!" x="-22.86" y="2.540000000000001" length="middle" direction="in"/>+  <pin name="VDD" x="-22.86" y="-10.159999999999998" length="middle" direction="pwr"/> </symbol> </symbols> <devicesets>@@ -117,28 +130,35 @@     <gate name="G$1" symbol="MCP2515-xSO" x="0" y="0"/>   </gates>   <devices>-    <device name="" package="MCP2515-xSO">+    <device name="" package="SOIC-18W_7.5x11.6mm_P1.27mm">       <connects>         <connect gate="G$1" pin="TXCAN" pad="1"/>         <connect gate="G$1" pin="RXCAN" pad="2"/>         <connect gate="G$1" pin="CLKOUT/SOF" pad="3"/>-        <connect gate="G$1" pin="~{TX0RTS}" pad="4"/>-        <connect gate="G$1" pin="~{TX1RTS}" pad="5"/>-        <connect gate="G$1" pin="~{TX2RTS}" pad="6"/>+        <connect gate="G$1" pin="!TX0RTS!" pad="4"/>+        <connect gate="G$1" pin="!TX1RTS!" pad="5"/>+        <connect gate="G$1" pin="!TX2RTS!" pad="6"/>         <connect gate="G$1" pin="OSC2" pad="7"/>         <connect gate="G$1" pin="OSC1" pad="8"/>         <connect gate="G$1" pin="VSS" pad="9"/>-        <connect gate="G$1" pin="~{RX1BF}" pad="10"/>-        <connect gate="G$1" pin="~{RX0BF}" pad="11"/>-        <connect gate="G$1" pin="~{INT}" pad="12"/>+        <connect gate="G$1" pin="!RX1BF!" pad="10"/>+        <connect gate="G$1" pin="!RX0BF!" pad="11"/>+        <connect gate="G$1" pin="!INT!" pad="12"/>         <connect gate="G$1" pin="SCK" pad="13"/>         <connect gate="G$1" pin="SI" pad="14"/>         <connect gate="G$1" pin="SO" pad="15"/>-        <connect gate="G$1" pin="~{CS}" pad="16"/>-        <connect gate="G$1" pin="~{RESET}" pad="17"/>+        <connect gate="G$1" pin="!CS!" pad="16"/>+        <connect gate="G$1" pin="!RESET!" pad="17"/>         <connect gate="G$1" pin="VDD" pad="18"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="MCP2515" constant="no"/>+          <attribute name="MANUFACTURER" value="Microchip Technology" constant="no"/>+          <attribute name="DATASHEET" value="https://ww1.microchip.com/downloads/en/DeviceDoc/MCP2515-Stand-Alone-CAN-Controller-with-SPI-20001801J.pdf" constant="no"/>+          <attribute name="ADOM_WIKI" value="https://wiki.adom.inc/adom/mcp2515" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
page.json+11−12
@@ -54,19 +54,19 @@       },       {         "number": "4",-        "name": "TX0RTS",+        "name": "~{TX0RTS}",         "type": "input",         "description": "Transmit buffer TXB0 Request-to-Send input, or general-purpose digital input. Internal 100 kΩ pull-up to VDD."       },       {         "number": "5",-        "name": "TX1RTS",+        "name": "~{TX1RTS}",         "type": "input",         "description": "Transmit buffer TXB1 Request-to-Send input, or general-purpose digital input. Internal 100 kΩ pull-up to VDD."       },       {         "number": "6",-        "name": "TX2RTS",+        "name": "~{TX2RTS}",         "type": "input",         "description": "Transmit buffer TXB2 Request-to-Send input, or general-purpose digital input. Internal 100 kΩ pull-up to VDD."       },@@ -90,19 +90,19 @@       },       {         "number": "10",-        "name": "RX1BF",+        "name": "~{RX1BF}",         "type": "output",         "description": "Receive buffer RXB1 interrupt pin, or general-purpose digital output. Configurable via BFPCTRL register."       },       {         "number": "11",-        "name": "RX0BF",+        "name": "~{RX0BF}",         "type": "output",         "description": "Receive buffer RXB0 interrupt pin, or general-purpose digital output. Configurable via BFPCTRL register."       },       {         "number": "12",-        "name": "INT",+        "name": "~{INT}",         "type": "output",         "description": "Active-low interrupt output pin. Asserted when any of the enabled interrupt sources (via CANINTE register) becomes active."       },@@ -126,13 +126,13 @@       },       {         "number": "16",-        "name": "CS",+        "name": "~{CS}",         "type": "input",         "description": "Active-low SPI chip-select input from the host MCU. Enables the SPI slave interface."       },       {         "number": "17",-        "name": "RESET",+        "name": "~{RESET}",         "type": "input",         "description": "Active-low device reset input. Puts the device into Configuration mode and resets all registers."       },@@ -161,7 +161,7 @@       "review_fix": {         "at": "2026-11-10",         "by": "part-reviewer (Ray review)",-        "what": "Datasheet choice (symbol and page cited different documents): both now cite Microchip DS20001801J as the page cites; the symbol cited the superseded 21801E."+        "what": "pin names set to the maker spelling from Microchip DS20001801J Package Types, 18-lead SOIC (overbars): 8 on the page, 0 on the symbol (numbers unchanged)."       }     },     "viewers": {@@ -271,6 +271,5 @@     }   ],   "description": "Microchip stand-alone CAN 2.0B controller with SPI, SOIC-18. 1 Mb/s, 3 TX + 2 RX buffers, 6 filters. Datasheet-verified.",-  "org": "adom",-  "visibility": "public"-}\ No newline at end of file+  "org": "adom"+}