hardware: W variant netlist and schematic (RM2 Bluetooth)

build_netlist.py and build_schematic.py take --variant w: the RM2 wired
as on Pico W (GP23-25, GP29), fitted LEDs (two on the RM2's GPIOs), VBUS
sense on RM2 GPIO0 and a pairing button on GP28. Adds the RM2 symbol and
a footprint generated from the datasheet's Figure 6, and the W pin header
for the firmware. The design date is now fixed, so regenerating on a
later day leaves the files unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013PRsUCpxazyipPn5UGGkF8
This commit is contained in:
Claude committed 2026-10-18 10:39:15 +00:00
1 parent 5337ab65f0
commit 1bb455684a
15 files changed
+14336 -35

No files matched your search

+42
View File
@@ -0,0 +1,42 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (C) 2026 Neo-Desktop
*/
// Generated by hardware/netlist/build_netlist.py from the board's nets. Do not edit.
#pragma once
#define PIN_A_TX 0 // GP0
#define PIN_A_RX 1 // GP1
#define PIN_A_CTS 2 // GP2
#define PIN_A_RTS 3 // GP3
#define PIN_A_DSR 4 // GP4
#define PIN_A_DCD 5 // GP5
#define PIN_A_RI 6 // GP6
#define PIN_A_DTR 7 // GP7
#define PIN_B_DTR 8 // GP8
#define PIN_B_DSR 9 // GP9
#define PIN_B_DCD 10 // GP10
#define PIN_B_RI 11 // GP11
#define PIN_B_TX 12 // GP12
#define PIN_B_RX 13 // GP13
#define PIN_B_CTS 14 // GP14
#define PIN_B_RTS 15 // GP15
#define PIN_A_SHDN_N 16 // GP16
#define PIN_B_FORCEOFF_N 17 // GP17
#define PIN_RS_FORCEON 18 // GP18
#define PIN_A_R1OUTB 19 // GP19
#define PIN_A_STATUS 20 // GP20
#define PIN_B_INVALID 21 // GP21
#define PIN_LED_BT 22 // GP22
#define PIN_WL_ON 23 // GP23
#define PIN_WL_D 24 // GP24
#define PIN_WL_CS 25 // GP25
#define PIN_LED_TR 26 // GP26
#define PIN_LED_CD 27 // GP27
#define PIN_PAIR_BTN 28 // GP28
#define PIN_WL_CLK 29 // GP29
// RM2 (CYW43439) GPIOs: cyw43_arch_gpio_get/put
#define WLGPIO_LED_RD 1 // RM2 pin 18
#define WLGPIO_LED_SD 2 // RM2 pin 17
#define WLGPIO_VBUS_SENSE 0 // RM2 pin 8
+40 -13
View File
@@ -3,11 +3,16 @@
# Copyright (C) 2026 Neo-Desktop
"""pico-serial schematic, generated from ../netlist/build_netlist.py.
--variant w draws pico-serial W (the Bluetooth board) instead; its files
carry a "-w" suffix (pico-serial-w.kicad_sch, preview-w.svg).
Writes, next to this script:
pico-serial.kicad_sch KiCad 9 schematic (opens in KiCad 9 and 10)
pico-serial.kicad_pro minimal project file
pico-serial.kicad_sym symbols KiCad doesn't ship (SP3238E, MAX3243E)
pico-serial.kicad_sym symbols KiCad doesn't ship (SP3238E, MAX3243E, RM2);
shared by both boards
sym-lib-table points KiCad at pico-serial.kicad_sym
fp-lib-table points KiCad at lib/pico-serial.pretty (RM2)
preview.svg a rough drawing of the sheet, for a quick look
Every pin gets a short wire ending in a net label or a power symbol, and
@@ -23,7 +28,7 @@ Symbols come from KiCad's official library, 9.0 branch. They are cached in
lib/symbol-cache.sexp so this runs offline; refresh the cache with
--kicad-sym9 <kicad-symbols checkout at tag 9.0.x>
"""
import argparse, datetime, math, os, sys, uuid
import argparse, math, os, sys, uuid
from collections import defaultdict
HERE = os.path.dirname(os.path.abspath(__file__))
@@ -32,11 +37,13 @@ sys.path.insert(0, HERE)
import sexpr # noqa: E402
from sexpr import Sym, find, first # noqa: E402
if "--variant" in sys.argv[1:-1]:
os.environ["PS_VARIANT"] = sys.argv[sys.argv.index("--variant") + 1]
_argv, sys.argv = sys.argv, sys.argv[:1]
import build_netlist as N # noqa: E402 (builds the circuit on import)
sys.argv = _argv
PROJECT = "pico-serial"
PROJECT = "pico-serial" + N.SUFFIX
NS = uuid.UUID("0b4c1d1e-5e7a-4c2b-8c51-9f0a7d3e6b21")
GRID = 1.27
STUB = 2.54
@@ -51,12 +58,16 @@ BLOCKS = [ # key, title, max width (mm)
("rsa", "Chip A: SP3238E, modem side (DCE)", 120),
("rsb", "Chip B: MAX3243E, computer side (DTE)", 120),
("db25", "DB25 female (hand-fitted)", 45),
("led", "Status LEDs (optional, not fitted)", 118),
("led", "Status LEDs" + ("" if N.W else " (optional, not fitted)"), 118),
("radio", "Bluetooth: Raspberry Pi RM2 (CYW43439), wired as on Pico W", 150),
("tp", "Test pads", 100),
("flags", "Power flags for ERC", 60),
]
# rows of columns; a column stacks its blocks top to bottom
SHEET_ROWS = [[["usb"], ["clock"], ["db25"], ["led"]], [["mcu"], ["rsa"], ["rsb"], ["tp", "flags"]]]
if N.W:
SHEET_ROWS = [[["usb"], ["clock"], ["db25"], ["led"]], [["mcu"], ["rsa"], ["rsb"], ["tp", "flags"]],
[["radio"]]]
FLAGS_SIZE = (35.56, 15.24)
@@ -85,6 +96,8 @@ def lib_id(ref):
return "pico-serial:SP3238E"
if pins is N.MAX3243E:
return "pico-serial:MAX3243E"
if pins is N.RM2:
return "pico-serial:RM2"
if pins is N.TWO:
return {"R": "Device:R", "C": "Device:C", "F": "Device:Polyfuse"}[ref.rstrip("0123456789")]
if pins is N.DIODE:
@@ -95,7 +108,7 @@ def lib_id(ref):
def custom_symbol(name, left, right, top, bottom, desc, fp, ds):
"""A plain box: logic pins left, RS-232 and charge pump right, VCC top, GND bottom."""
pins_tab = N.SP3238E if name == "SP3238E" else N.MAX3243E
pins_tab = {"SP3238E": N.SP3238E, "MAX3243E": N.MAX3243E, "RM2": N.RM2}[name]
by_name = {}
for num, (pname, ty) in pins_tab.items():
by_name.setdefault(pname, []).append((num, ty))
@@ -157,6 +170,13 @@ CUSTOM = {
top=["VCC"], bottom=["GND"],
desc="3 V to 5.5 V RS-232 transceiver, 3 drivers / 5 receivers, auto-powerdown, +-15 kV ESD",
fp="Package_SO:SSOP-28_5.3x10.2mm_P0.65mm", ds="https://www.ti.com/lit/ds/symlink/max3243e.pdf"),
"RM2": custom_symbol(
"RM2",
left=["SCLK", "DATA_IN", "DATA_OUT", "~{IRQ}", "CS", None, "WL_ON", "BT_ON"],
right=["GPIO0", "GPIO1", "GPIO2", None, "NC", "NC", "NC"],
top=["VDDIO", "VIN"], bottom=["GND"] * 6,
desc="Raspberry Pi Radio Module 2: CYW43439 Wi-Fi 4 + Bluetooth 5.2, gSPI host interface",
fp="pico-serial:RaspberryPi_RM2", ds="https://datasheets.raspberrypi.com/rm2/rm2-datasheet.pdf"),
}
CACHE = os.path.join(HERE, "lib", "symbol-cache.sexp")
@@ -639,10 +659,13 @@ def build(syms):
sch = [Sym("kicad_sch"), [Sym("version"), Sym("20250114")], [Sym("generator"), "eeschema"],
[Sym("generator_version"), "9.0"], [Sym("uuid"), root], [Sym("paper"), paper],
[Sym("title_block"), [Sym("title"), "pico-serial: USB-C to DB25 RS-232 (DCE/DTE)"],
[Sym("date"), datetime.date.today().isoformat()], [Sym("rev"), "0.3"],
[Sym("comment"), 1, "RP2040, SP3238E (DCE) + MAX3243E (DTE) on one female DB25"],
[Sym("comment"), 2, "See SPEC.md; parts and nets come from hardware/netlist/build_netlist.py"],
[Sym("title_block"), [Sym("title"), "pico-serial W: Bluetooth and USB-C to DB25 RS-232 (DCE/DTE)" if N.W
else "pico-serial: USB-C to DB25 RS-232 (DCE/DTE)"],
[Sym("date"), N.DATE], [Sym("rev"), "0.3"],
[Sym("comment"), 1, "RP2040, SP3238E (DCE) + MAX3243E (DTE) on one female DB25"
+ (", RM2 Bluetooth" if N.W else "")],
[Sym("comment"), 2, ("See SPEC-W.md" if N.W else "See SPEC.md")
+ "; parts and nets come from hardware/netlist/build_netlist.py"],
[Sym("comment"), 3, "CERN-OHL-S-2.0 (or commercial licence from Neo-Desktop)"],
[Sym("comment"), 4, "Source: https://github.com/Neo-Desktop/pico-serial"]],
[Sym("lib_symbols")] + [syms[k] for k in sorted({lib_id(r) for r in N.parts} | set(POWER.values()) | {"power:PWR_FLAG"})]]
@@ -879,6 +902,7 @@ def write_lib(path):
def main():
ap = argparse.ArgumentParser(description=__doc__.split("\n")[0])
ap.add_argument("--kicad-sym9", help="kicad-symbols checkout (9.0 tag), refreshes lib/symbol-cache.sexp")
ap.add_argument("--variant", choices=N.VARIANTS, default=N.VARIANT, help="which board (default: hood)")
a = ap.parse_args()
syms = load_symbols(a.kicad_sym9)
sch, world, boxes, cells, placed, (paper, pw, ph) = build(syms)
@@ -893,14 +917,17 @@ def main():
write_lib(os.path.join(HERE, f"{PROJECT}.kicad_sym"))
open(os.path.join(HERE, "sym-lib-table"), "w").write(
'(sym_lib_table\n\t(version 7)\n\t(lib (name "pico-serial") (type "KiCad") '
'(uri "${KIPRJMOD}/pico-serial.kicad_sym") (options "") (descr "SP3238E, MAX3243E"))\n)\n')
'(uri "${KIPRJMOD}/pico-serial.kicad_sym") (options "") (descr "SP3238E, MAX3243E, RM2"))\n)\n')
open(os.path.join(HERE, "fp-lib-table"), "w").write(
'(fp_lib_table\n\t(version 7)\n\t(lib (name "pico-serial") (type "KiCad") '
'(uri "${KIPRJMOD}/lib/pico-serial.pretty") (options "") (descr "RM2"))\n)\n')
pro = os.path.join(HERE, f"{PROJECT}.kicad_pro")
if not os.path.exists(pro):
open(pro, "w").write('{\n "meta": {\n "filename": "pico-serial.kicad_pro",\n "version": 3\n }\n}\n')
preview(sch, syms, os.path.join(HERE, "preview.svg"), pw, ph)
open(pro, "w").write('{\n "meta": {\n "filename": "' + PROJECT + '.kicad_pro",\n "version": 3\n }\n}\n')
preview(sch, syms, os.path.join(HERE, f"preview{N.SUFFIX}.svg"), pw, ph)
n_sym = sum(1 for x in sch if isinstance(x, list) and x[0] == "symbol")
n_lab = sum(1 for x in sch if isinstance(x, list) and x[0] == "label")
print(f"ok: {paper} sheet, {len(N.parts)} parts, {n_sym - len(N.parts)} power symbols/flags, "
print(f"ok ({N.VARIANT}): {paper} sheet, {len(N.parts)} parts, {n_sym - len(N.parts)} power symbols/flags, "
f"{n_lab} labels; drawing connects exactly as the netlist ({len(N.nets)} nets)")
+4
View File
@@ -0,0 +1,4 @@
(fp_lib_table
(version 7)
(lib (name "pico-serial") (type "KiCad") (uri "${KIPRJMOD}/lib/pico-serial.pretty") (options "") (descr "RM2"))
)
+64
View File
@@ -0,0 +1,64 @@
#!/usr/bin/env python3
# SPDX-License-Identifier: CERN-OHL-S-2.0
# Copyright (C) 2026 Neo-Desktop
"""Writes pico-serial.pretty/RaspberryPi_RM2.kicad_mod from the RM2 datasheet
(Raspberry Pi Radio Module 2 datasheet, Figure 6 "PCB footprint").
Origin: module centre. Antenna end toward -y (pins 1 and 21 nearest it).
- 7 pads down each side, 1.5 mm pitch; lowest pad centres 1.8 mm above the
module's bottom edge; pads 2.0 x 1.0, reaching 0.5 mm outside the module;
- 7 pads along the bottom, 1.5 mm pitch, first centre 2.75 mm from the
left edge; pads 1.0 x 2.0, reaching 0.5 mm below the module;
- numbered counter-clockwise from the top left (pin 1).
The 35.5 x 18.5 mm antenna keep-out lies mostly off the module; the board
script draws it (it depends on where the module sits).
"""
import os
W, L = 14.5, 16.5
X0, Y0 = -W / 2, -L / 2 # top-left corner of the module
pads = []
for k in range(7): # left side, pins 1..7, top to bottom
pads.append((str(1 + k), X0 + 0.5, L / 2 - 1.8 - 1.5 * (6 - k), 2.0, 1.0))
for k in range(7): # bottom, pins 8..14, left to right
pads.append((str(8 + k), X0 + 2.75 + 1.5 * k, L / 2 - 0.5, 1.0, 2.0))
for k in range(7): # right side, pins 15..21, bottom to top
pads.append((str(15 + k), -X0 - 0.5, L / 2 - 1.8 - 1.5 * k, 2.0, 1.0))
def line(x1, y1, x2, y2, layer, w):
return (f'\t(fp_line (start {x1:g} {y1:g}) (end {x2:g} {y2:g}) '
f'(stroke (width {w:g}) (type solid)) (layer "{layer}"))')
def rect(x1, y1, x2, y2, layer, w):
return "\n".join(line(*a, layer, w) for a in ((x1, y1, x2, y1), (x2, y1, x2, y2), (x2, y2, x1, y2), (x1, y2, x1, y1)))
out = ['(footprint "RaspberryPi_RM2"', '\t(version 20241229)', '\t(generator "pico-serial")',
'\t(generator_version "1")', '\t(layer "F.Cu")',
'\t(descr "Raspberry Pi Radio Module 2 (RMC20452T), 21 castellated pads, 1.5 mm pitch; '
'datasheet Figure 6. Antenna end toward -y: keep all metal 13.5 mm beyond it and 10.5 mm either side")',
'\t(tags "RM2 CYW43439 Bluetooth WiFi module castellated")',
'\t(attr smd)',
f'\t(property "Reference" "REF**" (at 0 {-L / 2 - 1.2:g} 0) (layer "F.SilkS") (effects (font (size 1 1) (thickness 0.15))))',
f'\t(property "Value" "RM2" (at 0 {L / 2 + 2.2:g} 0) (layer "F.Fab") (effects (font (size 1 1) (thickness 0.15))))',
'\t(property "Datasheet" "https://datasheets.raspberrypi.com/rm2/rm2-datasheet.pdf" (at 0 0 0) (layer "F.Fab") (hide yes) (effects (font (size 1 1))))']
out.append(rect(X0, Y0, -X0, -Y0, "F.Fab", 0.1))
out.append(line(X0, Y0 + 5.0, -X0, Y0 + 5.0, "F.Fab", 0.1)) # antenna region boundary
out.append(f'\t(fp_text user "ANTENNA" (at 0 {Y0 + 2.5:g} 0) (layer "F.Fab") (effects (font (size 1 1) (thickness 0.15))))')
c = 0.25
out.append(rect(X0 - 0.5 - c, Y0 - c, -X0 + 0.5 + c, -Y0 + 0.5 + c, "F.CrtYd", 0.05))
# silkscreen: module outline outside the pads, plus a pin-1 mark
s = 0.12 / 2 + 0.2
top_pad = pads[0][2] - 0.5
out.append(line(X0 - s, Y0 - s, -X0 + s, Y0 - s, "F.SilkS", 0.12))
out.append(line(X0 - s, Y0 - s, X0 - s, top_pad - 0.3, "F.SilkS", 0.12))
out.append(line(-X0 + s, Y0 - s, -X0 + s, top_pad - 0.3, "F.SilkS", 0.12))
out.append(f'\t(fp_circle (center {X0 - 1.2:g} {pads[0][2]:g}) (end {X0 - 0.95:g} {pads[0][2]:g}) '
'(stroke (width 0.12) (type solid)) (fill solid) (layer "F.SilkS"))')
for num, x, y, w, h in pads:
out.append(f'\t(pad "{num}" smd rect (at {x:g} {y:g}) (size {w:g} {h:g}) (layers "F.Cu" "F.Paste" "F.Mask"))')
out.append(')')
here = os.path.dirname(os.path.abspath(__file__))
open(os.path.join(here, "pico-serial.pretty", "RaspberryPi_RM2.kicad_mod"), "w").write("\n".join(out) + "\n")
@@ -0,0 +1,47 @@
(footprint "RaspberryPi_RM2"
(version 20241229)
(generator "pico-serial")
(generator_version "1")
(layer "F.Cu")
(descr "Raspberry Pi Radio Module 2 (RMC20452T), 21 castellated pads, 1.5 mm pitch; datasheet Figure 6. Antenna end toward -y: keep all metal 13.5 mm beyond it and 10.5 mm either side")
(tags "RM2 CYW43439 Bluetooth WiFi module castellated")
(attr smd)
(property "Reference" "REF**" (at 0 -9.45 0) (layer "F.SilkS") (effects (font (size 1 1) (thickness 0.15))))
(property "Value" "RM2" (at 0 10.45 0) (layer "F.Fab") (effects (font (size 1 1) (thickness 0.15))))
(property "Datasheet" "https://datasheets.raspberrypi.com/rm2/rm2-datasheet.pdf" (at 0 0 0) (layer "F.Fab") (hide yes) (effects (font (size 1 1))))
(fp_line (start -7.25 -8.25) (end 7.25 -8.25) (stroke (width 0.1) (type solid)) (layer "F.Fab"))
(fp_line (start 7.25 -8.25) (end 7.25 8.25) (stroke (width 0.1) (type solid)) (layer "F.Fab"))
(fp_line (start 7.25 8.25) (end -7.25 8.25) (stroke (width 0.1) (type solid)) (layer "F.Fab"))
(fp_line (start -7.25 8.25) (end -7.25 -8.25) (stroke (width 0.1) (type solid)) (layer "F.Fab"))
(fp_line (start -7.25 -3.25) (end 7.25 -3.25) (stroke (width 0.1) (type solid)) (layer "F.Fab"))
(fp_text user "ANTENNA" (at 0 -5.75 0) (layer "F.Fab") (effects (font (size 1 1) (thickness 0.15))))
(fp_line (start -8 -8.5) (end 8 -8.5) (stroke (width 0.05) (type solid)) (layer "F.CrtYd"))
(fp_line (start 8 -8.5) (end 8 9) (stroke (width 0.05) (type solid)) (layer "F.CrtYd"))
(fp_line (start 8 9) (end -8 9) (stroke (width 0.05) (type solid)) (layer "F.CrtYd"))
(fp_line (start -8 9) (end -8 -8.5) (stroke (width 0.05) (type solid)) (layer "F.CrtYd"))
(fp_line (start -7.51 -8.51) (end 7.51 -8.51) (stroke (width 0.12) (type solid)) (layer "F.SilkS"))
(fp_line (start -7.51 -8.51) (end -7.51 -3.35) (stroke (width 0.12) (type solid)) (layer "F.SilkS"))
(fp_line (start 7.51 -8.51) (end 7.51 -3.35) (stroke (width 0.12) (type solid)) (layer "F.SilkS"))
(fp_circle (center -8.45 -2.55) (end -8.2 -2.55) (stroke (width 0.12) (type solid)) (fill solid) (layer "F.SilkS"))
(pad "1" smd rect (at -6.75 -2.55) (size 2 1) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "2" smd rect (at -6.75 -1.05) (size 2 1) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "3" smd rect (at -6.75 0.45) (size 2 1) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "4" smd rect (at -6.75 1.95) (size 2 1) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "5" smd rect (at -6.75 3.45) (size 2 1) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "6" smd rect (at -6.75 4.95) (size 2 1) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "7" smd rect (at -6.75 6.45) (size 2 1) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "8" smd rect (at -4.5 7.75) (size 1 2) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "9" smd rect (at -3 7.75) (size 1 2) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "10" smd rect (at -1.5 7.75) (size 1 2) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "11" smd rect (at 0 7.75) (size 1 2) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "12" smd rect (at 1.5 7.75) (size 1 2) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "13" smd rect (at 3 7.75) (size 1 2) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "14" smd rect (at 4.5 7.75) (size 1 2) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "15" smd rect (at 6.75 6.45) (size 2 1) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "16" smd rect (at 6.75 4.95) (size 2 1) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "17" smd rect (at 6.75 3.45) (size 2 1) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "18" smd rect (at 6.75 1.95) (size 2 1) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "19" smd rect (at 6.75 0.45) (size 2 1) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "20" smd rect (at 6.75 -1.05) (size 2 1) (layers "F.Cu" "F.Paste" "F.Mask"))
(pad "21" smd rect (at 6.75 -2.55) (size 2 1) (layers "F.Cu" "F.Paste" "F.Mask"))
)
+6
View File
@@ -0,0 +1,6 @@
{
"meta": {
"filename": "pico-serial-w.kicad_pro",
"version": 3
}
}
File diff suppressed because it is too large. Load diff
+557
View File
@@ -0,0 +1,557 @@
(kicad_symbol_lib
(version 20241209)
(generator "kicad_symbol_editor")
(generator_version "9.0")
(symbol "MAX3243E"
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(property "Reference" "U" (at -12.7 21.59 0) (effects (font (size 1.27 1.27))))
(property "Value" "MAX3243E" (at -12.7 -21.59 0) (effects (font (size 1.27 1.27))))
(property "Footprint" "Package_SO:SSOP-28_5.3x10.2mm_P0.65mm"
(at 0 0 0)
(effects (font (size 1.27 1.27)) (hide yes))
)
(property "Datasheet" "https://www.ti.com/lit/ds/symlink/max3243e.pdf"
(at 0 0 0)
(effects (font (size 1.27 1.27)) (hide yes))
)
(property "Description" "3 V to 5.5 V RS-232 transceiver, 3 drivers / 5 receivers, auto-powerdown, +-15 kV ESD"
(at 0 0 0)
(effects (font (size 1.27 1.27)) (hide yes))
)
(symbol "MAX3243E_0_1"
(rectangle
(start -12.7 20.32)
(end 12.7 -20.32)
(stroke (width 0.254) (type default))
(fill (type background))
)
)
(symbol "MAX3243E_1_1"
(pin input line
(at -16.51 17.78 0)
(length 3.81)
(name "DIN1" (effects (font (size 1.27 1.27))))
(number "14" (effects (font (size 1.27 1.27))))
)
(pin input line
(at -16.51 15.24 0)
(length 3.81)
(name "DIN2" (effects (font (size 1.27 1.27))))
(number "13" (effects (font (size 1.27 1.27))))
)
(pin input line
(at -16.51 12.7 0)
(length 3.81)
(name "DIN3" (effects (font (size 1.27 1.27))))
(number "12" (effects (font (size 1.27 1.27))))
)
(pin output line
(at -16.51 7.62 0)
(length 3.81)
(name "ROUT1" (effects (font (size 1.27 1.27))))
(number "19" (effects (font (size 1.27 1.27))))
)
(pin output line
(at -16.51 5.08 0)
(length 3.81)
(name "ROUT2" (effects (font (size 1.27 1.27))))
(number "18" (effects (font (size 1.27 1.27))))
)
(pin output line
(at -16.51 2.54 0)
(length 3.81)
(name "ROUT3" (effects (font (size 1.27 1.27))))
(number "17" (effects (font (size 1.27 1.27))))
)
(pin output line
(at -16.51 0 0)
(length 3.81)
(name "ROUT4" (effects (font (size 1.27 1.27))))
(number "16" (effects (font (size 1.27 1.27))))
)
(pin output line
(at -16.51 -2.54 0)
(length 3.81)
(name "ROUT5" (effects (font (size 1.27 1.27))))
(number "15" (effects (font (size 1.27 1.27))))
)
(pin output line
(at -16.51 -5.08 0)
(length 3.81)
(name "ROUT2B" (effects (font (size 1.27 1.27))))
(number "20" (effects (font (size 1.27 1.27))))
)
(pin input line
(at -16.51 -10.16 0)
(length 3.81)
(name "~{FORCEOFF}" (effects (font (size 1.27 1.27))))
(number "22" (effects (font (size 1.27 1.27))))
)
(pin input line
(at -16.51 -12.7 0)
(length 3.81)
(name "FORCEON" (effects (font (size 1.27 1.27))))
(number "23" (effects (font (size 1.27 1.27))))
)
(pin output line
(at -16.51 -15.24 0)
(length 3.81)
(name "INVALID" (effects (font (size 1.27 1.27))))
(number "21" (effects (font (size 1.27 1.27))))
)
(pin output line
(at 16.51 17.78 180)
(length 3.81)
(name "DOUT1" (effects (font (size 1.27 1.27))))
(number "9" (effects (font (size 1.27 1.27))))
)
(pin output line
(at 16.51 15.24 180)
(length 3.81)
(name "DOUT2" (effects (font (size 1.27 1.27))))
(number "10" (effects (font (size 1.27 1.27))))
)
(pin output line
(at 16.51 12.7 180)
(length 3.81)
(name "DOUT3" (effects (font (size 1.27 1.27))))
(number "11" (effects (font (size 1.27 1.27))))
)
(pin input line
(at 16.51 7.62 180)
(length 3.81)
(name "RIN1" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
(pin input line
(at 16.51 5.08 180)
(length 3.81)
(name "RIN2" (effects (font (size 1.27 1.27))))
(number "5" (effects (font (size 1.27 1.27))))
)
(pin input line
(at 16.51 2.54 180)
(length 3.81)
(name "RIN3" (effects (font (size 1.27 1.27))))
(number "6" (effects (font (size 1.27 1.27))))
)
(pin input line
(at 16.51 0 180)
(length 3.81)
(name "RIN4" (effects (font (size 1.27 1.27))))
(number "7" (effects (font (size 1.27 1.27))))
)
(pin input line
(at 16.51 -2.54 180)
(length 3.81)
(name "RIN5" (effects (font (size 1.27 1.27))))
(number "8" (effects (font (size 1.27 1.27))))
)
(pin passive line
(at 16.51 -7.62 180)
(length 3.81)
(name "C1+" (effects (font (size 1.27 1.27))))
(number "28" (effects (font (size 1.27 1.27))))
)
(pin passive line
(at 16.51 -10.16 180)
(length 3.81)
(name "C1-" (effects (font (size 1.27 1.27))))
(number "24" (effects (font (size 1.27 1.27))))
)
(pin passive line
(at 16.51 -12.7 180)
(length 3.81)
(name "C2+" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line
(at 16.51 -15.24 180)
(length 3.81)
(name "C2-" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin passive line
(at 16.51 -17.78 180)
(length 3.81)
(name "V+" (effects (font (size 1.27 1.27))))
(number "27" (effects (font (size 1.27 1.27))))
)
(pin passive line
(at 16.51 -20.32 180)
(length 3.81)
(name "V-" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at 0 24.13 270)
(length 3.81)
(name "VCC" (effects (font (size 1.27 1.27))))
(number "26" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at 0 -24.13 90)
(length 3.81)
(name "GND" (effects (font (size 1.27 1.27))))
(number "25" (effects (font (size 1.27 1.27))))
)
)
(embedded_fonts no)
)
(symbol "RM2"
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(property "Reference" "U" (at -12.7 11.43 0) (effects (font (size 1.27 1.27))))
(property "Value" "RM2" (at -12.7 -11.43 0) (effects (font (size 1.27 1.27))))
(property "Footprint" "pico-serial:RaspberryPi_RM2"
(at 0 0 0)
(effects (font (size 1.27 1.27)) (hide yes))
)
(property "Datasheet" "https://datasheets.raspberrypi.com/rm2/rm2-datasheet.pdf"
(at 0 0 0)
(effects (font (size 1.27 1.27)) (hide yes))
)
(property "Description" "Raspberry Pi Radio Module 2: CYW43439 Wi-Fi 4 + Bluetooth 5.2, gSPI host interface"
(at 0 0 0)
(effects (font (size 1.27 1.27)) (hide yes))
)
(symbol "RM2_0_1"
(rectangle
(start -12.7 10.16)
(end 12.7 -10.16)
(stroke (width 0.254) (type default))
(fill (type background))
)
)
(symbol "RM2_1_1"
(pin input line
(at -16.51 7.62 0)
(length 3.81)
(name "SCLK" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
(pin input line
(at -16.51 5.08 0)
(length 3.81)
(name "DATA_IN" (effects (font (size 1.27 1.27))))
(number "5" (effects (font (size 1.27 1.27))))
)
(pin output line
(at -16.51 2.54 0)
(length 3.81)
(name "DATA_OUT" (effects (font (size 1.27 1.27))))
(number "6" (effects (font (size 1.27 1.27))))
)
(pin output line
(at -16.51 0 0)
(length 3.81)
(name "~{IRQ}" (effects (font (size 1.27 1.27))))
(number "10" (effects (font (size 1.27 1.27))))
)
(pin input line
(at -16.51 -2.54 0)
(length 3.81)
(name "CS" (effects (font (size 1.27 1.27))))
(number "9" (effects (font (size 1.27 1.27))))
)
(pin input line
(at -16.51 -7.62 0)
(length 3.81)
(name "WL_ON" (effects (font (size 1.27 1.27))))
(number "12" (effects (font (size 1.27 1.27))))
)
(pin input line
(at -16.51 -10.16 0)
(length 3.81)
(name "BT_ON" (effects (font (size 1.27 1.27))))
(number "13" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line
(at 16.51 7.62 180)
(length 3.81)
(name "GPIO0" (effects (font (size 1.27 1.27))))
(number "8" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line
(at 16.51 5.08 180)
(length 3.81)
(name "GPIO1" (effects (font (size 1.27 1.27))))
(number "18" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line
(at 16.51 2.54 180)
(length 3.81)
(name "GPIO2" (effects (font (size 1.27 1.27))))
(number "17" (effects (font (size 1.27 1.27))))
)
(pin no_connect line
(at 16.51 -2.54 180)
(length 3.81)
(name "NC" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin no_connect line
(at 16.51 -5.08 180)
(length 3.81)
(name "NC" (effects (font (size 1.27 1.27))))
(number "19" (effects (font (size 1.27 1.27))))
)
(pin no_connect line
(at 16.51 -7.62 180)
(length 3.81)
(name "NC" (effects (font (size 1.27 1.27))))
(number "20" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at -1.27 13.97 270)
(length 3.81)
(name "VDDIO" (effects (font (size 1.27 1.27))))
(number "14" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at 1.27 13.97 270)
(length 3.81)
(name "VIN" (effects (font (size 1.27 1.27))))
(number "16" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at -6.35 -13.97 90)
(length 3.81)
(name "GND" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at -3.81 -13.97 90)
(length 3.81)
(name "GND" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at -1.27 -13.97 90)
(length 3.81)
(name "GND" (effects (font (size 1.27 1.27))))
(number "7" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at 1.27 -13.97 90)
(length 3.81)
(name "GND" (effects (font (size 1.27 1.27))))
(number "11" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at 3.81 -13.97 90)
(length 3.81)
(name "GND" (effects (font (size 1.27 1.27))))
(number "15" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at 6.35 -13.97 90)
(length 3.81)
(name "GND" (effects (font (size 1.27 1.27))))
(number "21" (effects (font (size 1.27 1.27))))
)
)
(embedded_fonts no)
)
(symbol "SP3238E"
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(property "Reference" "U" (at -12.7 21.59 0) (effects (font (size 1.27 1.27))))
(property "Value" "SP3238E" (at -12.7 -21.59 0) (effects (font (size 1.27 1.27))))
(property "Footprint" "Package_SO:SSOP-28_5.3x10.2mm_P0.65mm"
(at 0 0 0)
(effects (font (size 1.27 1.27)) (hide yes))
)
(property "Datasheet" "https://www.maxlinear.com/ds/sp3238e.pdf"
(at 0 0 0)
(effects (font (size 1.27 1.27)) (hide yes))
)
(property "Description" "3 V to 5.5 V RS-232 transceiver, 5 drivers / 3 receivers, AUTO ON-LINE, +-15 kV ESD"
(at 0 0 0)
(effects (font (size 1.27 1.27)) (hide yes))
)
(symbol "SP3238E_0_1"
(rectangle
(start -12.7 20.32)
(end 12.7 -20.32)
(stroke (width 0.254) (type default))
(fill (type background))
)
)
(symbol "SP3238E_1_1"
(pin input line
(at -16.51 17.78 0)
(length 3.81)
(name "T1IN" (effects (font (size 1.27 1.27))))
(number "24" (effects (font (size 1.27 1.27))))
)
(pin input line
(at -16.51 15.24 0)
(length 3.81)
(name "T2IN" (effects (font (size 1.27 1.27))))
(number "23" (effects (font (size 1.27 1.27))))
)
(pin input line
(at -16.51 12.7 0)
(length 3.81)
(name "T3IN" (effects (font (size 1.27 1.27))))
(number "22" (effects (font (size 1.27 1.27))))
)
(pin input line
(at -16.51 10.16 0)
(length 3.81)
(name "T4IN" (effects (font (size 1.27 1.27))))
(number "19" (effects (font (size 1.27 1.27))))
)
(pin input line
(at -16.51 7.62 0)
(length 3.81)
(name "T5IN" (effects (font (size 1.27 1.27))))
(number "17" (effects (font (size 1.27 1.27))))
)
(pin output line
(at -16.51 2.54 0)
(length 3.81)
(name "R1OUT" (effects (font (size 1.27 1.27))))
(number "21" (effects (font (size 1.27 1.27))))
)
(pin output line
(at -16.51 0 0)
(length 3.81)
(name "R2OUT" (effects (font (size 1.27 1.27))))
(number "20" (effects (font (size 1.27 1.27))))
)
(pin output line
(at -16.51 -2.54 0)
(length 3.81)
(name "R3OUT" (effects (font (size 1.27 1.27))))
(number "18" (effects (font (size 1.27 1.27))))
)
(pin output line
(at -16.51 -5.08 0)
(length 3.81)
(name "R1OUTB" (effects (font (size 1.27 1.27))))
(number "16" (effects (font (size 1.27 1.27))))
)
(pin input line
(at -16.51 -10.16 0)
(length 3.81)
(name "ONLINE" (effects (font (size 1.27 1.27))))
(number "13" (effects (font (size 1.27 1.27))))
)
(pin input line
(at -16.51 -12.7 0)
(length 3.81)
(name "~{SHUTDOWN}" (effects (font (size 1.27 1.27))))
(number "14" (effects (font (size 1.27 1.27))))
)
(pin output line
(at -16.51 -15.24 0)
(length 3.81)
(name "STATUS" (effects (font (size 1.27 1.27))))
(number "15" (effects (font (size 1.27 1.27))))
)
(pin output line
(at 16.51 17.78 180)
(length 3.81)
(name "T1OUT" (effects (font (size 1.27 1.27))))
(number "5" (effects (font (size 1.27 1.27))))
)
(pin output line
(at 16.51 15.24 180)
(length 3.81)
(name "T2OUT" (effects (font (size 1.27 1.27))))
(number "6" (effects (font (size 1.27 1.27))))
)
(pin output line
(at 16.51 12.7 180)
(length 3.81)
(name "T3OUT" (effects (font (size 1.27 1.27))))
(number "7" (effects (font (size 1.27 1.27))))
)
(pin output line
(at 16.51 10.16 180)
(length 3.81)
(name "T4OUT" (effects (font (size 1.27 1.27))))
(number "10" (effects (font (size 1.27 1.27))))
)
(pin output line
(at 16.51 7.62 180)
(length 3.81)
(name "T5OUT" (effects (font (size 1.27 1.27))))
(number "12" (effects (font (size 1.27 1.27))))
)
(pin input line
(at 16.51 2.54 180)
(length 3.81)
(name "R1IN" (effects (font (size 1.27 1.27))))
(number "8" (effects (font (size 1.27 1.27))))
)
(pin input line
(at 16.51 0 180)
(length 3.81)
(name "R2IN" (effects (font (size 1.27 1.27))))
(number "9" (effects (font (size 1.27 1.27))))
)
(pin input line
(at 16.51 -2.54 180)
(length 3.81)
(name "R3IN" (effects (font (size 1.27 1.27))))
(number "11" (effects (font (size 1.27 1.27))))
)
(pin passive line
(at 16.51 -7.62 180)
(length 3.81)
(name "C1+" (effects (font (size 1.27 1.27))))
(number "28" (effects (font (size 1.27 1.27))))
)
(pin passive line
(at 16.51 -10.16 180)
(length 3.81)
(name "C1-" (effects (font (size 1.27 1.27))))
(number "25" (effects (font (size 1.27 1.27))))
)
(pin passive line
(at 16.51 -12.7 180)
(length 3.81)
(name "C2+" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin passive line
(at 16.51 -15.24 180)
(length 3.81)
(name "C2-" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
(pin passive line
(at 16.51 -17.78 180)
(length 3.81)
(name "V+" (effects (font (size 1.27 1.27))))
(number "27" (effects (font (size 1.27 1.27))))
)
(pin passive line
(at 16.51 -20.32 180)
(length 3.81)
(name "V-" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at 0 24.13 270)
(length 3.81)
(name "VCC" (effects (font (size 1.27 1.27))))
(number "26" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at 0 -24.13 90)
(length 3.81)
(name "GND" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
)
(embedded_fonts no)
)
)
+156
View File
@@ -200,6 +200,162 @@
)
(embedded_fonts no)
)
(symbol "RM2"
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(property "Reference" "U" (at -12.7 11.43 0) (effects (font (size 1.27 1.27))))
(property "Value" "RM2" (at -12.7 -11.43 0) (effects (font (size 1.27 1.27))))
(property "Footprint" "pico-serial:RaspberryPi_RM2"
(at 0 0 0)
(effects (font (size 1.27 1.27)) (hide yes))
)
(property "Datasheet" "https://datasheets.raspberrypi.com/rm2/rm2-datasheet.pdf"
(at 0 0 0)
(effects (font (size 1.27 1.27)) (hide yes))
)
(property "Description" "Raspberry Pi Radio Module 2: CYW43439 Wi-Fi 4 + Bluetooth 5.2, gSPI host interface"
(at 0 0 0)
(effects (font (size 1.27 1.27)) (hide yes))
)
(symbol "RM2_0_1"
(rectangle
(start -12.7 10.16)
(end 12.7 -10.16)
(stroke (width 0.254) (type default))
(fill (type background))
)
)
(symbol "RM2_1_1"
(pin input line
(at -16.51 7.62 0)
(length 3.81)
(name "SCLK" (effects (font (size 1.27 1.27))))
(number "3" (effects (font (size 1.27 1.27))))
)
(pin input line
(at -16.51 5.08 0)
(length 3.81)
(name "DATA_IN" (effects (font (size 1.27 1.27))))
(number "5" (effects (font (size 1.27 1.27))))
)
(pin output line
(at -16.51 2.54 0)
(length 3.81)
(name "DATA_OUT" (effects (font (size 1.27 1.27))))
(number "6" (effects (font (size 1.27 1.27))))
)
(pin output line
(at -16.51 0 0)
(length 3.81)
(name "~{IRQ}" (effects (font (size 1.27 1.27))))
(number "10" (effects (font (size 1.27 1.27))))
)
(pin input line
(at -16.51 -2.54 0)
(length 3.81)
(name "CS" (effects (font (size 1.27 1.27))))
(number "9" (effects (font (size 1.27 1.27))))
)
(pin input line
(at -16.51 -7.62 0)
(length 3.81)
(name "WL_ON" (effects (font (size 1.27 1.27))))
(number "12" (effects (font (size 1.27 1.27))))
)
(pin input line
(at -16.51 -10.16 0)
(length 3.81)
(name "BT_ON" (effects (font (size 1.27 1.27))))
(number "13" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line
(at 16.51 7.62 180)
(length 3.81)
(name "GPIO0" (effects (font (size 1.27 1.27))))
(number "8" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line
(at 16.51 5.08 180)
(length 3.81)
(name "GPIO1" (effects (font (size 1.27 1.27))))
(number "18" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line
(at 16.51 2.54 180)
(length 3.81)
(name "GPIO2" (effects (font (size 1.27 1.27))))
(number "17" (effects (font (size 1.27 1.27))))
)
(pin no_connect line
(at 16.51 -2.54 180)
(length 3.81)
(name "NC" (effects (font (size 1.27 1.27))))
(number "2" (effects (font (size 1.27 1.27))))
)
(pin no_connect line
(at 16.51 -5.08 180)
(length 3.81)
(name "NC" (effects (font (size 1.27 1.27))))
(number "19" (effects (font (size 1.27 1.27))))
)
(pin no_connect line
(at 16.51 -7.62 180)
(length 3.81)
(name "NC" (effects (font (size 1.27 1.27))))
(number "20" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at -1.27 13.97 270)
(length 3.81)
(name "VDDIO" (effects (font (size 1.27 1.27))))
(number "14" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at 1.27 13.97 270)
(length 3.81)
(name "VIN" (effects (font (size 1.27 1.27))))
(number "16" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at -6.35 -13.97 90)
(length 3.81)
(name "GND" (effects (font (size 1.27 1.27))))
(number "1" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at -3.81 -13.97 90)
(length 3.81)
(name "GND" (effects (font (size 1.27 1.27))))
(number "4" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at -1.27 -13.97 90)
(length 3.81)
(name "GND" (effects (font (size 1.27 1.27))))
(number "7" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at 1.27 -13.97 90)
(length 3.81)
(name "GND" (effects (font (size 1.27 1.27))))
(number "11" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at 3.81 -13.97 90)
(length 3.81)
(name "GND" (effects (font (size 1.27 1.27))))
(number "15" (effects (font (size 1.27 1.27))))
)
(pin power_in line
(at 6.35 -13.97 90)
(length 3.81)
(name "GND" (effects (font (size 1.27 1.27))))
(number "21" (effects (font (size 1.27 1.27))))
)
)
(embedded_fonts no)
)
(symbol "SP3238E"
(exclude_from_sim no)
(in_bom yes)
File diff suppressed because it is too large. Load diff

After

Width:  |  Height:  |  Size: 243 KiB

+1 -1
View File
@@ -1,4 +1,4 @@
(sym_lib_table
(version 7)
(lib (name "pico-serial") (type "KiCad") (uri "${KIPRJMOD}/pico-serial.kicad_sym") (options "") (descr "SP3238E, MAX3243E"))
(lib (name "pico-serial") (type "KiCad") (uri "${KIPRJMOD}/pico-serial.kicad_sym") (options "") (descr "SP3238E, MAX3243E, RM2"))
)
+213
View File
@@ -0,0 +1,213 @@
<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->
<!-- Copyright (C) 2026 Neo-Desktop -->
# pico-serial W netlist
Generated by `build_netlist.py`; edit that script, not this file.
85 parts, 86 nets. DNP = not fitted by default.
## Nets
| Net | Pins |
|---|---|
| `+1V1` | C13.1, C14.1, C15.1, TP3.1 (1), U1.23 (DVDD), U1.45 (VREG_VOUT), U1.50 (DVDD) |
| `+3V3` | C3.1, C4.1, C5.1, C6.1, C7.1, C8.1, C9.1, C10.1, C11.1, C12.1, C18.1, C23.1, C24.1, C29.1, C30.1, C31.1, C32.1, C33.1, R10.1, TP2.1 (1), U1.1 (IOVDD), U1.10 (IOVDD), U1.22 (IOVDD), U1.33 (IOVDD), U1.42 (IOVDD), U1.43 (ADC_AVDD), U1.44 (VREG_IN), U1.48 (USB_VDD), U1.49 (IOVDD), U2.8 (VCC), U3.5 (VOUT), U5.26 (VCC), U6.26 (VCC), U7.14 (VDDIO), U7.16 (VIN) |
| `A_CTS` | U1.4 (GPIO2), U5.20 (R2OUT) |
| `A_DCD` | U1.7 (GPIO5), U5.19 (T4IN) |
| `A_DSR` | U1.6 (GPIO4), U5.22 (T3IN) |
| `A_DTR` | U1.9 (GPIO7), U5.18 (R3OUT) |
| `A_R1OUTB` | U1.30 (GPIO19), U5.16 (R1OUTB) |
| `A_RI` | U1.8 (GPIO6), U5.17 (T5IN) |
| `A_RTS` | U1.5 (GPIO3), U5.23 (T2IN) |
| `A_RX` | TP9.1 (1), U1.3 (GPIO1), U5.21 (R1OUT) |
| `A_SHDN_N` | R12.1, U1.27 (GPIO16), U5.14 (~{SHUTDOWN}) |
| `A_STATUS` | U1.31 (GPIO20), U5.15 (STATUS) |
| `A_TX` | TP8.1 (1), U1.2 (GPIO0), U5.24 (T1IN) |
| `BOOTSEL_SW` | R9.2, SW1.1 (1) |
| `B_CTS` | U1.17 (GPIO14), U6.18 (ROUT2) |
| `B_DCD` | U1.13 (GPIO10), U6.16 (ROUT4) |
| `B_DSR` | U1.12 (GPIO9), U6.17 (ROUT3) |
| `B_DTR` | U1.11 (GPIO8), U6.12 (DIN3) |
| `B_FORCEOFF_N` | R13.1, U1.28 (GPIO17), U6.22 (~{FORCEOFF}) |
| `B_INVALID` | U1.32 (GPIO21), U6.21 (INVALID) |
| `B_RI` | U1.14 (GPIO11), U6.15 (ROUT5) |
| `B_RTS` | U1.18 (GPIO15), U6.13 (DIN2) |
| `B_RX` | TP11.1 (1), U1.16 (GPIO13), U6.19 (ROUT1) |
| `B_TX` | TP10.1 (1), U1.15 (GPIO12), U6.14 (DIN1) |
| `CC1` | J1.A5 (CC1), R1.1 |
| `CC2` | J1.B5 (CC2), R2.1 |
| `CPA_C1M` | C19.2, U5.25 (C1-) |
| `CPA_C1P` | C19.1, U5.28 (C1+) |
| `CPA_C2M` | C20.2, U5.3 (C2-) |
| `CPA_C2P` | C20.1, U5.1 (C2+) |
| `CPA_VM` | C22.1, U5.4 (V-) |
| `CPA_VP` | C21.1, U5.27 (V+) |
| `CPB_C1M` | C25.2, U6.24 (C1-) |
| `CPB_C1P` | C25.1, U6.28 (C1+) |
| `CPB_C2M` | C26.2, U6.2 (C2-) |
| `CPB_C2P` | C26.1, U6.1 (C2+) |
| `CPB_VM` | C28.1, U6.3 (V-) |
| `CPB_VP` | C27.1, U6.27 (V+) |
| `DB25_FG` | J2.1 (1), R11.1 |
| `GND` | C1.2, C2.2, C3.2, C4.2, C5.2, C6.2, C7.2, C8.2, C9.2, C10.2, C11.2, C12.2, C13.2, C14.2, C15.2, C16.2, C17.2, C18.2, C21.2, C22.2, C23.2, C24.2, C27.2, C28.2, C29.2, C30.2, C31.2, C32.2, C33.2, D1.2 (A), D2.1 (K), D3.1 (K), D4.1 (K), D5.1 (K), D6.1 (K), J1.A1 (GND), J1.A12 (GND), J1.B1 (GND), J1.B12 (GND), J2.7 (7), R1.2, R2.2, R3.2, R5.2, R11.2, R12.2, R13.2, R14.2, SW1.2 (2), SW2.2 (2), SW3.2 (2), TP4.1 (1), U1.19 (TESTEN), U1.57 (GND), U2.4 (GND), U3.2 (GND), U4.2 (GND), U5.2 (GND), U6.25 (GND), U7.1 (GND), U7.4 (GND), U7.7 (GND), U7.11 (GND), U7.15 (GND), U7.21 (GND), Y1.2 (2), Y1.4 (4) |
| `LED_BT` | R15.1, U1.34 (GPIO22) |
| `LED_BT_A` | D2.2 (A), R15.2 |
| `LED_CD` | R17.1, U1.39 (GPIO27_ADC1) |
| `LED_CD_A` | D4.2 (A), R17.2 |
| `LED_RD` | R18.1, U7.18 (GPIO1) |
| `LED_RD_A` | D5.2 (A), R18.2 |
| `LED_SD` | R19.1, U7.17 (GPIO2) |
| `LED_SD_A` | D6.2 (A), R19.2 |
| `LED_TR` | R16.1, U1.38 (GPIO26_ADC0) |
| `LED_TR_A` | D3.2 (A), R16.2 |
| `PAIR_BTN` | SW3.1 (1), U1.40 (GPIO28_ADC2) |
| `QSPI_SCLK` | U1.52 (QSPI_SCLK), U2.6 (CLK) |
| `QSPI_SD0` | U1.53 (QSPI_SD0), U2.5 (DI/IO_{0}) |
| `QSPI_SD1` | U1.55 (QSPI_SD1), U2.2 (DO/IO_{1}) |
| `QSPI_SD2` | U1.54 (QSPI_SD2), U2.3 (~{WP}/IO_{2}) |
| `QSPI_SD3` | U1.51 (QSPI_SD3), U2.7 (~{HOLD}/~{RESET}/IO_{3}) |
| `QSPI_SS` | R9.1, U1.56 (QSPI_SS), U2.1 (~{CS}) |
| `RS_CTS` | J2.5 (5), U5.6 (T2OUT), U6.5 (RIN2) |
| `RS_DCD` | J2.8 (8), U5.10 (T4OUT), U6.7 (RIN4) |
| `RS_DSR` | J2.6 (6), U5.7 (T3OUT), U6.6 (RIN3) |
| `RS_DTR` | J2.20 (P20), U5.11 (R3IN), U6.11 (DOUT3) |
| `RS_FORCEON` | R14.1, U1.29 (GPIO18), U5.13 (ONLINE), U6.23 (FORCEON) |
| `RS_RI` | J2.22 (P22), U5.12 (T5OUT), U6.8 (RIN5) |
| `RS_RTS` | J2.4 (4), U5.9 (R2IN), U6.10 (DOUT2) |
| `RS_RXD` | J2.3 (3), U5.5 (T1OUT), U6.4 (RIN1) |
| `RS_TXD` | J2.2 (2), U5.8 (R1IN), U6.9 (DOUT1) |
| `RUN` | R10.2, SW2.1 (1), TP7.1 (1), U1.26 (RUN) |
| `SWCLK` | TP5.1 (1), U1.24 (SWCLK) |
| `SWDIO` | TP6.1 (1), U1.25 (SWD) |
| `USB_CONN_DM` | J1.A7 (D-), J1.B7 (D-), R7.1, U4.3 (I/O2), U4.4 (I/O2) |
| `USB_CONN_DP` | J1.A6 (D+), J1.B6 (D+), R6.1, U4.1 (I/O1), U4.6 (I/O1) |
| `USB_DM` | R7.2, U1.46 (USB_DM) |
| `USB_DP` | R6.2, U1.47 (USB_DP) |
| `USB_SHIELD` | C1.1, J1.S1 (SHIELD), R3.1 |
| `VBUS` | C2.1, D1.1 (K), F1.2, R4.1, TP1.1 (1), U3.1 (VIN), U3.3 (EN), U4.5 (VBUS) |
| `VBUS_IN` | F1.1, J1.A4 (VBUS), J1.A9 (VBUS), J1.B4 (VBUS), J1.B9 (VBUS) |
| `VBUS_SENSE` | R4.2, R5.1, U7.8 (GPIO0) |
| `WL_CLK` | U1.41 (GPIO29_ADC3), U7.3 (SCLK) |
| `WL_CS` | U1.37 (GPIO25), U7.9 (CS) |
| `WL_D` | R20.2, R21.2, U1.36 (GPIO24), U7.5 (DATA_IN) |
| `WL_DOUT` | R20.1, U7.6 (DATA_OUT) |
| `WL_IRQ` | R21.1, U7.10 (~{IRQ}) |
| `WL_ON` | U1.35 (GPIO23), U7.12 (WL_ON), U7.13 (BT_ON) |
| `XIN` | C16.1, U1.20 (XIN), Y1.1 (1) |
| `XOUT` | R8.1, U1.21 (XOUT) |
| `XTAL_OUT` | C17.1, R8.2, Y1.3 (3) |
## Parts
| Ref | Value | LCSC | Footprint | Note |
|---|---|---|---|---|
| C1 | 4.7nF | C1538 | `Capacitor_SMD:C_0402_1005Metric` | shell to GND, RF |
| C2 | 10uF | C19702 | `Capacitor_SMD:C_0603_1608Metric` | LDO input |
| C3 | 10uF | C19702 | `Capacitor_SMD:C_0603_1608Metric` | LDO output, 3V3 bulk |
| C4 | 100nF | C1525 | `Capacitor_SMD:C_0402_1005Metric` | IOVDD pin 1 |
| C5 | 100nF | C1525 | `Capacitor_SMD:C_0402_1005Metric` | IOVDD pin 10 |
| C6 | 100nF | C1525 | `Capacitor_SMD:C_0402_1005Metric` | IOVDD pin 22 |
| C7 | 100nF | C1525 | `Capacitor_SMD:C_0402_1005Metric` | IOVDD pin 33 |
| C8 | 100nF | C1525 | `Capacitor_SMD:C_0402_1005Metric` | IOVDD pin 42 |
| C9 | 100nF | C1525 | `Capacitor_SMD:C_0402_1005Metric` | IOVDD pin 49 |
| C10 | 100nF | C1525 | `Capacitor_SMD:C_0402_1005Metric` | USB_VDD |
| C11 | 100nF | C1525 | `Capacitor_SMD:C_0402_1005Metric` | ADC_AVDD |
| C12 | 1uF | C52923 | `Capacitor_SMD:C_0402_1005Metric` | VREG_VIN |
| C13 | 1uF | C52923 | `Capacitor_SMD:C_0402_1005Metric` | VREG_VOUT |
| C14 | 100nF | C1525 | `Capacitor_SMD:C_0402_1005Metric` | DVDD pin 23 |
| C15 | 100nF | C1525 | `Capacitor_SMD:C_0402_1005Metric` | DVDD pin 50 |
| C16 | 15pF | C1548 | `Capacitor_SMD:C_0402_1005Metric` | crystal load |
| C17 | 15pF | C1548 | `Capacitor_SMD:C_0402_1005Metric` | crystal load |
| C18 | 100nF | C1525 | `Capacitor_SMD:C_0402_1005Metric` | flash VCC |
| C19 | 220nF | C16772 | `Capacitor_SMD:C_0402_1005Metric` | chip A C1 flying |
| C20 | 1uF | C15849 | `Capacitor_SMD:C_0603_1608Metric` | chip A C2 flying |
| C21 | 1uF | C15849 | `Capacitor_SMD:C_0603_1608Metric` | chip A V+ reservoir |
| C22 | 1uF | C15849 | `Capacitor_SMD:C_0603_1608Metric` | chip A V- reservoir |
| C23 | 1uF | C52923 | `Capacitor_SMD:C_0402_1005Metric` | chip A VCC |
| C24 | 100nF | C1525 | `Capacitor_SMD:C_0402_1005Metric` | chip A VCC |
| C25 | 220nF | C16772 | `Capacitor_SMD:C_0402_1005Metric` | chip B C1 flying |
| C26 | 1uF | C15849 | `Capacitor_SMD:C_0603_1608Metric` | chip B C2 flying |
| C27 | 1uF | C15849 | `Capacitor_SMD:C_0603_1608Metric` | chip B V+ reservoir |
| C28 | 1uF | C15849 | `Capacitor_SMD:C_0603_1608Metric` | chip B V- reservoir |
| C29 | 1uF | C52923 | `Capacitor_SMD:C_0402_1005Metric` | chip B VCC |
| C30 | 100nF | C1525 | `Capacitor_SMD:C_0402_1005Metric` | chip B VCC |
| C31 | 10uF | C19702 | `Capacitor_SMD:C_0603_1608Metric` | RM2 Vin |
| C32 | 100nF | C1525 | `Capacitor_SMD:C_0402_1005Metric` | RM2 Vin |
| C33 | 22uF | C45783 | `Capacitor_SMD:C_0805_2012Metric` | RM2 bulk, for Wi-Fi transmit peaks |
| D1 | SMF5.0A | C151296 | `Diode_SMD:D_SOD-123F` | 5 V TVS, unidirectional |
| D2 | LED_BT | C2286 | `LED_SMD:LED_0603_1608Metric` | BT status LED |
| D3 | LED_TR | C2286 | `LED_SMD:LED_0603_1608Metric` | TR status LED |
| D4 | LED_CD | C2286 | `LED_SMD:LED_0603_1608Metric` | CD status LED |
| D5 | LED_RD | C2286 | `LED_SMD:LED_0603_1608Metric` | RD status LED |
| D6 | LED_SD | C2286 | `LED_SMD:LED_0603_1608Metric` | SD status LED |
| F1 | 0.5A | C163512 | `Fuse:Fuse_1206_3216Metric` | Littelfuse 1206L050YR PTC |
| J1 | USB_C | C165948 | `Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12` | HRO TYPE-C-31-M-12 |
| J2 | DB25_Female | C19601171 | `Connector_Dsub:DSUB-25_Socket_EdgeMount_P2.77mm` | MH Connectors MHDB25SS, solder cups straddling the board edge; hand-soldered |
| R1 | 5.1k | C25905 | `Resistor_SMD:R_0402_1005Metric` | CC1 Rd: separate resistor per CC pin |
| R2 | 5.1k | C25905 | `Resistor_SMD:R_0402_1005Metric` | CC2 Rd |
| R3 | 1M | C26083 | `Resistor_SMD:R_0402_1005Metric` | shell bleed |
| R4 | 100k | C25741 | `Resistor_SMD:R_0402_1005Metric` | VBUS divider top |
| R5 | 100k | C25741 | `Resistor_SMD:R_0402_1005Metric` | VBUS divider bottom |
| R6 | 27R | C25100 | `Resistor_SMD:R_0402_1005Metric` | USB D+ series |
| R7 | 27R | C25100 | `Resistor_SMD:R_0402_1005Metric` | USB D- series |
| R8 | 1k | C11702 | `Resistor_SMD:R_0402_1005Metric` | crystal drive limit |
| R9 | 1k | C11702 | `Resistor_SMD:R_0402_1005Metric` | BOOTSEL |
| R10 | 10k | C25744 | `Resistor_SMD:R_0402_1005Metric` | RUN pull-up; RP2040 has a weak internal one, this adds noise margin |
| R11 | 0R | C17168 | `Resistor_SMD:R_0402_1005Metric` | frame ground to GND; leave off to float pin 1 |
| R12 | 100k | C25741 | `Resistor_SMD:R_0402_1005Metric` | chip A off until firmware decides |
| R13 | 100k | C25741 | `Resistor_SMD:R_0402_1005Metric` | chip B off until firmware decides |
| R14 | 100k | C25741 | `Resistor_SMD:R_0402_1005Metric` | auto power-down on until firmware decides |
| R15 | 1k | C11702 | `Resistor_SMD:R_0402_1005Metric` | BT LED current |
| R16 | 1k | C11702 | `Resistor_SMD:R_0402_1005Metric` | TR LED current |
| R17 | 1k | C11702 | `Resistor_SMD:R_0402_1005Metric` | CD LED current |
| R18 | 1k | C11702 | `Resistor_SMD:R_0402_1005Metric` | RD LED current |
| R19 | 1k | C11702 | `Resistor_SMD:R_0402_1005Metric` | SD LED current |
| R20 | 470R | C25117 | `Resistor_SMD:R_0402_1005Metric` | RM2 data out to the shared GP24 |
| R21 | 10k | C25744 | `Resistor_SMD:R_0402_1005Metric` | RM2 host wake to the shared GP24 |
| SW1 | BOOTSEL | C720477 | `Button_Switch_SMD:SW_SPST_TS-1088-xR020` | XUNPU TS-1088-AR02016 |
| SW2 | RESET | C720477 | `Button_Switch_SMD:SW_SPST_TS-1088-xR020` | XUNPU TS-1088-AR02016 |
| SW3 | PAIR | C720477 | `Button_Switch_SMD:SW_SPST_TS-1088-xR020` | XUNPU TS-1088-AR02016, pairing |
| TP1 | VBUS | | `TestPoint:TestPoint_Pad_D1.0mm` | |
| TP2 | 3V3 | | `TestPoint:TestPoint_Pad_D1.0mm` | |
| TP3 | 1V1 | | `TestPoint:TestPoint_Pad_D1.0mm` | |
| TP4 | GND | | `TestPoint:TestPoint_Pad_D1.0mm` | |
| TP5 | SWCLK | | `TestPoint:TestPoint_Pad_D1.0mm` | |
| TP6 | SWDIO | | `TestPoint:TestPoint_Pad_D1.0mm` | |
| TP7 | RUN | | `TestPoint:TestPoint_Pad_D1.0mm` | |
| TP8 | A_TX | | `TestPoint:TestPoint_Pad_D1.0mm` | |
| TP9 | A_RX | | `TestPoint:TestPoint_Pad_D1.0mm` | |
| TP10 | B_TX | | `TestPoint:TestPoint_Pad_D1.0mm` | |
| TP11 | B_RX | | `TestPoint:TestPoint_Pad_D1.0mm` | |
| U1 | RP2040 | C2040 | `Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mm` | |
| U2 | W25Q128JVS | C97521 | `Package_SO:SOIC-8_5.3x5.3mm_P1.27mm` | |
| U3 | AP2112K-3.3 | C51118 | `Package_TO_SOT_SMD:SOT-23-5` | |
| U4 | USBLC6-2SC6 | C7519 | `Package_TO_SOT_SMD:SOT-23-6` | |
| U5 | SP3238EEA | C49669 | `Package_SO:SSOP-28_5.3x10.2mm_P0.65mm` | MaxLinear SP3238EEA-L/TR, chip A, DCE |
| U6 | MAX3243EIDBR | C353887 | `Package_SO:SSOP-28_5.3x10.2mm_P0.65mm` | TI MAX3243EIDBR, chip B, DTE |
| U7 | RM2 | | `pico-serial:RaspberryPi_RM2` | Raspberry Pi RM2 (SC1169), CYW43439; DigiKey 2648-SC1169CT-ND, not at LCSC; hand-soldered |
| Y1 | 12MHz | C20625731 | `Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm` | Abracon ABM8-272-T3 |
## Not connected (on purpose)
- J1.A8 (SBU1)
- J1.B8 (SBU2)
- J2.9 (9)
- J2.10 (10)
- J2.11 (11)
- J2.12 (12)
- J2.13 (13)
- J2.14 (P14)
- J2.15 (P15)
- J2.16 (P16)
- J2.17 (P17)
- J2.18 (P18)
- J2.19 (P19)
- J2.21 (P21)
- J2.23 (P23)
- J2.24 (P24)
- J2.25 (P25)
- U3.4 (NC)
- U6.20 (ROUT2B)
- U7.2 (NC)
- U7.19 (NC)
- U7.20 (NC)
+35
View File
@@ -0,0 +1,35 @@
Comment,Designator,Footprint,LCSC Part #
4.7nF,"C1",C_0402_1005Metric,C1538
10uF,"C2,C3,C31",C_0603_1608Metric,C19702
100nF,"C4,C5,C6,C7,C8,C9,C10,C11,C14,C15,C18,C24,C30,C32",C_0402_1005Metric,C1525
1uF,"C12,C13,C23,C29",C_0402_1005Metric,C52923
15pF,"C16,C17",C_0402_1005Metric,C1548
220nF,"C19,C25",C_0402_1005Metric,C16772
1uF,"C20,C21,C22,C26,C27,C28",C_0603_1608Metric,C15849
22uF,"C33",C_0805_2012Metric,C45783
SMF5.0A,"D1",D_SOD-123F,C151296
LED_BT,"D2",LED_0603_1608Metric,C2286
LED_TR,"D3",LED_0603_1608Metric,C2286
LED_CD,"D4",LED_0603_1608Metric,C2286
LED_RD,"D5",LED_0603_1608Metric,C2286
LED_SD,"D6",LED_0603_1608Metric,C2286
0.5A,"F1",Fuse_1206_3216Metric,C163512
USB_C,"J1",USB_C_Receptacle_HRO_TYPE-C-31-M-12,C165948
5.1k,"R1,R2",R_0402_1005Metric,C25905
1M,"R3",R_0402_1005Metric,C26083
100k,"R4,R5,R12,R13,R14",R_0402_1005Metric,C25741
27R,"R6,R7",R_0402_1005Metric,C25100
1k,"R8,R9,R15,R16,R17,R18,R19",R_0402_1005Metric,C11702
10k,"R10,R21",R_0402_1005Metric,C25744
0R,"R11",R_0402_1005Metric,C17168
470R,"R20",R_0402_1005Metric,C25117
BOOTSEL,"SW1",SW_SPST_TS-1088-xR020,C720477
RESET,"SW2",SW_SPST_TS-1088-xR020,C720477
PAIR,"SW3",SW_SPST_TS-1088-xR020,C720477
RP2040,"U1",QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mm,C2040
W25Q128JVS,"U2",SOIC-8_5.3x5.3mm_P1.27mm,C97521
AP2112K-3.3,"U3",SOT-23-5,C51118
USBLC6-2SC6,"U4",SOT-23-6,C7519
SP3238EEA,"U5",SSOP-28_5.3x10.2mm_P0.65mm,C49669
MAX3243EIDBR,"U6",SSOP-28_5.3x10.2mm_P0.65mm,C353887
12MHz,"Y1",Crystal_SMD_3225-4Pin_3.2x2.5mm,C20625731
1 Comment Designator Footprint LCSC Part #
2 4.7nF C1 C_0402_1005Metric C1538
3 10uF C2,C3,C31 C_0603_1608Metric C19702
4 100nF C4,C5,C6,C7,C8,C9,C10,C11,C14,C15,C18,C24,C30,C32 C_0402_1005Metric C1525
5 1uF C12,C13,C23,C29 C_0402_1005Metric C52923
6 15pF C16,C17 C_0402_1005Metric C1548
7 220nF C19,C25 C_0402_1005Metric C16772
8 1uF C20,C21,C22,C26,C27,C28 C_0603_1608Metric C15849
9 22uF C33 C_0805_2012Metric C45783
10 SMF5.0A D1 D_SOD-123F C151296
11 LED_BT D2 LED_0603_1608Metric C2286
12 LED_TR D3 LED_0603_1608Metric C2286
13 LED_CD D4 LED_0603_1608Metric C2286
14 LED_RD D5 LED_0603_1608Metric C2286
15 LED_SD D6 LED_0603_1608Metric C2286
16 0.5A F1 Fuse_1206_3216Metric C163512
17 USB_C J1 USB_C_Receptacle_HRO_TYPE-C-31-M-12 C165948
18 5.1k R1,R2 R_0402_1005Metric C25905
19 1M R3 R_0402_1005Metric C26083
20 100k R4,R5,R12,R13,R14 R_0402_1005Metric C25741
21 27R R6,R7 R_0402_1005Metric C25100
22 1k R8,R9,R15,R16,R17,R18,R19 R_0402_1005Metric C11702
23 10k R10,R21 R_0402_1005Metric C25744
24 0R R11 R_0402_1005Metric C17168
25 470R R20 R_0402_1005Metric C25117
26 BOOTSEL SW1 SW_SPST_TS-1088-xR020 C720477
27 RESET SW2 SW_SPST_TS-1088-xR020 C720477
28 PAIR SW3 SW_SPST_TS-1088-xR020 C720477
29 RP2040 U1 QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mm C2040
30 W25Q128JVS U2 SOIC-8_5.3x5.3mm_P1.27mm C97521
31 AP2112K-3.3 U3 SOT-23-5 C51118
32 USBLC6-2SC6 U4 SOT-23-6 C7519
33 SP3238EEA U5 SSOP-28_5.3x10.2mm_P0.65mm C49669
34 MAX3243EIDBR U6 SSOP-28_5.3x10.2mm_P0.65mm C353887
35 12MHz Y1 Crystal_SMD_3225-4Pin_3.2x2.5mm C20625731
+96 -21
View File
@@ -3,10 +3,16 @@
# Copyright (C) 2026 Neo-Desktop
"""pico-serial netlist: every part and connection on the board, in one place.
Writes, next to this script:
Two boards come from this script (--variant, or $PS_VARIANT for the
scripts that import it):
hood the wired board inside a standard DB25 hood (SPEC.md)
w pico-serial W: the same plus an RM2 Bluetooth module (SPEC-W.md)
Writes, next to this script (W files carry a "-w" suffix):
pico-serial.net KiCad netlist (import into Pcbnew: File > Import > Netlist)
NETLIST.md the same nets, readable: by net and by part
bom-jlc.csv JLC assembly BOM (Comment, Designator, Footprint, LCSC)
and firmware/src/generated/board_pins.h (board_pins_w.h).
Checks before writing (exit 1 on any error):
- every pin of every part is on a net or listed as not connected
@@ -19,9 +25,25 @@ Checks before writing (exit 1 on any error):
Spec: ../../SPEC.md (section numbers below refer to it).
"""
import argparse, datetime, os, re, sys, uuid
import argparse, os, re, sys, uuid
from collections import defaultdict
# Design date, written into the netlist and the schematic's title block. A
# fixed value, so regenerating on another day changes nothing (CI diffs the
# output). Bump it with the revision when the circuit changes.
DATE = "2026-10-18"
VARIANTS = ("hood", "w")
VARIANT = os.environ.get("PS_VARIANT", "hood")
if "--variant" in sys.argv[1:-1]: # read early: the circuit is built on import
VARIANT = sys.argv[sys.argv.index("--variant") + 1]
if VARIANT not in VARIANTS:
raise SystemExit(f"unknown variant {VARIANT!r}; one of {VARIANTS}")
W = VARIANT == "w"
SUFFIX = "-w" if W else ""
HERE = os.path.dirname(os.path.abspath(__file__))
LOCAL_FP = os.path.join(HERE, "..", "kicad", "lib") # our own footprints (pico-serial.pretty)
# ---------------------------------------------------------------------------
# Pin tables. RP2040, flash, LDO, USBLC6 and connectors are copied from
# KiCad's symbol library (checked with --kicad-sym). KiCad has no symbol for
@@ -73,6 +95,13 @@ USB_C16 = {"A1": ("GND", P), "A4": ("VBUS", P), "A5": ("CC1", B), "A6": ("D+", B
"A8": ("SBU1", B), "A9": ("VBUS", P), "A12": ("GND", P), "B1": ("GND", P), "B4": ("VBUS", P),
"B5": ("CC2", B), "B6": ("D+", B), "B7": ("D-", B), "B8": ("SBU2", B), "B9": ("VBUS", P),
"B12": ("GND", P), "S1": ("SHIELD", P)}
# Raspberry Pi RM2 (RMC20452T), datasheet Table 2. GND pins are passive in
# KiCad terms; VDDIO and Vin are power inputs.
RM2 = {"1": ("GND", PI), "2": ("NC", NC), "3": ("SCLK", I), "4": ("GND", PI), "5": ("DATA_IN", I),
"6": ("DATA_OUT", O), "7": ("GND", PI), "8": ("GPIO0", B), "9": ("CS", I), "10": ("~{IRQ}", O),
"11": ("GND", PI), "12": ("WL_ON", I), "13": ("BT_ON", I), "14": ("VDDIO", PI), "15": ("GND", PI),
"16": ("VIN", PI), "17": ("GPIO2", B), "18": ("GPIO1", B), "19": ("NC", NC), "20": ("NC", NC),
"21": ("GND", PI)}
DB25F = {str(n): (str(n) if n <= 13 else f"P{n}", P) for n in range(1, 26)}
XTAL4 = {"1": ("1", P), "2": ("2", P), "3": ("3", P), "4": ("4", P)}
TWO = {"1": ("~", P), "2": ("~", P)}
@@ -86,12 +115,13 @@ SYMBOLS = {
id(AP2112K): ("Regulator_Linear", "AP2112K-3.3"), id(USBLC6): ("Power_Protection", "USBLC6-2SC6"),
id(USB_C16): ("Connector", "USB_C_Receptacle_USB2.0_16P"), id(DB25F): ("Connector", "DB25_Socket"),
id(XTAL4): ("Device", "Crystal_GND24"), id(DIODE): None, id(SW): ("Switch", "SW_Push"),
id(TP): ("Connector", "TestPoint"), id(SP3238E): None, id(MAX3243E): None,
id(TP): ("Connector", "TestPoint"), id(SP3238E): None, id(MAX3243E): None, id(RM2): None,
}
FP_R = "Resistor_SMD:R_0402_1005Metric"
FP_C = "Capacitor_SMD:C_0402_1005Metric"
FP_C6 = "Capacitor_SMD:C_0603_1608Metric"
FP_C8 = "Capacitor_SMD:C_0805_2012Metric"
# value -> (LCSC part, footprint); JLC "basic" parts unless noted
PASSIVES = {
@@ -100,6 +130,7 @@ PASSIVES = {
"4.7nF": ("C1538", FP_C), "27R": ("C25100", FP_R), # 27R is "extended"
"5.1k": ("C25905", FP_R), "1k": ("C11702", FP_R), "10k": ("C25744", FP_R),
"100k": ("C25741", FP_R), "1M": ("C26083", FP_R), "0R": ("C17168", FP_R),
"22uF": ("C45783", FP_C8), "470R": ("C25117", FP_R),
}
# ---------------------------------------------------------------------------
@@ -330,24 +361,61 @@ passive("R", "100k", "B_FORCEOFF_N", GND, "chip B off until firmware decides")
block("rsa")
passive("R", "100k", "RS_FORCEON", GND, "auto power-down on until firmware decides")
nc(UB, "20") # ROUT2B unused (INVALID covers detection)
conn("VBUS_SENSE", (U1, GPIO_PIN[29]))
if not W:
conn("VBUS_SENSE", (U1, GPIO_PIN[29])) # W: on the RM2's GPIO0 instead (SPEC-W §3.3)
# --- §4.8 optional LEDs (not fitted by default) ---------------------------------
if W:
# --- SPEC-W §3.1 RM2 radio, wired exactly like Pico W ------------------------
block("radio")
RM = part("U", "RM2", RM2, "pico-serial:RaspberryPi_RM2", assembly="hand", ref="U7",
desc="Raspberry Pi RM2 (SC1169), CYW43439; DigiKey 2648-SC1169CT-ND, not at LCSC")
conn(GND, *[(RM, p) for p in ("1", "4", "7", "11", "15", "21")])
nc(RM, "2", "19", "20")
conn("WL_ON", (U1, GPIO_PIN[23]), (RM, "12"), (RM, "13")) # Wi-Fi and Bluetooth on together
conn("WL_D", (U1, GPIO_PIN[24]), (RM, "5")) # gSPI data in, shared pin
conn("WL_CS", (U1, GPIO_PIN[25]), (RM, "9"))
conn("WL_CLK", (U1, GPIO_PIN[29]), (RM, "3"))
conn(V33, (RM, "14"), (RM, "16"))
conn("VBUS_SENSE", (RM, "8")) # RM2 GPIO0: VBUS present
# --- §4.8 LEDs: optional on the hood board; fitted on W (SPEC-W §3.2-3.3) -------
block("led")
for g, name in zip(range(22, 28), ("PWR", "TR", "CD", "SD", "RD", "RI")):
led = part("D", f"LED_{name}", DIODE, "LED_SMD:LED_0603_1608Metric", "C2286", dnp=True,
desc=f"{name} status LED, optional")
conn(f"LED_{name}", (U1, GPIO_PIN[g]))
passive("R", "1k", f"LED_{name}", f"LED_{name}_A", f"{name} LED current", dnp=True)
if W:
LEDS = (("BT", (U1, GPIO_PIN[22])), ("TR", (U1, GPIO_PIN[26])), ("CD", (U1, GPIO_PIN[27])),
("RD", (RM, "18")), ("SD", (RM, "17")))
else:
LEDS = tuple((name, (U1, GPIO_PIN[g])) for g, name in zip(range(22, 28), ("PWR", "TR", "CD", "SD", "RD", "RI")))
for name, node in LEDS:
led = part("D", f"LED_{name}", DIODE, "LED_SMD:LED_0603_1608Metric", "C2286", dnp=not W,
desc=f"{name} status LED" + ("" if W else ", optional"))
conn(f"LED_{name}", node)
passive("R", "1k", f"LED_{name}", f"LED_{name}_A", f"{name} LED current", dnp=not W)
conn(f"LED_{name}_A", (led, "2")); conn(GND, (led, "1"))
# --- test pads ----------------------------------------------------------------
block("tp")
conn("GP28", (U1, GPIO_PIN[28]))
if not W:
conn("GP28", (U1, GPIO_PIN[28]))
for net, label in ((VBUS, "VBUS"), (V33, "3V3"), (V11, "1V1"), (GND, "GND"), ("SWCLK", "SWCLK"),
("SWDIO", "SWDIO"), ("RUN", "RUN"), ("GP28", "GP28"), ("A_TX", "A_TX"),
("A_RX", "A_RX"), ("B_TX", "B_TX"), ("B_RX", "B_RX")):
tp(net, label)
if not (W and net == "GP28"):
tp(net, label)
if W:
# RM2 data-out and host-wake share GP24 through resistors, as on Pico W
block("radio")
passive("R", "470R", "WL_DOUT", "WL_D", "RM2 data out to the shared GP24")
conn("WL_DOUT", (RM, "6"))
passive("R", "10k", "WL_IRQ", "WL_D", "RM2 host wake to the shared GP24")
conn("WL_IRQ", (RM, "10"))
passive("C", "10uF", V33, GND, "RM2 Vin")
passive("C", "100nF", V33, GND, "RM2 Vin")
passive("C", "22uF", V33, GND, "RM2 bulk, for Wi-Fi transmit peaks")
# SPEC-W §4.5 pairing button, reached through a pinhole in the hood
SW3 = part("SW", "PAIR", SW, "Button_Switch_SMD:SW_SPST_TS-1088-xR020", "C720477",
desc="XUNPU TS-1088-AR02016, pairing")
conn("PAIR_BTN", (U1, GPIO_PIN[28]), (SW3, "1")); conn(GND, (SW3, "2"))
# ===========================================================================
@@ -430,7 +498,7 @@ def verify_libs(symdir, fpdir):
errs.append(f"{ref}.{num}: name {name!r} but KiCad {sym[1]} says {lib_pins[num]!r}")
if fpdir:
lib, fp = p["footprint"].split(":")
path = os.path.join(fpdir, f"{lib}.pretty", f"{fp}.kicad_mod")
path = os.path.join(LOCAL_FP if lib == "pico-serial" else fpdir, f"{lib}.pretty", f"{fp}.kicad_mod")
if not os.path.exists(path):
errs.append(f"{ref}: footprint {p['footprint']} not found")
continue
@@ -458,7 +526,7 @@ def natural(s):
def write_kicad(path):
ns = uuid.UUID("6a1f6c1e-6f1d-4a43-9a52-0c0de5e2a1aa")
out = ["(export (version \"E\")",
f" (design (source \"build_netlist.py\") (date {q(datetime.date.today().isoformat())}) "
f" (design (source \"build_netlist.py\") (date {q(DATE)}) "
"(tool \"pico-serial build_netlist.py\"))",
" (components"]
for ref in sorted(parts, key=natural):
@@ -493,7 +561,7 @@ def write_kicad(path):
def write_md(path):
L = ["<!-- SPDX-License-Identifier: CERN-OHL-S-2.0 -->", "<!-- Copyright (C) 2026 Neo-Desktop -->",
"# pico-serial netlist", "",
f"# pico-serial{' W' if W else ''} netlist", "",
"Generated by `build_netlist.py`; edit that script, not this file.", "",
f"{len(parts)} parts, {len(nets)} nets. DNP = not fitted by default.", "",
"## Nets", "", "| Net | Pins |", "|---|---|"]
@@ -538,6 +606,12 @@ def write_pins_header(path):
"#pragma once", ""]
for net, g in sorted(by_net.items(), key=lambda kv: kv[1]):
L.append(f"#define PIN_{net:<16} {g:>2} // GP{g}")
if W: # the radio module's own GPIOs, driven through the CYW43 driver
L += ["", "// RM2 (CYW43439) GPIOs: cyw43_arch_gpio_get/put"]
for net, members in sorted(nets.items()):
for r, pin in members:
if r == "U7" and RM2[pin][0].startswith("GPIO"):
L.append(f"#define WLGPIO_{net:<14} {RM2[pin][0][4:]:>2} // RM2 pin {pin}")
os.makedirs(os.path.dirname(path), exist_ok=True)
open(path, "w").write("\n".join(L) + "\n")
@@ -546,6 +620,7 @@ def main():
ap = argparse.ArgumentParser(description=__doc__.split("\n")[0])
ap.add_argument("--kicad-sym", help="kicad-symbols checkout, to verify pin tables")
ap.add_argument("--kicad-fp", help="kicad-footprints checkout, to verify footprints")
ap.add_argument("--variant", choices=VARIANTS, default=VARIANT, help="which board (default: hood)")
a = ap.parse_args()
errs, warns = check()
if a.kicad_sym or a.kicad_fp:
@@ -556,13 +631,13 @@ def main():
print("ERROR:", e)
if errs:
sys.exit(1)
here = os.path.dirname(os.path.abspath(__file__))
write_kicad(os.path.join(here, "pico-serial.net"))
write_md(os.path.join(here, "NETLIST.md"))
write_bom(os.path.join(here, "bom-jlc.csv"))
write_pins_header(os.path.join(here, "..", "..", "firmware", "src", "generated", "board_pins.h"))
write_kicad(os.path.join(HERE, f"pico-serial{SUFFIX}.net"))
write_md(os.path.join(HERE, f"NETLIST{SUFFIX}.md"))
write_bom(os.path.join(HERE, f"bom-jlc{SUFFIX}.csv"))
write_pins_header(os.path.join(HERE, "..", "..", "firmware", "src", "generated",
f"board_pins{SUFFIX.replace('-', '_')}.h"))
fitted = sum(1 for p in parts.values() if not p["dnp"])
print(f"ok: {len(parts)} parts ({fitted} fitted), {len(nets)} nets, "
print(f"ok ({VARIANT}): {len(parts)} parts ({fitted} fitted), {len(nets)} nets, "
f"{sum(len(m) for m in nets.values())} connections, {len(noconnect)} pins left open on purpose")
+580
View File
@@ -0,0 +1,580 @@
(export (version "E")
(design (source "build_netlist.py") (date "2026-10-18") (tool "pico-serial build_netlist.py"))
(components
(comp (ref "C1") (value "4.7nF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C1538")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "33544a75-52f4-5f00-8447-28629146762e"))
(comp (ref "C2") (value "10uF") (footprint "Capacitor_SMD:C_0603_1608Metric") (fields (field (name "LCSC") "C19702")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "dab5c2cc-0c63-5ac3-a0e1-93c3ced54313"))
(comp (ref "C3") (value "10uF") (footprint "Capacitor_SMD:C_0603_1608Metric") (fields (field (name "LCSC") "C19702")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "18114a0b-55a9-5f5f-837c-4821e87d5526"))
(comp (ref "C4") (value "100nF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C1525")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "a2efbbde-6589-5c80-8d5a-aa3cefcdf0ce"))
(comp (ref "C5") (value "100nF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C1525")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "5c8d46d9-f743-593f-8a5e-2f0454a7d1a3"))
(comp (ref "C6") (value "100nF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C1525")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "5fa7003b-df26-5c85-9e43-1594e75ff901"))
(comp (ref "C7") (value "100nF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C1525")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "6b6c5653-c5af-5135-bff4-b8dc8bea72e7"))
(comp (ref "C8") (value "100nF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C1525")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "3b346bc9-1b5f-508d-872b-8b82ccb1793e"))
(comp (ref "C9") (value "100nF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C1525")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "49192504-66f2-5285-b14e-2a4e5dd152ae"))
(comp (ref "C10") (value "100nF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C1525")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "fdcf3bb0-82f8-5fa1-a5b8-71307655614a"))
(comp (ref "C11") (value "100nF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C1525")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "a89410ca-e818-5189-a620-1ba313ed6aaf"))
(comp (ref "C12") (value "1uF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C52923")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "68381dd9-4ec7-54ac-8621-00db9806ee3e"))
(comp (ref "C13") (value "1uF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C52923")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "e62cf699-54e2-56d2-af6a-d0c27d417470"))
(comp (ref "C14") (value "100nF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C1525")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "a5d3ec0c-4af5-594e-9c6d-07172a89e5ba"))
(comp (ref "C15") (value "100nF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C1525")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "bcd201be-5ee3-5bd3-a913-1543aa472ae1"))
(comp (ref "C16") (value "15pF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C1548")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "2fb3d525-7d14-512d-8609-1ea4a3fc6065"))
(comp (ref "C17") (value "15pF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C1548")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "2a0f335e-fc87-5b5e-8120-7479013b2976"))
(comp (ref "C18") (value "100nF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C1525")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "a207a105-9586-5f91-a039-8f1e7aeb1264"))
(comp (ref "C19") (value "220nF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C16772")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "28588008-a006-5806-ab3c-c504f0b17818"))
(comp (ref "C20") (value "1uF") (footprint "Capacitor_SMD:C_0603_1608Metric") (fields (field (name "LCSC") "C15849")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "05b43ba3-fadd-5f7b-9167-432c00520a8a"))
(comp (ref "C21") (value "1uF") (footprint "Capacitor_SMD:C_0603_1608Metric") (fields (field (name "LCSC") "C15849")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "5b1d2acd-f9cb-5f5a-84a3-442410000b0e"))
(comp (ref "C22") (value "1uF") (footprint "Capacitor_SMD:C_0603_1608Metric") (fields (field (name "LCSC") "C15849")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "a5512c0f-37b1-510a-bb4a-b71faaab9eb0"))
(comp (ref "C23") (value "1uF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C52923")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "2351df24-c725-5c62-9320-400578d7d3c3"))
(comp (ref "C24") (value "100nF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C1525")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "533b2f0b-a07b-5cf7-af3e-1ed159a946ce"))
(comp (ref "C25") (value "220nF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C16772")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "58cbbd3a-b0c5-5ca6-9ed7-35d941aa00b3"))
(comp (ref "C26") (value "1uF") (footprint "Capacitor_SMD:C_0603_1608Metric") (fields (field (name "LCSC") "C15849")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "760c788b-31fb-5859-abf9-799159938565"))
(comp (ref "C27") (value "1uF") (footprint "Capacitor_SMD:C_0603_1608Metric") (fields (field (name "LCSC") "C15849")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "5f615ae7-14e4-5891-9fe8-e5419c1606a9"))
(comp (ref "C28") (value "1uF") (footprint "Capacitor_SMD:C_0603_1608Metric") (fields (field (name "LCSC") "C15849")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "9bc0c716-973a-59d5-b4aa-5c892f2af5f5"))
(comp (ref "C29") (value "1uF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C52923")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "809082d7-5ade-5c62-9907-e70ba2e2dd7a"))
(comp (ref "C30") (value "100nF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C1525")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "5ed8f960-3363-5774-b024-b457205b6394"))
(comp (ref "C31") (value "10uF") (footprint "Capacitor_SMD:C_0603_1608Metric") (fields (field (name "LCSC") "C19702")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "8f1621f3-4b57-5863-9231-38dec0a2a88e"))
(comp (ref "C32") (value "100nF") (footprint "Capacitor_SMD:C_0402_1005Metric") (fields (field (name "LCSC") "C1525")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "449b7d55-457c-54da-8c9b-e69b23955afa"))
(comp (ref "C33") (value "22uF") (footprint "Capacitor_SMD:C_0805_2012Metric") (fields (field (name "LCSC") "C45783")) (libsource (lib "Device") (part "C") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "2aa204a0-288b-5d41-a0a2-9ec3e4657ac5"))
(comp (ref "D1") (value "SMF5.0A") (footprint "Diode_SMD:D_SOD-123F") (fields (field (name "LCSC") "C151296") (field (name "Description") "5 V TVS, unidirectional")) (libsource (lib "Device") (part "D_Zener") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "b2e37575-0e59-5d3b-ad70-bd060f38b46d"))
(comp (ref "D2") (value "LED_BT") (footprint "LED_SMD:LED_0603_1608Metric") (fields (field (name "LCSC") "C2286") (field (name "Description") "BT status LED")) (libsource (lib "Device") (part "LED") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "6740e8f5-3add-53cd-9829-ee1df78a6f2a"))
(comp (ref "D3") (value "LED_TR") (footprint "LED_SMD:LED_0603_1608Metric") (fields (field (name "LCSC") "C2286") (field (name "Description") "TR status LED")) (libsource (lib "Device") (part "LED") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "02fcbde7-9f4e-554a-bd7c-edf8d994e0fb"))
(comp (ref "D4") (value "LED_CD") (footprint "LED_SMD:LED_0603_1608Metric") (fields (field (name "LCSC") "C2286") (field (name "Description") "CD status LED")) (libsource (lib "Device") (part "LED") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "3a3cc6c1-7dac-518f-9cfb-50829d0e1bc3"))
(comp (ref "D5") (value "LED_RD") (footprint "LED_SMD:LED_0603_1608Metric") (fields (field (name "LCSC") "C2286") (field (name "Description") "RD status LED")) (libsource (lib "Device") (part "LED") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "5fcdbb57-7da0-52df-a680-ded6bc02f626"))
(comp (ref "D6") (value "LED_SD") (footprint "LED_SMD:LED_0603_1608Metric") (fields (field (name "LCSC") "C2286") (field (name "Description") "SD status LED")) (libsource (lib "Device") (part "LED") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "2e0aab07-708f-5dbb-8d44-66af6f019985"))
(comp (ref "F1") (value "0.5A") (footprint "Fuse:Fuse_1206_3216Metric") (fields (field (name "LCSC") "C163512") (field (name "Description") "Littelfuse 1206L050YR PTC")) (libsource (lib "Device") (part "Polyfuse") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "17895b05-8177-5f0b-a5cc-8a2c1122d702"))
(comp (ref "J1") (value "USB_C") (footprint "Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12") (fields (field (name "LCSC") "C165948") (field (name "Description") "HRO TYPE-C-31-M-12")) (libsource (lib "Connector") (part "USB_C_Receptacle_USB2.0_16P") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "c3794f2e-59e6-5793-ac73-3a2bc40843c2"))
(comp (ref "J2") (value "DB25_Female") (footprint "Connector_Dsub:DSUB-25_Socket_EdgeMount_P2.77mm") (fields (field (name "LCSC") "C19601171") (field (name "Description") "MH Connectors MHDB25SS, solder cups straddling the board edge")) (libsource (lib "Connector") (part "DB25_Socket") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "b07e1589-543d-5d85-8d71-bff96b5bbbae"))
(comp (ref "R1") (value "5.1k") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C25905")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "5911bebf-ac5c-5b5e-a099-119f7972e524"))
(comp (ref "R2") (value "5.1k") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C25905")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "a2719d16-4642-5a8f-bfd8-d74d33751b54"))
(comp (ref "R3") (value "1M") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C26083")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "077c61e9-7fe7-5016-8d25-dc5bd774e549"))
(comp (ref "R4") (value "100k") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C25741")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "19452963-920a-5434-a996-b1536c95c3a8"))
(comp (ref "R5") (value "100k") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C25741")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "8c56a735-d519-50b8-b119-424498bee4fb"))
(comp (ref "R6") (value "27R") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C25100")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "57b29bcb-1005-59a0-a0d3-41b9f0f7103a"))
(comp (ref "R7") (value "27R") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C25100")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "2b4dfa8b-afe0-545e-bb30-a7dbc2413dcd"))
(comp (ref "R8") (value "1k") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C11702")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "9a428fb8-5890-5fa3-95b2-f614c644b1fa"))
(comp (ref "R9") (value "1k") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C11702")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "3c1fab22-82ab-5d1a-868f-1976c58ea2e0"))
(comp (ref "R10") (value "10k") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C25744")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "75b38e43-e2bb-51bf-ae77-f45d85d97c8f"))
(comp (ref "R11") (value "0R") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C17168")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "22fbbdbb-62b7-58b4-b82f-e6dd89008d10"))
(comp (ref "R12") (value "100k") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C25741")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "5aa09c44-db67-5a72-b087-21014944754d"))
(comp (ref "R13") (value "100k") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C25741")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "da26f00f-1f6f-5dfb-918e-1816e670f296"))
(comp (ref "R14") (value "100k") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C25741")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "8ac9c113-3cad-5fd7-8b1e-d0370510f04b"))
(comp (ref "R15") (value "1k") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C11702")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "71d75a2b-f91a-58e9-b62c-4e41bb0cc390"))
(comp (ref "R16") (value "1k") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C11702")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "c6ba6067-f838-5944-b825-182492f239bd"))
(comp (ref "R17") (value "1k") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C11702")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "61a1fb8b-193b-5fd9-b692-434c8bcc230c"))
(comp (ref "R18") (value "1k") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C11702")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "960d504e-a64c-5e7c-aa81-25e83e46e3ea"))
(comp (ref "R19") (value "1k") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C11702")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "92899201-9a5b-53c5-9da2-34796c4c0ba3"))
(comp (ref "R20") (value "470R") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C25117")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "7a30eb1d-b915-5e4c-b5c7-3ecb5e5c7aa1"))
(comp (ref "R21") (value "10k") (footprint "Resistor_SMD:R_0402_1005Metric") (fields (field (name "LCSC") "C25744")) (libsource (lib "Device") (part "R") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "22943b5f-f0cf-5514-a248-a6e2466f2386"))
(comp (ref "SW1") (value "BOOTSEL") (footprint "Button_Switch_SMD:SW_SPST_TS-1088-xR020") (fields (field (name "LCSC") "C720477") (field (name "Description") "XUNPU TS-1088-AR02016")) (libsource (lib "Switch") (part "SW_Push") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "bada566a-9f8c-5872-a462-8679f2b380af"))
(comp (ref "SW2") (value "RESET") (footprint "Button_Switch_SMD:SW_SPST_TS-1088-xR020") (fields (field (name "LCSC") "C720477") (field (name "Description") "XUNPU TS-1088-AR02016")) (libsource (lib "Switch") (part "SW_Push") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "d22aaa1f-3e37-5227-bd3c-5689cebb379c"))
(comp (ref "SW3") (value "PAIR") (footprint "Button_Switch_SMD:SW_SPST_TS-1088-xR020") (fields (field (name "LCSC") "C720477") (field (name "Description") "XUNPU TS-1088-AR02016, pairing")) (libsource (lib "Switch") (part "SW_Push") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "ca258128-2611-5f6c-8db4-79d47ee1caaf"))
(comp (ref "TP1") (value "VBUS") (footprint "TestPoint:TestPoint_Pad_D1.0mm") (libsource (lib "Connector") (part "TestPoint") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "10837006-a781-5f0d-bbd9-ba9dec55e067"))
(comp (ref "TP2") (value "3V3") (footprint "TestPoint:TestPoint_Pad_D1.0mm") (libsource (lib "Connector") (part "TestPoint") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "c528da77-0a03-58ad-be03-2f302e7f19a6"))
(comp (ref "TP3") (value "1V1") (footprint "TestPoint:TestPoint_Pad_D1.0mm") (libsource (lib "Connector") (part "TestPoint") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "1455e649-d10e-509c-a7e2-df7ad683ae10"))
(comp (ref "TP4") (value "GND") (footprint "TestPoint:TestPoint_Pad_D1.0mm") (libsource (lib "Connector") (part "TestPoint") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "728fd48e-4126-5ec4-b147-594406aece10"))
(comp (ref "TP5") (value "SWCLK") (footprint "TestPoint:TestPoint_Pad_D1.0mm") (libsource (lib "Connector") (part "TestPoint") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "1a76e022-b13f-5dc8-bbda-049d27ae50b6"))
(comp (ref "TP6") (value "SWDIO") (footprint "TestPoint:TestPoint_Pad_D1.0mm") (libsource (lib "Connector") (part "TestPoint") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "b3283644-0c77-53d3-8842-a88b0c169940"))
(comp (ref "TP7") (value "RUN") (footprint "TestPoint:TestPoint_Pad_D1.0mm") (libsource (lib "Connector") (part "TestPoint") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "f1648a8d-e9a0-59f8-89da-89bf9e1a1e73"))
(comp (ref "TP8") (value "A_TX") (footprint "TestPoint:TestPoint_Pad_D1.0mm") (libsource (lib "Connector") (part "TestPoint") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "eab51779-b09e-50c8-9c51-f7a1adab64ed"))
(comp (ref "TP9") (value "A_RX") (footprint "TestPoint:TestPoint_Pad_D1.0mm") (libsource (lib "Connector") (part "TestPoint") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "5c0b4f5a-cde3-5c38-8017-690f9a2b24b2"))
(comp (ref "TP10") (value "B_TX") (footprint "TestPoint:TestPoint_Pad_D1.0mm") (libsource (lib "Connector") (part "TestPoint") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "324c222f-eb0e-5b63-8acf-3a94b751506e"))
(comp (ref "TP11") (value "B_RX") (footprint "TestPoint:TestPoint_Pad_D1.0mm") (libsource (lib "Connector") (part "TestPoint") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "7f41feb1-2bd3-569e-ac8d-aead32d92ef5"))
(comp (ref "U1") (value "RP2040") (footprint "Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mm") (fields (field (name "LCSC") "C2040")) (libsource (lib "MCU_RaspberryPi") (part "RP2040") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "ac2c03fc-0c06-5391-adf3-96d943f6536e"))
(comp (ref "U2") (value "W25Q128JVS") (footprint "Package_SO:SOIC-8_5.3x5.3mm_P1.27mm") (fields (field (name "LCSC") "C97521")) (libsource (lib "Memory_Flash") (part "W25Q128JVS") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "b064c99c-d140-5696-a5b4-1f0cb73eaf88"))
(comp (ref "U3") (value "AP2112K-3.3") (footprint "Package_TO_SOT_SMD:SOT-23-5") (fields (field (name "LCSC") "C51118")) (libsource (lib "Regulator_Linear") (part "AP2112K-3.3") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "380dab23-6a52-554f-bc4d-25958acfb733"))
(comp (ref "U4") (value "USBLC6-2SC6") (footprint "Package_TO_SOT_SMD:SOT-23-6") (fields (field (name "LCSC") "C7519")) (libsource (lib "Power_Protection") (part "USBLC6-2SC6") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "681bca06-e31e-5e0a-91d3-e6733453abad"))
(comp (ref "U5") (value "SP3238EEA") (footprint "Package_SO:SSOP-28_5.3x10.2mm_P0.65mm") (fields (field (name "LCSC") "C49669") (field (name "Description") "MaxLinear SP3238EEA-L/TR, chip A, DCE")) (libsource (lib "pico-serial") (part "SP3238EEA") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "59ab692d-8702-591b-8be8-27fda7102f1b"))
(comp (ref "U6") (value "MAX3243EIDBR") (footprint "Package_SO:SSOP-28_5.3x10.2mm_P0.65mm") (fields (field (name "LCSC") "C353887") (field (name "Description") "TI MAX3243EIDBR, chip B, DTE")) (libsource (lib "pico-serial") (part "MAX3243EIDBR") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "e5906688-729f-5bcc-a120-6e2b6fb5ad99"))
(comp (ref "U7") (value "RM2") (footprint "pico-serial:RaspberryPi_RM2") (fields (field (name "Description") "Raspberry Pi RM2 (SC1169), CYW43439; DigiKey 2648-SC1169CT-ND, not at LCSC")) (libsource (lib "pico-serial") (part "RM2") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "67b0b6e9-3ac2-5344-9b6e-b76210334293"))
(comp (ref "Y1") (value "12MHz") (footprint "Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm") (fields (field (name "LCSC") "C20625731") (field (name "Description") "Abracon ABM8-272-T3")) (libsource (lib "Device") (part "Crystal_GND24") (description "")) (sheetpath (names "/") (tstamps "/")) (tstamps "4ba41f66-42a9-59cd-bbed-74cddfb5dba6"))
)
(nets
(net (code "1") (name "+1V1")
(node (ref "C13") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "C14") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "C15") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "TP3") (pin "1") (pinfunction "1") (pintype "passive"))
(node (ref "U1") (pin "23") (pinfunction "DVDD") (pintype "power_in"))
(node (ref "U1") (pin "45") (pinfunction "VREG_VOUT") (pintype "power_out"))
(node (ref "U1") (pin "50") (pinfunction "DVDD") (pintype "passive"))
)
(net (code "2") (name "+3V3")
(node (ref "C3") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "C4") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "C5") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "C6") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "C7") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "C8") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "C9") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "C10") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "C11") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "C12") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "C18") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "C23") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "C24") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "C29") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "C30") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "C31") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "C32") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "C33") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "R10") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "TP2") (pin "1") (pinfunction "1") (pintype "passive"))
(node (ref "U1") (pin "1") (pinfunction "IOVDD") (pintype "power_in"))
(node (ref "U1") (pin "10") (pinfunction "IOVDD") (pintype "passive"))
(node (ref "U1") (pin "22") (pinfunction "IOVDD") (pintype "passive"))
(node (ref "U1") (pin "33") (pinfunction "IOVDD") (pintype "passive"))
(node (ref "U1") (pin "42") (pinfunction "IOVDD") (pintype "passive"))
(node (ref "U1") (pin "43") (pinfunction "ADC_AVDD") (pintype "power_in"))
(node (ref "U1") (pin "44") (pinfunction "VREG_IN") (pintype "power_in"))
(node (ref "U1") (pin "48") (pinfunction "USB_VDD") (pintype "power_in"))
(node (ref "U1") (pin "49") (pinfunction "IOVDD") (pintype "passive"))
(node (ref "U2") (pin "8") (pinfunction "VCC") (pintype "power_in"))
(node (ref "U3") (pin "5") (pinfunction "VOUT") (pintype "power_out"))
(node (ref "U5") (pin "26") (pinfunction "VCC") (pintype "power_in"))
(node (ref "U6") (pin "26") (pinfunction "VCC") (pintype "power_in"))
(node (ref "U7") (pin "14") (pinfunction "VDDIO") (pintype "power_in"))
(node (ref "U7") (pin "16") (pinfunction "VIN") (pintype "power_in"))
)
(net (code "3") (name "/A_CTS")
(node (ref "U1") (pin "4") (pinfunction "GPIO2") (pintype "bidirectional"))
(node (ref "U5") (pin "20") (pinfunction "R2OUT") (pintype "output"))
)
(net (code "4") (name "/A_DCD")
(node (ref "U1") (pin "7") (pinfunction "GPIO5") (pintype "bidirectional"))
(node (ref "U5") (pin "19") (pinfunction "T4IN") (pintype "input"))
)
(net (code "5") (name "/A_DSR")
(node (ref "U1") (pin "6") (pinfunction "GPIO4") (pintype "bidirectional"))
(node (ref "U5") (pin "22") (pinfunction "T3IN") (pintype "input"))
)
(net (code "6") (name "/A_DTR")
(node (ref "U1") (pin "9") (pinfunction "GPIO7") (pintype "bidirectional"))
(node (ref "U5") (pin "18") (pinfunction "R3OUT") (pintype "output"))
)
(net (code "7") (name "/A_R1OUTB")
(node (ref "U1") (pin "30") (pinfunction "GPIO19") (pintype "bidirectional"))
(node (ref "U5") (pin "16") (pinfunction "R1OUTB") (pintype "output"))
)
(net (code "8") (name "/A_RI")
(node (ref "U1") (pin "8") (pinfunction "GPIO6") (pintype "bidirectional"))
(node (ref "U5") (pin "17") (pinfunction "T5IN") (pintype "input"))
)
(net (code "9") (name "/A_RTS")
(node (ref "U1") (pin "5") (pinfunction "GPIO3") (pintype "bidirectional"))
(node (ref "U5") (pin "23") (pinfunction "T2IN") (pintype "input"))
)
(net (code "10") (name "/A_RX")
(node (ref "TP9") (pin "1") (pinfunction "1") (pintype "passive"))
(node (ref "U1") (pin "3") (pinfunction "GPIO1") (pintype "bidirectional"))
(node (ref "U5") (pin "21") (pinfunction "R1OUT") (pintype "output"))
)
(net (code "11") (name "/A_SHDN_N")
(node (ref "R12") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U1") (pin "27") (pinfunction "GPIO16") (pintype "bidirectional"))
(node (ref "U5") (pin "14") (pinfunction "~{SHUTDOWN}") (pintype "input"))
)
(net (code "12") (name "/A_STATUS")
(node (ref "U1") (pin "31") (pinfunction "GPIO20") (pintype "bidirectional"))
(node (ref "U5") (pin "15") (pinfunction "STATUS") (pintype "output"))
)
(net (code "13") (name "/A_TX")
(node (ref "TP8") (pin "1") (pinfunction "1") (pintype "passive"))
(node (ref "U1") (pin "2") (pinfunction "GPIO0") (pintype "bidirectional"))
(node (ref "U5") (pin "24") (pinfunction "T1IN") (pintype "input"))
)
(net (code "14") (name "/BOOTSEL_SW")
(node (ref "R9") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "SW1") (pin "1") (pinfunction "1") (pintype "passive"))
)
(net (code "15") (name "/B_CTS")
(node (ref "U1") (pin "17") (pinfunction "GPIO14") (pintype "bidirectional"))
(node (ref "U6") (pin "18") (pinfunction "ROUT2") (pintype "output"))
)
(net (code "16") (name "/B_DCD")
(node (ref "U1") (pin "13") (pinfunction "GPIO10") (pintype "bidirectional"))
(node (ref "U6") (pin "16") (pinfunction "ROUT4") (pintype "output"))
)
(net (code "17") (name "/B_DSR")
(node (ref "U1") (pin "12") (pinfunction "GPIO9") (pintype "bidirectional"))
(node (ref "U6") (pin "17") (pinfunction "ROUT3") (pintype "output"))
)
(net (code "18") (name "/B_DTR")
(node (ref "U1") (pin "11") (pinfunction "GPIO8") (pintype "bidirectional"))
(node (ref "U6") (pin "12") (pinfunction "DIN3") (pintype "input"))
)
(net (code "19") (name "/B_FORCEOFF_N")
(node (ref "R13") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U1") (pin "28") (pinfunction "GPIO17") (pintype "bidirectional"))
(node (ref "U6") (pin "22") (pinfunction "~{FORCEOFF}") (pintype "input"))
)
(net (code "20") (name "/B_INVALID")
(node (ref "U1") (pin "32") (pinfunction "GPIO21") (pintype "bidirectional"))
(node (ref "U6") (pin "21") (pinfunction "INVALID") (pintype "output"))
)
(net (code "21") (name "/B_RI")
(node (ref "U1") (pin "14") (pinfunction "GPIO11") (pintype "bidirectional"))
(node (ref "U6") (pin "15") (pinfunction "ROUT5") (pintype "output"))
)
(net (code "22") (name "/B_RTS")
(node (ref "U1") (pin "18") (pinfunction "GPIO15") (pintype "bidirectional"))
(node (ref "U6") (pin "13") (pinfunction "DIN2") (pintype "input"))
)
(net (code "23") (name "/B_RX")
(node (ref "TP11") (pin "1") (pinfunction "1") (pintype "passive"))
(node (ref "U1") (pin "16") (pinfunction "GPIO13") (pintype "bidirectional"))
(node (ref "U6") (pin "19") (pinfunction "ROUT1") (pintype "output"))
)
(net (code "24") (name "/B_TX")
(node (ref "TP10") (pin "1") (pinfunction "1") (pintype "passive"))
(node (ref "U1") (pin "15") (pinfunction "GPIO12") (pintype "bidirectional"))
(node (ref "U6") (pin "14") (pinfunction "DIN1") (pintype "input"))
)
(net (code "25") (name "/CC1")
(node (ref "J1") (pin "A5") (pinfunction "CC1") (pintype "bidirectional"))
(node (ref "R1") (pin "1") (pinfunction "~") (pintype "passive"))
)
(net (code "26") (name "/CC2")
(node (ref "J1") (pin "B5") (pinfunction "CC2") (pintype "bidirectional"))
(node (ref "R2") (pin "1") (pinfunction "~") (pintype "passive"))
)
(net (code "27") (name "/CPA_C1M")
(node (ref "C19") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "U5") (pin "25") (pinfunction "C1-") (pintype "passive"))
)
(net (code "28") (name "/CPA_C1P")
(node (ref "C19") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U5") (pin "28") (pinfunction "C1+") (pintype "passive"))
)
(net (code "29") (name "/CPA_C2M")
(node (ref "C20") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "U5") (pin "3") (pinfunction "C2-") (pintype "passive"))
)
(net (code "30") (name "/CPA_C2P")
(node (ref "C20") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U5") (pin "1") (pinfunction "C2+") (pintype "passive"))
)
(net (code "31") (name "/CPA_VM")
(node (ref "C22") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U5") (pin "4") (pinfunction "V-") (pintype "passive"))
)
(net (code "32") (name "/CPA_VP")
(node (ref "C21") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U5") (pin "27") (pinfunction "V+") (pintype "passive"))
)
(net (code "33") (name "/CPB_C1M")
(node (ref "C25") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "U6") (pin "24") (pinfunction "C1-") (pintype "passive"))
)
(net (code "34") (name "/CPB_C1P")
(node (ref "C25") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U6") (pin "28") (pinfunction "C1+") (pintype "passive"))
)
(net (code "35") (name "/CPB_C2M")
(node (ref "C26") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "U6") (pin "2") (pinfunction "C2-") (pintype "passive"))
)
(net (code "36") (name "/CPB_C2P")
(node (ref "C26") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U6") (pin "1") (pinfunction "C2+") (pintype "passive"))
)
(net (code "37") (name "/CPB_VM")
(node (ref "C28") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U6") (pin "3") (pinfunction "V-") (pintype "passive"))
)
(net (code "38") (name "/CPB_VP")
(node (ref "C27") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U6") (pin "27") (pinfunction "V+") (pintype "passive"))
)
(net (code "39") (name "/DB25_FG")
(node (ref "J2") (pin "1") (pinfunction "1") (pintype "passive"))
(node (ref "R11") (pin "1") (pinfunction "~") (pintype "passive"))
)
(net (code "40") (name "GND")
(node (ref "C1") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C2") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C3") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C4") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C5") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C6") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C7") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C8") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C9") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C10") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C11") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C12") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C13") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C14") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C15") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C16") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C17") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C18") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C21") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C22") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C23") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C24") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C27") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C28") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C29") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C30") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C31") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C32") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "C33") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "D1") (pin "2") (pinfunction "A") (pintype "passive"))
(node (ref "D2") (pin "1") (pinfunction "K") (pintype "passive"))
(node (ref "D3") (pin "1") (pinfunction "K") (pintype "passive"))
(node (ref "D4") (pin "1") (pinfunction "K") (pintype "passive"))
(node (ref "D5") (pin "1") (pinfunction "K") (pintype "passive"))
(node (ref "D6") (pin "1") (pinfunction "K") (pintype "passive"))
(node (ref "J1") (pin "A1") (pinfunction "GND") (pintype "passive"))
(node (ref "J1") (pin "A12") (pinfunction "GND") (pintype "passive"))
(node (ref "J1") (pin "B1") (pinfunction "GND") (pintype "passive"))
(node (ref "J1") (pin "B12") (pinfunction "GND") (pintype "passive"))
(node (ref "J2") (pin "7") (pinfunction "7") (pintype "passive"))
(node (ref "R1") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "R2") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "R3") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "R5") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "R11") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "R12") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "R13") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "R14") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "SW1") (pin "2") (pinfunction "2") (pintype "passive"))
(node (ref "SW2") (pin "2") (pinfunction "2") (pintype "passive"))
(node (ref "SW3") (pin "2") (pinfunction "2") (pintype "passive"))
(node (ref "TP4") (pin "1") (pinfunction "1") (pintype "passive"))
(node (ref "U1") (pin "19") (pinfunction "TESTEN") (pintype "input"))
(node (ref "U1") (pin "57") (pinfunction "GND") (pintype "power_in"))
(node (ref "U2") (pin "4") (pinfunction "GND") (pintype "power_in"))
(node (ref "U3") (pin "2") (pinfunction "GND") (pintype "power_in"))
(node (ref "U4") (pin "2") (pinfunction "GND") (pintype "passive"))
(node (ref "U5") (pin "2") (pinfunction "GND") (pintype "power_in"))
(node (ref "U6") (pin "25") (pinfunction "GND") (pintype "power_in"))
(node (ref "U7") (pin "1") (pinfunction "GND") (pintype "power_in"))
(node (ref "U7") (pin "4") (pinfunction "GND") (pintype "power_in"))
(node (ref "U7") (pin "7") (pinfunction "GND") (pintype "power_in"))
(node (ref "U7") (pin "11") (pinfunction "GND") (pintype "power_in"))
(node (ref "U7") (pin "15") (pinfunction "GND") (pintype "power_in"))
(node (ref "U7") (pin "21") (pinfunction "GND") (pintype "power_in"))
(node (ref "Y1") (pin "2") (pinfunction "2") (pintype "passive"))
(node (ref "Y1") (pin "4") (pinfunction "4") (pintype "passive"))
)
(net (code "41") (name "/LED_BT")
(node (ref "R15") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U1") (pin "34") (pinfunction "GPIO22") (pintype "bidirectional"))
)
(net (code "42") (name "/LED_BT_A")
(node (ref "D2") (pin "2") (pinfunction "A") (pintype "passive"))
(node (ref "R15") (pin "2") (pinfunction "~") (pintype "passive"))
)
(net (code "43") (name "/LED_CD")
(node (ref "R17") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U1") (pin "39") (pinfunction "GPIO27_ADC1") (pintype "bidirectional"))
)
(net (code "44") (name "/LED_CD_A")
(node (ref "D4") (pin "2") (pinfunction "A") (pintype "passive"))
(node (ref "R17") (pin "2") (pinfunction "~") (pintype "passive"))
)
(net (code "45") (name "/LED_RD")
(node (ref "R18") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U7") (pin "18") (pinfunction "GPIO1") (pintype "bidirectional"))
)
(net (code "46") (name "/LED_RD_A")
(node (ref "D5") (pin "2") (pinfunction "A") (pintype "passive"))
(node (ref "R18") (pin "2") (pinfunction "~") (pintype "passive"))
)
(net (code "47") (name "/LED_SD")
(node (ref "R19") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U7") (pin "17") (pinfunction "GPIO2") (pintype "bidirectional"))
)
(net (code "48") (name "/LED_SD_A")
(node (ref "D6") (pin "2") (pinfunction "A") (pintype "passive"))
(node (ref "R19") (pin "2") (pinfunction "~") (pintype "passive"))
)
(net (code "49") (name "/LED_TR")
(node (ref "R16") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U1") (pin "38") (pinfunction "GPIO26_ADC0") (pintype "bidirectional"))
)
(net (code "50") (name "/LED_TR_A")
(node (ref "D3") (pin "2") (pinfunction "A") (pintype "passive"))
(node (ref "R16") (pin "2") (pinfunction "~") (pintype "passive"))
)
(net (code "51") (name "/PAIR_BTN")
(node (ref "SW3") (pin "1") (pinfunction "1") (pintype "passive"))
(node (ref "U1") (pin "40") (pinfunction "GPIO28_ADC2") (pintype "bidirectional"))
)
(net (code "52") (name "/QSPI_SCLK")
(node (ref "U1") (pin "52") (pinfunction "QSPI_SCLK") (pintype "output"))
(node (ref "U2") (pin "6") (pinfunction "CLK") (pintype "input"))
)
(net (code "53") (name "/QSPI_SD0")
(node (ref "U1") (pin "53") (pinfunction "QSPI_SD0") (pintype "bidirectional"))
(node (ref "U2") (pin "5") (pinfunction "DI/IO_{0}") (pintype "bidirectional"))
)
(net (code "54") (name "/QSPI_SD1")
(node (ref "U1") (pin "55") (pinfunction "QSPI_SD1") (pintype "bidirectional"))
(node (ref "U2") (pin "2") (pinfunction "DO/IO_{1}") (pintype "bidirectional"))
)
(net (code "55") (name "/QSPI_SD2")
(node (ref "U1") (pin "54") (pinfunction "QSPI_SD2") (pintype "bidirectional"))
(node (ref "U2") (pin "3") (pinfunction "~{WP}/IO_{2}") (pintype "bidirectional"))
)
(net (code "56") (name "/QSPI_SD3")
(node (ref "U1") (pin "51") (pinfunction "QSPI_SD3") (pintype "bidirectional"))
(node (ref "U2") (pin "7") (pinfunction "~{HOLD}/~{RESET}/IO_{3}") (pintype "bidirectional"))
)
(net (code "57") (name "/QSPI_SS")
(node (ref "R9") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U1") (pin "56") (pinfunction "QSPI_SS") (pintype "output"))
(node (ref "U2") (pin "1") (pinfunction "~{CS}") (pintype "input"))
)
(net (code "58") (name "/RS_CTS")
(node (ref "J2") (pin "5") (pinfunction "5") (pintype "passive"))
(node (ref "U5") (pin "6") (pinfunction "T2OUT") (pintype "output"))
(node (ref "U6") (pin "5") (pinfunction "RIN2") (pintype "input"))
)
(net (code "59") (name "/RS_DCD")
(node (ref "J2") (pin "8") (pinfunction "8") (pintype "passive"))
(node (ref "U5") (pin "10") (pinfunction "T4OUT") (pintype "output"))
(node (ref "U6") (pin "7") (pinfunction "RIN4") (pintype "input"))
)
(net (code "60") (name "/RS_DSR")
(node (ref "J2") (pin "6") (pinfunction "6") (pintype "passive"))
(node (ref "U5") (pin "7") (pinfunction "T3OUT") (pintype "output"))
(node (ref "U6") (pin "6") (pinfunction "RIN3") (pintype "input"))
)
(net (code "61") (name "/RS_DTR")
(node (ref "J2") (pin "20") (pinfunction "P20") (pintype "passive"))
(node (ref "U5") (pin "11") (pinfunction "R3IN") (pintype "input"))
(node (ref "U6") (pin "11") (pinfunction "DOUT3") (pintype "output"))
)
(net (code "62") (name "/RS_FORCEON")
(node (ref "R14") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U1") (pin "29") (pinfunction "GPIO18") (pintype "bidirectional"))
(node (ref "U5") (pin "13") (pinfunction "ONLINE") (pintype "input"))
(node (ref "U6") (pin "23") (pinfunction "FORCEON") (pintype "input"))
)
(net (code "63") (name "/RS_RI")
(node (ref "J2") (pin "22") (pinfunction "P22") (pintype "passive"))
(node (ref "U5") (pin "12") (pinfunction "T5OUT") (pintype "output"))
(node (ref "U6") (pin "8") (pinfunction "RIN5") (pintype "input"))
)
(net (code "64") (name "/RS_RTS")
(node (ref "J2") (pin "4") (pinfunction "4") (pintype "passive"))
(node (ref "U5") (pin "9") (pinfunction "R2IN") (pintype "input"))
(node (ref "U6") (pin "10") (pinfunction "DOUT2") (pintype "output"))
)
(net (code "65") (name "/RS_RXD")
(node (ref "J2") (pin "3") (pinfunction "3") (pintype "passive"))
(node (ref "U5") (pin "5") (pinfunction "T1OUT") (pintype "output"))
(node (ref "U6") (pin "4") (pinfunction "RIN1") (pintype "input"))
)
(net (code "66") (name "/RS_TXD")
(node (ref "J2") (pin "2") (pinfunction "2") (pintype "passive"))
(node (ref "U5") (pin "8") (pinfunction "R1IN") (pintype "input"))
(node (ref "U6") (pin "9") (pinfunction "DOUT1") (pintype "output"))
)
(net (code "67") (name "/RUN")
(node (ref "R10") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "SW2") (pin "1") (pinfunction "1") (pintype "passive"))
(node (ref "TP7") (pin "1") (pinfunction "1") (pintype "passive"))
(node (ref "U1") (pin "26") (pinfunction "RUN") (pintype "input"))
)
(net (code "68") (name "/SWCLK")
(node (ref "TP5") (pin "1") (pinfunction "1") (pintype "passive"))
(node (ref "U1") (pin "24") (pinfunction "SWCLK") (pintype "input"))
)
(net (code "69") (name "/SWDIO")
(node (ref "TP6") (pin "1") (pinfunction "1") (pintype "passive"))
(node (ref "U1") (pin "25") (pinfunction "SWD") (pintype "bidirectional"))
)
(net (code "70") (name "/USB_CONN_DM")
(node (ref "J1") (pin "A7") (pinfunction "D-") (pintype "bidirectional"))
(node (ref "J1") (pin "B7") (pinfunction "D-") (pintype "bidirectional"))
(node (ref "R7") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U4") (pin "3") (pinfunction "I/O2") (pintype "passive"))
(node (ref "U4") (pin "4") (pinfunction "I/O2") (pintype "passive"))
)
(net (code "71") (name "/USB_CONN_DP")
(node (ref "J1") (pin "A6") (pinfunction "D+") (pintype "bidirectional"))
(node (ref "J1") (pin "B6") (pinfunction "D+") (pintype "bidirectional"))
(node (ref "R6") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U4") (pin "1") (pinfunction "I/O1") (pintype "passive"))
(node (ref "U4") (pin "6") (pinfunction "I/O1") (pintype "passive"))
)
(net (code "72") (name "/USB_DM")
(node (ref "R7") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "U1") (pin "46") (pinfunction "USB_DM") (pintype "bidirectional"))
)
(net (code "73") (name "/USB_DP")
(node (ref "R6") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "U1") (pin "47") (pinfunction "USB_DP") (pintype "bidirectional"))
)
(net (code "74") (name "/USB_SHIELD")
(node (ref "C1") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "J1") (pin "S1") (pinfunction "SHIELD") (pintype "passive"))
(node (ref "R3") (pin "1") (pinfunction "~") (pintype "passive"))
)
(net (code "75") (name "VBUS")
(node (ref "C2") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "D1") (pin "1") (pinfunction "K") (pintype "passive"))
(node (ref "F1") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "R4") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "TP1") (pin "1") (pinfunction "1") (pintype "passive"))
(node (ref "U3") (pin "1") (pinfunction "VIN") (pintype "power_in"))
(node (ref "U3") (pin "3") (pinfunction "EN") (pintype "input"))
(node (ref "U4") (pin "5") (pinfunction "VBUS") (pintype "passive"))
)
(net (code "76") (name "VBUS_IN")
(node (ref "F1") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "J1") (pin "A4") (pinfunction "VBUS") (pintype "passive"))
(node (ref "J1") (pin "A9") (pinfunction "VBUS") (pintype "passive"))
(node (ref "J1") (pin "B4") (pinfunction "VBUS") (pintype "passive"))
(node (ref "J1") (pin "B9") (pinfunction "VBUS") (pintype "passive"))
)
(net (code "77") (name "/VBUS_SENSE")
(node (ref "R4") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "R5") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U7") (pin "8") (pinfunction "GPIO0") (pintype "bidirectional"))
)
(net (code "78") (name "/WL_CLK")
(node (ref "U1") (pin "41") (pinfunction "GPIO29_ADC3") (pintype "bidirectional"))
(node (ref "U7") (pin "3") (pinfunction "SCLK") (pintype "input"))
)
(net (code "79") (name "/WL_CS")
(node (ref "U1") (pin "37") (pinfunction "GPIO25") (pintype "bidirectional"))
(node (ref "U7") (pin "9") (pinfunction "CS") (pintype "input"))
)
(net (code "80") (name "/WL_D")
(node (ref "R20") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "R21") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "U1") (pin "36") (pinfunction "GPIO24") (pintype "bidirectional"))
(node (ref "U7") (pin "5") (pinfunction "DATA_IN") (pintype "input"))
)
(net (code "81") (name "/WL_DOUT")
(node (ref "R20") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U7") (pin "6") (pinfunction "DATA_OUT") (pintype "output"))
)
(net (code "82") (name "/WL_IRQ")
(node (ref "R21") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U7") (pin "10") (pinfunction "~{IRQ}") (pintype "output"))
)
(net (code "83") (name "/WL_ON")
(node (ref "U1") (pin "35") (pinfunction "GPIO23") (pintype "bidirectional"))
(node (ref "U7") (pin "12") (pinfunction "WL_ON") (pintype "input"))
(node (ref "U7") (pin "13") (pinfunction "BT_ON") (pintype "input"))
)
(net (code "84") (name "/XIN")
(node (ref "C16") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U1") (pin "20") (pinfunction "XIN") (pintype "input"))
(node (ref "Y1") (pin "1") (pinfunction "1") (pintype "passive"))
)
(net (code "85") (name "/XOUT")
(node (ref "R8") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "U1") (pin "21") (pinfunction "XOUT") (pintype "output"))
)
(net (code "86") (name "/XTAL_OUT")
(node (ref "C17") (pin "1") (pinfunction "~") (pintype "passive"))
(node (ref "R8") (pin "2") (pinfunction "~") (pintype "passive"))
(node (ref "Y1") (pin "3") (pinfunction "3") (pintype "passive"))
)
)
)