Add a 10 kOhm pull-up on GPIO0 to prevent booting into download mode

This commit is contained in:
Jakub Hlusička 2025-12-23 21:28:23 +01:00
parent 8f4c939e95
commit 7526d7752e
2 changed files with 179 additions and 5 deletions

View file

@ -789,6 +789,7 @@
"single_global_label": "ignore", "single_global_label": "ignore",
"unannotated": "error", "unannotated": "error",
"unconnected_wire_endpoint": "warning", "unconnected_wire_endpoint": "warning",
"undefined_netclass": "error",
"unit_value_mismatch": "error", "unit_value_mismatch": "error",
"unresolved_variable": "error", "unresolved_variable": "error",
"wire_dangling": "error" "wire_dangling": "error"

View file

@ -5423,6 +5423,17 @@
) )
(uuid "2f6e38b3-17ae-4c84-978c-a25746a12021") (uuid "2f6e38b3-17ae-4c84-978c-a25746a12021")
) )
(text "The LCD display being connected to GPIO0\ncauses parasitic capacitance on that pin,\nwhich makes the ESP32-S3 boot into download\nmode even if the BOOT button isn't held.\nThis extra pull-up resistor prevents that."
(exclude_from_sim no)
(at 137.16 46.482 0)
(effects
(font
(size 0.8 0.8)
)
(justify left top)
)
(uuid "36d3ceb2-8169-46d2-b2f2-2174159328ed")
)
(text "SPI CS is typically active low,\nbut needs to be held high for initialization" (text "SPI CS is typically active low,\nbut needs to be held high for initialization"
(exclude_from_sim no) (exclude_from_sim no)
(at 177.8 160.274 0) (at 177.8 160.274 0)
@ -5498,6 +5509,17 @@
) )
(uuid "84059bb5-b425-408d-bacd-e5c86d8cc792") (uuid "84059bb5-b425-408d-bacd-e5c86d8cc792")
) )
(text "TODO:\nSince GPIO6 has been repurposed as CS_{SPI},\nneither of these are used any more. Remove."
(exclude_from_sim no)
(at 185.42 134.874 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
(uuid "89f17b79-0ca7-4118-9ea4-796831d5ea6e")
)
(text "INT_{LR} = INT_{L} INT_{R}\nThe INT pins on the IO expander\nare open-drain active low, hence\nwe use a pull-up resistor." (text "INT_{LR} = INT_{L} INT_{R}\nThe INT pins on the IO expander\nare open-drain active low, hence\nwe use a pull-up resistor."
(exclude_from_sim no) (exclude_from_sim no)
(at 65.024 167.132 0) (at 65.024 167.132 0)
@ -5531,7 +5553,7 @@
) )
(text "LDO1 and LDO2 are each able to\nprovide up to 700 mA at 3.3 V.\nFor comparison, GPIO pins only\nprovide up to 40 mA." (text "LDO1 and LDO2 are each able to\nprovide up to 700 mA at 3.3 V.\nFor comparison, GPIO pins only\nprovide up to 40 mA."
(exclude_from_sim no) (exclude_from_sim no)
(at 127.762 64.516 0) (at 128.016 65.278 0)
(effects (effects
(font (font
(size 0.8 0.8) (size 0.8 0.8)
@ -5573,9 +5595,9 @@
) )
(uuid "de1af1c8-714e-45e2-95a3-099768d7c701") (uuid "de1af1c8-714e-45e2-95a3-099768d7c701")
) )
(text "SPI chip selection\nof the LCD\nTODO: Remove" (text "SPI chip selection\nof the LCD"
(exclude_from_sim no) (exclude_from_sim no)
(at 183.642 139.954 0) (at 184.658 140.97 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@ -5921,6 +5943,12 @@
(color 0 0 0 0) (color 0 0 0 0)
(uuid "e1a4a59a-dbaa-4985-b634-4870914989ee") (uuid "e1a4a59a-dbaa-4985-b634-4870914989ee")
) )
(junction
(at 138.43 63.5)
(diameter 0)
(color 0 0 0 0)
(uuid "ec5ff1e4-3c57-44c2-9227-5eea025fb54f")
)
(junction (junction
(at 200.66 55.88) (at 200.66 55.88)
(diameter 0) (diameter 0)
@ -6299,7 +6327,7 @@
) )
(wire (wire
(pts (pts
(xy 111.76 63.5) (xy 120.65 63.5) (xy 111.76 63.5) (xy 138.43 63.5)
) )
(stroke (stroke
(width 0) (width 0)
@ -6877,6 +6905,16 @@
) )
(uuid "672f793b-ba9b-442c-bdc8-7447c4999286") (uuid "672f793b-ba9b-442c-bdc8-7447c4999286")
) )
(wire
(pts
(xy 138.43 63.5) (xy 154.94 63.5)
)
(stroke
(width 0)
(type default)
)
(uuid "6941bdb1-f8f3-4e19-9119-2078fcd5c097")
)
(wire (wire
(pts (pts
(xy 200.66 50.8) (xy 254 50.8) (xy 200.66 50.8) (xy 254 50.8)
@ -23528,7 +23566,7 @@
(uuid "65ec0fcb-da4e-4ccd-89b6-3eb69f08879e") (uuid "65ec0fcb-da4e-4ccd-89b6-3eb69f08879e")
) )
(label "R1" (label "R1"
(at 120.65 63.5 0) (at 154.94 63.5 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@ -24883,6 +24921,76 @@
) )
) )
) )
(symbol
(lib_id "Device:R")
(at 138.43 59.69 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "3adf0405-6ad4-439f-a31b-9b9be48da142")
(property "Reference" "R14"
(at 140.97 58.4199 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Value" "10 kOhm"
(at 140.97 60.9599 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Footprint" "Resistor_SMD:R_0603_1608Metric"
(at 136.652 59.69 90)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "~"
(at 138.43 59.69 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Resistor"
(at 138.43 59.69 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "1"
(uuid "a5f452d0-5815-43a8-87f1-1d64f69bbc0b")
)
(pin "2"
(uuid "9c031284-501f-48a0-802c-36c96b9d72ba")
)
(instances
(project "acid"
(path "/ee5b55de-ef61-476c-9896-089acae94cf2"
(reference "R14")
(unit 1)
)
)
)
)
(symbol (symbol
(lib_id "power:GND") (lib_id "power:GND")
(at 127 179.07 0) (at 127 179.07 0)
@ -28439,6 +28547,71 @@
) )
) )
) )
(symbol
(lib_id "power:+3.3V")
(at 138.43 55.88 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(uuid "e439b5f0-b620-4454-9eac-7775a99986c7")
(property "Reference" "#PWR0135"
(at 138.43 59.69 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Value" "+3.3V"
(at 142.494 54.356 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 138.43 55.88 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" ""
(at 138.43 55.88 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Power symbol creates a global label with name \"+3.3V\""
(at 138.43 55.88 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "1"
(uuid "4ee82066-2cfc-4294-967b-aa36e192666d")
)
(instances
(project "acid"
(path "/ee5b55de-ef61-476c-9896-089acae94cf2"
(reference "#PWR0135")
(unit 1)
)
)
)
)
(symbol (symbol
(lib_id "power:GND") (lib_id "power:GND")
(at 91.44 191.77 0) (at 91.44 191.77 0)