From 24d9a38a95a7cc51528efebcb5d81dd8ea67bef8 Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 23 Jul 2025 11:57:32 +0200 Subject: pcb: Move version detection to processor schematic --- pcb/iot-contact.kicad_sch | 368 ---------------------------------------------- pcb/processor.kicad_sch | 361 ++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 339 insertions(+), 390 deletions(-) (limited to 'pcb') diff --git a/pcb/iot-contact.kicad_sch b/pcb/iot-contact.kicad_sch index 49c9898..b7045af 100644 --- a/pcb/iot-contact.kicad_sch +++ b/pcb/iot-contact.kicad_sch @@ -4275,16 +4275,6 @@ ) (uuid "56f4af8c-1572-4497-98f2-10a81ab55e1d") ) - (text "PCB versioning" - (exclude_from_sim no) - (at 125.222 138.684 0) - (effects - (font - (size 1.27 1.27) - ) - ) - (uuid "8ffab84b-2909-4547-976c-9674893a87fe") - ) (text "TODO: Reduce ESD / EMC by resistors?" (exclude_from_sim no) (at 137.414 15.494 0) @@ -4343,12 +4333,6 @@ (color 0 0 0 0) (uuid "ac37e659-e3d3-43d6-aae2-748307ace1a3") ) - (junction - (at 124.46 120.65) - (diameter 0) - (color 0 0 0 0) - (uuid "d7a5ded7-cab0-44bc-bcb3-51d295ef17c4") - ) (junction (at 252.73 83.82) (diameter 0) @@ -4429,16 +4413,6 @@ ) (uuid "10009873-1770-4e17-b2b9-0b5c57b4e235") ) - (wire - (pts - (xy 124.46 119.38) (xy 124.46 120.65) - ) - (stroke - (width 0) - (type default) - ) - (uuid "1020a578-763e-4bf0-98ef-3e843e6e7cd5") - ) (wire (pts (xy 257.81 95.25) (xy 252.73 95.25) @@ -4769,26 +4743,6 @@ ) (uuid "665e4dc1-d30c-4e04-a33b-1ad676568a12") ) - (wire - (pts - (xy 124.46 120.65) (xy 124.46 121.92) - ) - (stroke - (width 0) - (type default) - ) - (uuid "668ac295-8e98-4bec-8a6a-9e0f9977aa67") - ) - (wire - (pts - (xy 135.89 109.22) (xy 142.24 109.22) - ) - (stroke - (width 0) - (type default) - ) - (uuid "69091af5-6345-43b2-a134-4fdcac08c44e") - ) (wire (pts (xy 120.65 151.13) (xy 120.65 175.26) @@ -4799,26 +4753,6 @@ ) (uuid "6cd45cde-be23-4265-b0e4-582e739670cd") ) - (wire - (pts - (xy 124.46 120.65) (xy 135.89 120.65) - ) - (stroke - (width 0) - (type default) - ) - (uuid "6ecbd238-9a11-40af-a479-f3c1c33f4443") - ) - (wire - (pts - (xy 124.46 129.54) (xy 124.46 130.81) - ) - (stroke - (width 0) - (type default) - ) - (uuid "6f33808b-14aa-42f0-bfaf-5d5d041eda6f") - ) (wire (pts (xy 63.5 92.71) (xy 87.63 92.71) @@ -4929,16 +4863,6 @@ ) (uuid "829bfcfa-2805-442d-ac4c-72092c7ec070") ) - (wire - (pts - (xy 124.46 110.49) (xy 124.46 111.76) - ) - (stroke - (width 0) - (type default) - ) - (uuid "863152a8-b32a-4cee-ac15-5a3388895411") - ) (wire (pts (xy 182.88 44.45) (xy 182.88 43.18) @@ -5249,16 +5173,6 @@ ) (uuid "d471a012-4831-44a6-a1f9-de3b351e8b20") ) - (wire - (pts - (xy 135.89 120.65) (xy 135.89 109.22) - ) - (stroke - (width 0) - (type default) - ) - (uuid "d55a08a6-0573-45b5-abf3-b004ce309bd5") - ) (wire (pts (xy 73.66 147.32) (xy 85.09 147.32) @@ -5682,76 +5596,6 @@ ) ) ) - (symbol - (lib_id "Device:R") - (at 124.46 125.73 0) - (unit 1) - (exclude_from_sim no) - (in_bom yes) - (on_board yes) - (dnp no) - (fields_autoplaced yes) - (uuid "25ff6048-df12-4801-a5fa-10858ec580ea") - (property "Reference" "R2" - (at 127 124.4599 0) - (effects - (font - (size 1.27 1.27) - ) - (justify left) - ) - ) - (property "Value" "180R" - (at 127 126.9999 0) - (effects - (font - (size 1.27 1.27) - ) - (justify left) - ) - ) - (property "Footprint" "" - (at 122.682 125.73 90) - (effects - (font - (size 1.27 1.27) - ) - (hide yes) - ) - ) - (property "Datasheet" "~" - (at 124.46 125.73 0) - (effects - (font - (size 1.27 1.27) - ) - (hide yes) - ) - ) - (property "Description" "Resistor" - (at 124.46 125.73 0) - (effects - (font - (size 1.27 1.27) - ) - (hide yes) - ) - ) - (pin "1" - (uuid "4594fa96-7bf7-4a55-b5cf-06cd56d16577") - ) - (pin "2" - (uuid "b8ec48f2-d366-4783-a0c0-ce6e9d04ad8c") - ) - (instances - (project "" - (path "/5defd195-0277-4d04-9f5f-69e505c9845c" - (reference "R2") - (unit 1) - ) - ) - ) - ) (symbol (lib_id "Connector:Conn_01x04_Socket") (at 262.89 97.79 0) @@ -6052,76 +5896,6 @@ ) ) ) - (symbol - (lib_id "Device:R") - (at 124.46 115.57 0) - (unit 1) - (exclude_from_sim no) - (in_bom yes) - (on_board yes) - (dnp no) - (fields_autoplaced yes) - (uuid "44194e8c-d4ca-4f3b-8f0c-38d2daec1648") - (property "Reference" "R1" - (at 127 114.2999 0) - (effects - (font - (size 1.27 1.27) - ) - (justify left) - ) - ) - (property "Value" "75k" - (at 127 116.8399 0) - (effects - (font - (size 1.27 1.27) - ) - (justify left) - ) - ) - (property "Footprint" "" - (at 122.682 115.57 90) - (effects - (font - (size 1.27 1.27) - ) - (hide yes) - ) - ) - (property "Datasheet" "~" - (at 124.46 115.57 0) - (effects - (font - (size 1.27 1.27) - ) - (hide yes) - ) - ) - (property "Description" "Resistor" - (at 124.46 115.57 0) - (effects - (font - (size 1.27 1.27) - ) - (hide yes) - ) - ) - (pin "2" - (uuid "4c288ead-2ab6-4e25-a3f0-01cafd4880ac") - ) - (pin "1" - (uuid "28fc83dd-c36e-444e-9a1b-af275a24160b") - ) - (instances - (project "" - (path "/5defd195-0277-4d04-9f5f-69e505c9845c" - (reference "R1") - (unit 1) - ) - ) - ) - ) (symbol (lib_id "Device:LED") (at 217.17 132.08 90) @@ -7228,72 +7002,6 @@ ) ) ) - (symbol - (lib_id "power:+3V3") - (at 124.46 110.49 0) - (unit 1) - (exclude_from_sim no) - (in_bom yes) - (on_board yes) - (dnp no) - (fields_autoplaced yes) - (uuid "b8d6d94c-727e-456b-b826-af3fd7c72013") - (property "Reference" "#PWR09" - (at 124.46 114.3 0) - (effects - (font - (size 1.27 1.27) - ) - (hide yes) - ) - ) - (property "Value" "+3V3" - (at 124.46 105.41 0) - (effects - (font - (size 1.27 1.27) - ) - ) - ) - (property "Footprint" "" - (at 124.46 110.49 0) - (effects - (font - (size 1.27 1.27) - ) - (hide yes) - ) - ) - (property "Datasheet" "" - (at 124.46 110.49 0) - (effects - (font - (size 1.27 1.27) - ) - (hide yes) - ) - ) - (property "Description" "Power symbol creates a global label with name \"+3V3\"" - (at 124.46 110.49 0) - (effects - (font - (size 1.27 1.27) - ) - (hide yes) - ) - ) - (pin "1" - (uuid "4c5e5d17-e7b8-4575-85c6-050868f487a2") - ) - (instances - (project "" - (path "/5defd195-0277-4d04-9f5f-69e505c9845c" - (reference "#PWR09") - (unit 1) - ) - ) - ) - ) (symbol (lib_id "power:GND") (at 204.47 154.94 0) @@ -7633,72 +7341,6 @@ ) ) ) - (symbol - (lib_id "power:GND") - (at 124.46 130.81 0) - (unit 1) - (exclude_from_sim no) - (in_bom yes) - (on_board yes) - (dnp no) - (fields_autoplaced yes) - (uuid "dd045ace-112c-424a-ad3b-982fb4c768f7") - (property "Reference" "#PWR010" - (at 124.46 137.16 0) - (effects - (font - (size 1.27 1.27) - ) - (hide yes) - ) - ) - (property "Value" "GND" - (at 124.46 135.89 0) - (effects - (font - (size 1.27 1.27) - ) - ) - ) - (property "Footprint" "" - (at 124.46 130.81 0) - (effects - (font - (size 1.27 1.27) - ) - (hide yes) - ) - ) - (property "Datasheet" "" - (at 124.46 130.81 0) - (effects - (font - (size 1.27 1.27) - ) - (hide yes) - ) - ) - (property "Description" "Power symbol creates a global label with name \"GND\" , ground" - (at 124.46 130.81 0) - (effects - (font - (size 1.27 1.27) - ) - (hide yes) - ) - ) - (pin "1" - (uuid "1a4096b2-db22-464d-b040-d8134123dfb5") - ) - (instances - (project "" - (path "/5defd195-0277-4d04-9f5f-69e505c9845c" - (reference "#PWR010") - (unit 1) - ) - ) - ) - ) (symbol (lib_id "Device:C") (at 142.24 184.15 90) @@ -8661,16 +8303,6 @@ (justify right) ) ) - (pin "VVERSION" input - (at 142.24 109.22 180) - (uuid "cc6082cf-6e1b-4529-a830-c6a9254ad3b1") - (effects - (font - (size 1.27 1.27) - ) - (justify left) - ) - ) (pin "~{BTN_WIPE}" input (at 173.99 114.3 270) (uuid "a3c81ecf-25b7-4d55-bb41-ea32fa2b6812") diff --git a/pcb/processor.kicad_sch b/pcb/processor.kicad_sch index b705643..a862c4c 100644 --- a/pcb/processor.kicad_sch +++ b/pcb/processor.kicad_sch @@ -3142,6 +3142,16 @@ (embedded_fonts no) ) ) + (text "PCB versioning" + (exclude_from_sim no) + (at 183.642 76.454 0) + (effects + (font + (size 1.27 1.27) + ) + ) + (uuid "10060943-58ed-4dfc-9fc1-a9fa0d843c52") + ) (text "Based on ST Microelectronics AN4488" (exclude_from_sim no) (at 241.808 98.298 0) @@ -3154,7 +3164,7 @@ ) (text "TODO: MAC EEPROM" (exclude_from_sim no) - (at 207.772 54.61 0) + (at 225.044 63.246 0) (effects (font (size 1.27 1.27) @@ -3216,6 +3226,12 @@ (color 0 0 0 0) (uuid "966c75b3-b696-4276-9e1c-6478e86f90fc") ) + (junction + (at 182.88 58.42) + (diameter 0) + (color 0 0 0 0) + (uuid "a9cdaea3-05e0-482d-9803-f7cd4754927b") + ) (junction (at 127 36.83) (diameter 0) @@ -3608,6 +3624,16 @@ ) (uuid "26d31721-3db4-4cb2-827d-0a41b2aa4db9") ) + (wire + (pts + (xy 182.88 57.15) (xy 182.88 58.42) + ) + (stroke + (width 0) + (type default) + ) + (uuid "283eca47-00a6-4903-9738-ad318bf073e4") + ) (wire (pts (xy 154.94 99.06) (xy 156.21 99.06) @@ -3618,6 +3644,26 @@ ) (uuid "2bd36d41-d68c-4f66-9c12-2198b03f4e01") ) + (wire + (pts + (xy 182.88 67.31) (xy 182.88 68.58) + ) + (stroke + (width 0) + (type default) + ) + (uuid "2e176f99-6394-4ec6-965c-0ccf63bbcc6d") + ) + (wire + (pts + (xy 154.94 58.42) (xy 182.88 58.42) + ) + (stroke + (width 0) + (type default) + ) + (uuid "2e843d0a-986a-420d-884c-127f599adc91") + ) (wire (pts (xy 87.63 68.58) (xy 76.2 68.58) @@ -3828,6 +3874,16 @@ ) (uuid "7fc4ea66-961f-4f86-8514-1501d8cd92ce") ) + (wire + (pts + (xy 182.88 48.26) (xy 182.88 49.53) + ) + (stroke + (width 0) + (type default) + ) + (uuid "828e7f1f-56d8-4dd5-b5e6-823f26ad75bc") + ) (wire (pts (xy 154.94 170.18) (xy 165.1 170.18) @@ -3968,6 +4024,16 @@ ) (uuid "badcac8c-eb27-48b6-9d6a-bf9e2fd904c2") ) + (wire + (pts + (xy 182.88 58.42) (xy 182.88 59.69) + ) + (stroke + (width 0) + (type default) + ) + (uuid "bfc5fa5d-d2de-4ab3-9ce4-0bcf8ec03120") + ) (wire (pts (xy 121.92 26.67) (xy 130.81 26.67) @@ -4048,16 +4114,6 @@ ) (uuid "d3f76545-880a-461e-9727-134dc2396b46") ) - (wire - (pts - (xy 154.94 58.42) (xy 156.21 58.42) - ) - (stroke - (width 0) - (type default) - ) - (uuid "d5e3a349-0e46-4aed-b37f-23c6f9d62eaa") - ) (wire (pts (xy 130.81 36.83) (xy 130.81 26.67) @@ -4309,17 +4365,6 @@ ) (uuid "806823e9-c7ef-45dc-832c-ddb4378c340f") ) - (hierarchical_label "VVERSION" - (shape input) - (at 156.21 58.42 0) - (effects - (font - (size 1.27 1.27) - ) - (justify left) - ) - (uuid "919dc185-71c3-4c56-8386-f6c0dc6b4c73") - ) (hierarchical_label "JTAG_TDO" (shape output) (at 156.21 99.06 0) @@ -4420,6 +4465,76 @@ ) ) ) + (symbol + (lib_id "Device:R") + (at 182.88 63.5 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "25ff6048-df12-4801-a5fa-10858ec580ea") + (property "Reference" "R2" + (at 185.42 62.2299 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "180R" + (at 185.42 64.7699 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "" + (at 181.102 63.5 90) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 182.88 63.5 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Resistor" + (at 182.88 63.5 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "4594fa96-7bf7-4a55-b5cf-06cd56d16577") + ) + (pin "2" + (uuid "b8ec48f2-d366-4783-a0c0-ce6e9d04ad8c") + ) + (instances + (project "iot-contact" + (path "/5defd195-0277-4d04-9f5f-69e505c9845c/9e600826-010a-409d-9a37-ea8e6fbe6058" + (reference "R2") + (unit 1) + ) + ) + ) + ) (symbol (lib_id "Device:R") (at 46.99 59.69 0) @@ -4557,6 +4672,76 @@ ) ) ) + (symbol + (lib_id "Device:R") + (at 182.88 53.34 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "44194e8c-d4ca-4f3b-8f0c-38d2daec1648") + (property "Reference" "R1" + (at 185.42 52.0699 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "75k" + (at 185.42 54.6099 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "" + (at 181.102 53.34 90) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 182.88 53.34 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Resistor" + (at 182.88 53.34 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "4c288ead-2ab6-4e25-a3f0-01cafd4880ac") + ) + (pin "1" + (uuid "28fc83dd-c36e-444e-9a1b-af275a24160b") + ) + (instances + (project "iot-contact" + (path "/5defd195-0277-4d04-9f5f-69e505c9845c/9e600826-010a-409d-9a37-ea8e6fbe6058" + (reference "R1") + (unit 1) + ) + ) + ) + ) (symbol (lib_id "power:+3V3") (at 130.81 25.4 0) @@ -5354,6 +5539,72 @@ ) ) ) + (symbol + (lib_id "power:+3V3") + (at 182.88 48.26 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "b8d6d94c-727e-456b-b826-af3fd7c72013") + (property "Reference" "#PWR09" + (at 182.88 52.07 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "+3V3" + (at 182.88 43.18 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 182.88 48.26 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 182.88 48.26 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Power symbol creates a global label with name \"+3V3\"" + (at 182.88 48.26 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "4c5e5d17-e7b8-4575-85c6-050868f487a2") + ) + (instances + (project "iot-contact" + (path "/5defd195-0277-4d04-9f5f-69e505c9845c/9e600826-010a-409d-9a37-ea8e6fbe6058" + (reference "#PWR09") + (unit 1) + ) + ) + ) + ) (symbol (lib_id "Device:C") (at 196.85 148.59 90) @@ -5630,6 +5881,72 @@ ) ) ) + (symbol + (lib_id "power:GND") + (at 182.88 68.58 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "dd045ace-112c-424a-ad3b-982fb4c768f7") + (property "Reference" "#PWR010" + (at 182.88 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GND" + (at 182.88 73.66 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 182.88 68.58 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 182.88 68.58 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Power symbol creates a global label with name \"GND\" , ground" + (at 182.88 68.58 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "1a4096b2-db22-464d-b040-d8134123dfb5") + ) + (instances + (project "iot-contact" + (path "/5defd195-0277-4d04-9f5f-69e505c9845c/9e600826-010a-409d-9a37-ea8e6fbe6058" + (reference "#PWR010") + (unit 1) + ) + ) + ) + ) (symbol (lib_id "power:GND") (at 201.93 148.59 90) -- cgit v1.2.3-70-g09d2