From 15c0503c15675564e511131c18754ad1b4b724e2 Mon Sep 17 00:00:00 2001 From: geegor Date: Tue, 24 Feb 2026 01:04:18 -0600 Subject: [PATCH] Added connectors and netclasses to STM32 --- scope_addin_v1.kicad_pro | 15 + stm32.kicad_sch | 621 ++++++++++++++++++++++++++++++++++++--- 2 files changed, 589 insertions(+), 47 deletions(-) diff --git a/scope_addin_v1.kicad_pro b/scope_addin_v1.kicad_pro index dc417fe..0efe4d9 100644 --- a/scope_addin_v1.kicad_pro +++ b/scope_addin_v1.kicad_pro @@ -602,6 +602,21 @@ "/Power/SwitchedRailVid/SW_IN": [ "Power" ], + "/STM32/CAN1_RX": [ + "CAN" + ], + "/STM32/CAN1_TX": [ + "CAN" + ], + "/STM32/CAN2_RX": [ + "CAN" + ], + "/STM32/CAN2_TX": [ + "CAN" + ], + "/STM32/CAN_~{EN}": [ + "CAN" + ], "/STM32/ETH.RX.CLK": [ "MII" ], diff --git a/stm32.kicad_sch b/stm32.kicad_sch index b803721..c8e8e07 100644 --- a/stm32.kicad_sch +++ b/stm32.kicad_sch @@ -503,6 +503,206 @@ ) (embedded_fonts no) ) + (symbol "Connector_Generic:Conn_01x04" + (pin_names + (offset 1.016) + (hide yes) + ) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "J" + (at 0 5.08 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "Conn_01x04" + (at 0 -7.62 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_keywords" "connector" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_fp_filters" "Connector*:*_1x??_*" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "Conn_01x04_1_1" + (rectangle + (start -1.27 3.81) + (end 1.27 -6.35) + (stroke + (width 0.254) + (type default) + ) + (fill + (type background) + ) + ) + (rectangle + (start -1.27 2.667) + (end 0 2.413) + (stroke + (width 0.1524) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start -1.27 0.127) + (end 0 -0.127) + (stroke + (width 0.1524) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start -1.27 -2.413) + (end 0 -2.667) + (stroke + (width 0.1524) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start -1.27 -4.953) + (end 0 -5.207) + (stroke + (width 0.1524) + (type default) + ) + (fill + (type none) + ) + ) + (pin passive line + (at -5.08 2.54 0) + (length 3.81) + (name "Pin_1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at -5.08 0 0) + (length 3.81) + (name "Pin_2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at -5.08 -2.54 0) + (length 3.81) + (name "Pin_3" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "3" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at -5.08 -5.08 0) + (length 3.81) + (name "Pin_4" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "4" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) (symbol "Connector_Generic:Conn_01x10" (pin_names (offset 1.016) @@ -5154,7 +5354,7 @@ (uuid "3bd0bceb-15b5-4db0-bdf3-9ff6129f17aa") ) (junction - (at 154.94 190.5) + (at 137.16 190.5) (diameter 0) (color 0 0 0 0) (uuid "40fa6a8c-02a9-4959-8989-f62f7780bfaf") @@ -5277,6 +5477,10 @@ (at 36.83 49.53) (uuid "4611614f-a011-464e-8fc6-167c7e1daf25") ) + (no_connect + (at 146.05 185.42) + (uuid "9ef067d8-7ad8-4fca-94de-0e509f8a94f3") + ) (wire (pts (xy 250.19 120.65) (xy 254 120.65) @@ -5329,7 +5533,7 @@ ) (wire (pts - (xy 154.94 190.5) (xy 156.21 190.5) + (xy 137.16 190.5) (xy 138.43 190.5) ) (stroke (width 0) @@ -5459,7 +5663,7 @@ ) (wire (pts - (xy 153.67 190.5) (xy 154.94 190.5) + (xy 135.89 190.5) (xy 137.16 190.5) ) (stroke (width 0) @@ -6007,6 +6211,16 @@ ) (uuid "fcdc6b3f-6219-4983-919e-9dc775003965") ) + (label "CAN2_RX" + (at 118.11 82.55 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "05ccbe59-81d3-4ed5-bc3b-1c0f205946d2") + ) (label "FP_SW2" (at 252.73 53.34 180) (effects @@ -6047,6 +6261,16 @@ ) (uuid "10bc9acb-2b33-4c0a-bd79-0f34df8ea864") ) + (label "D-" + (at 167.64 181.61 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "1361b0fb-2b7e-46ed-aa02-01a840f2a3a5") + ) (label "FP_SW1" (at 217.17 74.93 180) (effects @@ -6058,7 +6282,7 @@ (uuid "13c720ed-41d7-4f1d-8482-489e22f5d7c5") ) (label "ETH.RXD1" - (at 116.84 82.55 0) + (at 118.11 62.23 0) (effects (font (size 1.27 1.27) @@ -6108,7 +6332,7 @@ (uuid "37412260-c886-4eb5-913c-8b866ff52f4d") ) (label "D-" - (at 163.83 182.88 0) + (at 146.05 182.88 0) (effects (font (size 1.27 1.27) @@ -6117,6 +6341,16 @@ ) (uuid "38d4eaf6-5bc7-4aa8-95e8-d7a140fcaae2") ) + (label "CAN1_TX" + (at 118.11 90.17 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "3b6f6fff-2a7e-44e0-9929-182e2bfab1c4") + ) (label "FP_SW2" (at 217.17 77.47 180) (effects @@ -6178,7 +6412,7 @@ (uuid "4ae5afa2-15fd-48e1-83d0-4bc4dad3192b") ) (label "ETH.RX.CLK" - (at 116.84 90.17 0) + (at 118.11 69.85 0) (effects (font (size 1.27 1.27) @@ -6188,7 +6422,7 @@ (uuid "4c806219-8864-468d-a5f6-c0aed4eae612") ) (label "ETH.RX.DV" - (at 116.84 92.71 0) + (at 118.11 72.39 0) (effects (font (size 1.27 1.27) @@ -6228,7 +6462,7 @@ (uuid "503898b6-08c8-4e76-a5ba-398ffefd4035") ) (label "ETH.TXD3" - (at 129.54 87.63 0) + (at 130.81 67.31 0) (effects (font (size 1.27 1.27) @@ -6258,7 +6492,7 @@ (uuid "58125058-5046-4f38-be73-e46c54c50732") ) (label "D+" - (at 163.83 180.34 0) + (at 146.05 180.34 0) (effects (font (size 1.27 1.27) @@ -6308,7 +6542,7 @@ (uuid "64ab9493-15a5-493c-a9af-e713bac333cc") ) (label "ETH.RXD2" - (at 116.84 85.09 0) + (at 118.11 64.77 0) (effects (font (size 1.27 1.27) @@ -6327,6 +6561,16 @@ ) (uuid "69e909d4-9361-456f-970f-80bb81139f50") ) + (label "D+" + (at 167.64 184.15 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "6ca2a8bd-640e-4884-a415-9bea90c52c0c") + ) (label "ENCODER_B" (at 252.73 40.64 180) (effects @@ -6378,7 +6622,7 @@ (uuid "7e729084-132d-4c35-87c7-901da47e9078") ) (label "ETH.TXD0" - (at 129.54 80.01 0) + (at 130.81 59.69 0) (effects (font (size 1.27 1.27) @@ -6388,7 +6632,7 @@ (uuid "806487cb-d806-4563-a289-c05398069b05") ) (label "ETH.TXD2" - (at 129.54 85.09 0) + (at 130.81 64.77 0) (effects (font (size 1.27 1.27) @@ -6408,7 +6652,7 @@ (uuid "85129725-1243-4811-add7-880885090986") ) (label "ETH.TXD1" - (at 129.54 82.55 0) + (at 130.81 62.23 0) (effects (font (size 1.27 1.27) @@ -6417,6 +6661,26 @@ ) (uuid "856c186d-abe9-4f38-8035-767e7b5da3ff") ) + (label "CAN2_TX" + (at 118.11 85.09 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "86a6ff75-6593-4d04-af1f-4050b38a59fe") + ) + (label "CAN_~{EN}" + (at 130.81 82.55 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "89f5c3e5-4b1d-4463-9830-f206563c6565") + ) (label "FP_SW3" (at 252.73 58.42 180) (effects @@ -6448,7 +6712,7 @@ (uuid "9589a697-9994-4725-b8bf-e4765167704f") ) (label "ETH.RXD3" - (at 116.84 87.63 0) + (at 118.11 67.31 0) (effects (font (size 1.27 1.27) @@ -6507,6 +6771,16 @@ ) (uuid "a6e9ce1f-5b28-4929-8875-e7590df10e84") ) + (label "CAN1_RX" + (at 118.11 87.63 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "a716a883-c353-468a-a788-6ad46c0fffce") + ) (label "CAN2_TX" (at 247.65 118.11 180) (effects @@ -6558,7 +6832,7 @@ (uuid "b755a16b-30c2-459e-9873-819aad67c30d") ) (label "ETH.RXD0" - (at 116.84 80.01 0) + (at 118.11 59.69 0) (effects (font (size 1.27 1.27) @@ -6598,7 +6872,7 @@ (uuid "c33c084c-c368-4e17-bdd9-bd68f4fec5c0") ) (label "ETH.TX.EN" - (at 129.54 92.71 0) + (at 130.81 72.39 0) (effects (font (size 1.27 1.27) @@ -6698,7 +6972,7 @@ (uuid "ec8c9e15-c215-4695-914e-aa42970d1cf3") ) (label "ETH.TX.CLK" - (at 129.54 90.17 0) + (at 130.81 69.85 0) (effects (font (size 1.27 1.27) @@ -6884,7 +7158,7 @@ (rule_area (polyline (pts - (xy 115.57 77.47) (xy 142.24 77.47) (xy 142.24 93.98) (xy 115.57 93.98) + (xy 116.84 57.15) (xy 144.78 57.15) (xy 144.78 73.66) (xy 116.84 73.66) ) (stroke (width 0) @@ -6896,6 +7170,21 @@ (uuid 58463bbc-3c20-4550-9b91-366291209119) ) ) + (rule_area + (polyline + (pts + (xy 116.84 80.01) (xy 144.78 80.01) (xy 144.78 91.44) (xy 116.84 91.44) + ) + (stroke + (width 0) + (type dash) + ) + (fill + (type none) + ) + (uuid a5d7680d-bdbd-423f-a99e-1cd5854bc039) + ) + ) (rule_area (polyline (pts @@ -6914,7 +7203,7 @@ (netclass_flag "" (length 2.54) (shape round) - (at 163.83 175.26 0) + (at 146.05 175.26 0) (fields_autoplaced yes) (effects (font @@ -6924,7 +7213,7 @@ ) (uuid "2596e1d5-afe2-42a1-b609-277434c5bbb4") (property "Netclass" "Power" - (at 164.5285 172.72 0) + (at 146.7485 172.72 0) (effects (font (size 1.27 1.27) @@ -6933,7 +7222,7 @@ ) ) (property "Component Class" "" - (at 58.42 73.66 0) + (at 40.64 73.66 0) (effects (font (size 1.27 1.27) @@ -6976,7 +7265,38 @@ (netclass_flag "" (length 2.54) (shape round) - (at 115.57 77.47 0) + (at 116.84 80.01 0) + (fields_autoplaced yes) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "6ddef87b-8ffa-4801-8eba-cb7bddabfb1f") + (property "Netclass" "CAN" + (at 117.5385 77.47 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Component Class" "" + (at -49.53 39.37 0) + (effects + (font + (size 1.27 1.27) + (italic yes) + ) + ) + ) + ) + (netclass_flag "" + (length 2.54) + (shape round) + (at 116.84 57.15 0) (fields_autoplaced yes) (effects (font @@ -6986,7 +7306,7 @@ ) (uuid "a83ecf47-ae83-4de2-96d6-1ded2f88a42f") (property "Netclass" "MII" - (at 116.2685 74.93 0) + (at 117.5385 54.61 0) (effects (font (size 1.27 1.27) @@ -6995,7 +7315,7 @@ ) ) (property "Component Class" "" - (at -50.8 36.83 0) + (at -49.53 16.51 0) (effects (font (size 1.27 1.27) @@ -7067,33 +7387,34 @@ ) ) (symbol - (lib_id "Connector:USB_B_Micro") - (at 156.21 180.34 0) + (lib_id "Connector_Generic:Conn_01x04") + (at 162.56 181.61 0) + (mirror y) (unit 1) (exclude_from_sim no) (in_bom yes) (on_board yes) (dnp no) (fields_autoplaced yes) - (uuid "02dec45e-f848-4c95-a554-6b7af77b68ba") - (property "Reference" "J3" - (at 156.21 167.64 0) + (uuid "00247d4a-4525-45fa-9316-cdc294a9c9d8") + (property "Reference" "J30" + (at 162.56 172.72 0) (effects (font (size 1.27 1.27) ) ) ) - (property "Value" "USB_B_Micro" - (at 156.21 170.18 0) + (property "Value" "Conn_01x04" + (at 162.56 175.26 0) (effects (font (size 1.27 1.27) ) ) ) - (property "Footprint" "Connector_USB:USB_Micro-B_Amphenol_10118194-0001LF_Horizontal" - (at 160.02 181.61 0) + (property "Footprint" "" + (at 162.56 181.61 0) (effects (font (size 1.27 1.27) @@ -7102,7 +7423,81 @@ ) ) (property "Datasheet" "~" - (at 160.02 181.61 0) + (at 162.56 181.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)" + (at 162.56 181.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "3" + (uuid "fef52cca-06fc-415b-998a-f60811fccf66") + ) + (pin "2" + (uuid "f2e3d63e-d9cd-4535-9748-772a9c49e3d1") + ) + (pin "1" + (uuid "1d34d95b-0763-4ed0-901e-750064b93ffd") + ) + (pin "4" + (uuid "13eabef1-0070-4663-ab8c-031c479050c4") + ) + (instances + (project "" + (path "/abd4502a-d375-4a88-b6fc-c78417deada8/dfbcf0b6-4d70-49cf-9bb8-d33655cd42c8" + (reference "J30") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "Connector:USB_B_Micro") + (at 138.43 180.34 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "02dec45e-f848-4c95-a554-6b7af77b68ba") + (property "Reference" "J3" + (at 138.43 167.64 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "USB_B_Micro" + (at 138.43 170.18 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "Connector_USB:USB_Micro-B_Amphenol_10118194-0001LF_Horizontal" + (at 142.24 181.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 142.24 181.61 0) (effects (font (size 1.27 1.27) @@ -7111,7 +7506,7 @@ ) ) (property "Description" "USB Micro Type B connector" - (at 156.21 180.34 0) + (at 138.43 180.34 0) (effects (font (size 1.27 1.27) @@ -7826,6 +8221,71 @@ ) ) ) + (symbol + (lib_id "power:VCC") + (at 167.64 179.07 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "2a2e9815-73a4-4d0d-b50b-08f8ec0b8807") + (property "Reference" "#PWR0190" + (at 163.83 179.07 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "VBUS" + (at 172.72 179.07 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 167.64 179.07 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 167.64 179.07 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Power symbol creates a global label with name \"VCC\"" + (at 167.64 179.07 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "76c5b89e-b711-48c4-9a0c-2d764704dc44") + ) + (instances + (project "scope_addin_v1" + (path "/abd4502a-d375-4a88-b6fc-c78417deada8/dfbcf0b6-4d70-49cf-9bb8-d33655cd42c8" + (reference "#PWR0190") + (unit 1) + ) + ) + ) + ) (symbol (lib_id "power:VCC") (at 223.52 43.18 0) @@ -9127,6 +9587,73 @@ ) ) ) + (symbol + (lib_id "power:GND") + (at 167.64 186.69 90) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "74e47f63-32d1-49c1-8fb1-2198dbed0a4c") + (property "Reference" "#PWR0191" + (at 173.99 186.69 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GND" + (at 171.45 186.6899 90) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "" + (at 167.64 186.69 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 167.64 186.69 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Power symbol creates a global label with name \"GND\" , ground" + (at 167.64 186.69 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "e5ad5a53-5c6d-414e-a3f8-afddef9b40c7") + ) + (instances + (project "scope_addin_v1" + (path "/abd4502a-d375-4a88-b6fc-c78417deada8/dfbcf0b6-4d70-49cf-9bb8-d33655cd42c8" + (reference "#PWR0191") + (unit 1) + ) + ) + ) + ) (symbol (lib_id "power:GND") (at 134.62 154.94 270) @@ -10779,7 +11306,7 @@ ) (symbol (lib_id "power:VCC") - (at 163.83 175.26 270) + (at 146.05 175.26 270) (unit 1) (exclude_from_sim no) (in_bom yes) @@ -10787,7 +11314,7 @@ (dnp no) (uuid "e48676e8-e565-4be8-be0f-7afa854dfeb2") (property "Reference" "#PWR010" - (at 160.02 175.26 0) + (at 142.24 175.26 0) (effects (font (size 1.27 1.27) @@ -10796,7 +11323,7 @@ ) ) (property "Value" "VBUS" - (at 168.91 175.26 90) + (at 151.13 175.26 90) (effects (font (size 1.27 1.27) @@ -10804,7 +11331,7 @@ ) ) (property "Footprint" "" - (at 163.83 175.26 0) + (at 146.05 175.26 0) (effects (font (size 1.27 1.27) @@ -10813,7 +11340,7 @@ ) ) (property "Datasheet" "" - (at 163.83 175.26 0) + (at 146.05 175.26 0) (effects (font (size 1.27 1.27) @@ -10822,7 +11349,7 @@ ) ) (property "Description" "Power symbol creates a global label with name \"VCC\"" - (at 163.83 175.26 0) + (at 146.05 175.26 0) (effects (font (size 1.27 1.27) @@ -10844,7 +11371,7 @@ ) (symbol (lib_id "power:GND") - (at 154.94 190.5 0) + (at 137.16 190.5 0) (unit 1) (exclude_from_sim no) (in_bom yes) @@ -10853,7 +11380,7 @@ (fields_autoplaced yes) (uuid "e57e6f45-c088-4e66-ba37-779afd388690") (property "Reference" "#PWR012" - (at 154.94 196.85 0) + (at 137.16 196.85 0) (effects (font (size 1.27 1.27) @@ -10862,7 +11389,7 @@ ) ) (property "Value" "GND" - (at 154.94 195.58 0) + (at 137.16 195.58 0) (effects (font (size 1.27 1.27) @@ -10870,7 +11397,7 @@ ) ) (property "Footprint" "" - (at 154.94 190.5 0) + (at 137.16 190.5 0) (effects (font (size 1.27 1.27) @@ -10879,7 +11406,7 @@ ) ) (property "Datasheet" "" - (at 154.94 190.5 0) + (at 137.16 190.5 0) (effects (font (size 1.27 1.27) @@ -10888,7 +11415,7 @@ ) ) (property "Description" "Power symbol creates a global label with name \"GND\" , ground" - (at 154.94 190.5 0) + (at 137.16 190.5 0) (effects (font (size 1.27 1.27)