Rank 7 of 7 in RP2350 dev board
GPT-6.1 Sol in Codex desktop
OpenAI's GPT-6.1 Sol on medium reasoning, in Codex in the ChatGPT desktop app, with computer use.
25.9 of 100−20 for a failed gate
Rendered by kicad-cli with the run's own KiCad version. Dimensions in mm. The layers are the plots the AI judge saw, seen from the top, with their white background made dark. Click one to open it at full size.
- AI cost
- $6.41
- Time
- 1 h 18 min
- Tokens, incl. cache reads
- 21.0M
- 1 board
- $246.31
- 5 boards, per board
- $77.64
- Board size
- 80 × 65 mm
- Machine
- EC2 Mac (mac2-m2)
- chatgpt
- 26.1103.60933
- codex
- codex-cli 0.167.0-alpha.3.2
- kicad
- 10.99.0-6353-g0ef63a79e8
- texttocad
- none
Score
Design review7 of 20
- Layout6 of 101 minus 0.1 per minor and 0.2 per major layout finding, down to 0
- Routing1 of 10the same, for routing findings
Circuit checks15.6 of 20
- Decoupling4.6 of 5RP2350 power pins with a capacitor within 3.2 mm
- USB protection5 of 50.5 for an ESD part on D+ and D−, plus 0.25 for each line with a series resistor
- Antenna keepout5 of 51 when there are keepouts and no copper is in them
- Battery drain1 of 51 at 5 µA or less drawn by unswitched battery dividers, falling linearly to 0 at 25 µA
Layout checks9.2 of 30
- Thermal pads0 of 10mean over the exposed pads of their vias over the number needed, 0 for a pad with no plane on another layer
- Grounding6.8 of 10USB, QSPI and microSD track length over a ground plane on the next layer
- Silkscreen1.8 of 5texts at least 0.8 mm high
- Board size0.6 of 51 at the Feather RP2350's 50.8 × 22.8 mm area or less, falling linearly to 0 at 5 times that area
Orderable14 of 20
- Fab notes5 of 51 when every fab option in the notes can be ordered from PCBWay
- Board5 of 51 when the board needs no rework
- BOM lines4 of 101 minus 0.2 for each BOM line that needs a fix, down to 0
Parts data0 of 10
- 3D models0 of 5parts with a 3D model
- Supplier part numbers0 of 5BOM lines with a valid number from at least one supplier
| The five groups | 45.8 |
|---|---|
| Failed gate: Fatal review finding | −20 |
| Score | 25.9 of 100 |
Gates
A board that fails a gate loses 20 points. The gates are the three checks below, every prompt feature, and any fatal review finding.
| Check | Result | What the check found |
|---|---|---|
| Crystal and load capacitors | Pass | Y1 ABM8-272-T3 (CL 10 pF) between XIN and XOUT via R1 1k; load caps XIN: C1 15p; XTAL_OUT: C2 15p; needs 10.5–17.5 pF per side for 3 pF stray |
| BOOTSEL and RUN buttons | Pass | QSPI_SS (FLASH_CS) → R11 → SW1 → GND; RUN (RUN) → SW2 → GND |
| Charger power path | Pass | U6 BQ24074RGTR: U6 IN (VBUS) is on J1 VBUS; BAT (BAT) goes to J2; U7 TPS63060DSCR makes +3V3 from OUT (VSYS) |
Prompt features
- Found RP2350 U1
- Found QSPI flash U2
- Found PSRAM U3
- Found USB-C J1
- Found Wi-Fi and BLE U9
- Found microSD J3
- Found Qwiic J4
- Found RGB LED D1
- Found Power-path charger U6
- Found Battery monitoring R27
Design review 7 of 20
Opus 5.5 reviewed an anonymous copy of the board and listed 11 findings. Layout and routing each start at 10 points.
Fatal
Layout
The microSD socket J3 faces into the board. Its card opening points away from the edge, and R35-R39, C40 and C41 sit in the card's insertion path, so no card can be inserted.
Evidence
J3 (Molex 104031-0811) is at (173,140), rotated 90 deg. In the stock footprint the card opening and the protrusion of the inserted card are on the local -y side, at the pin 1-8 row. The F.Fab card outline runs to y=-9.7, about 4 mm past the 11.4 mm body, and the silkscreen is open on that side. On the board this puts the opening at x~167.5, facing left, with the card reaching x~163.3. The socket rear (x~178.8) faces the right board edge at x=180. Parts in the card path: R35-R39 at x~163.1-163.6, y 134-144; C40 (0805) at (162.55-163.5,138); C41 at (164.94-165.42,139.96).
Major
Routing
The charger-to-battery path is a 0.15 mm trace for its whole length. It is far too narrow for the 1.5 A battery current and takes a detour.
Evidence
F.Cu, 0.15 mm wide, from U6 BAT pads 2/3 at (107.562,146.75)/(107.562,147.25) via (105.144,146.985), (103.955,145.796), (103.955,143.045), past TP5 (105,142), then (108,139) to J2 pin 1 at (109,139). Routed length is 13.2 mm against 7.9 mm straight.
The charger output narrows to 0.15-0.2 mm at both ends and changes layer through single small vias. The full 1.5 A system current goes through these sections.
Evidence
U6 OUT pads 10/11 at (110.438,146.75)/(110.438,147.25) join through 0.15 mm traces to x=111.15, then the 0.15 mm segment (111.15,147.25)-(111.35,147.25), before widening to 0.5 mm. The path drops through one 0.6/0.3 mm via at (111.4,149.2) into the B.Cu pour (104.5-118.6, 129.9-154.2) and comes up through one 0.6/0.3 mm via at (109.5,133.05). U7 VIN pin 2 is fed by a 0.2 mm trace, (111.325,131.5)-(110.0,131.5).
The SD bus takes long detours with many vias. SD_MISO loops back under the QSPI memory area, and the SD clock series resistor sits far from its source pin.
Evidence
SD_MISO from U1.16 (127.2,140.45) to J3.7 is 64.6 mm routed against 40.5 mm straight, with 8 vias on the path (9 in the net): (125.50,140.04), (126.05,128.50), (128.50,128.35), (131.05,127.20), (132.95,129.10), (136.30,132.50), (136.84,135.08), (163.31,136.80). It loops up to y~127 under the flash/PSRAM area. SD_SCK_SRC from U1.14 (126.55,139.4) to R41 (140,135) is 20.2 mm routed with 3 vias, 14 mm straight. SD_SCK then runs another 32.7 mm with 2 vias to J3.5. The SD pins GPIO10-13 are on U1's left and bottom sides, and J3 is at the right edge.
Minor
Layout
The PSRAM sits far from the RP2350's QSPI pins.
Evidence
U3's center is 11.7 mm from the QSPI pins, and its signal pins are 9-14.6 mm from the matching U1 pins. For example, U3.1 to U1.2 is 14.6 mm and U3.2 to U1.59 is 13.6 mm.
The BOOTSEL, RESET and ESP BOOT buttons are in the board interior instead of at an edge. SW1 and SW2 sit behind the J7 header.
Evidence
SW1 BOOTSEL at (129,149) and SW2 RESET at (139.4,148) are about 16 mm from the bottom edge (y=165), behind J7. SW3 ESP BOOT at (151.7,128.4) is about 28 mm from the nearest edge.
The battery connector is not at the board edge.
Evidence
J2 (JST PH) at (109,139) is about 7 mm in from the left edge at x=100.
The SWD connector is in the board interior.
Evidence
J5 at (152,144) is about 21 mm from the bottom edge (y=165) and 28 mm from the right edge (x=180).
Routing
The QSPI traces are about twice their straight-line length and use 2-3 vias each. QSPI_D3 is daisy-chained, and FLASH_CS has a long branch to the BOOTSEL resistor and a long stub to its pull-up.
Evidence
QSPI_D3: U1.55 to U2.7 is 24.1 mm against 11.2 mm straight, chained U1 -> PSRAM -> flash. QSPI_D1: U1.59 to U3.2 is 25.3 mm against 13.6 mm, 3 vias. QSPI_D2: U1.58 to U3.3 is 21.9 mm against 13.1 mm, 3 vias. FLASH_CS: U1.60 to U2.1 is 18.6 mm against 10.5 mm, 3 vias. Its branch to R11 (128.69,144.84) is 19.9 mm with 4 vias, 6 vias in the net. The R5 pull-up at (138.2,127) is an 11 mm stub from U2.3 (128.41,125.64).
XIN detours through 2 vias and runs about 10 mm on the +3V3 plane layer. XOUT is routed directly.
Evidence
XIN from U1.21 (129.2,140.45) to Y1.1 (121.9,142.85) is 13.7 mm routed against 7.7 mm straight. Vias at (129.29,139.11), inside the QFN outline, and (123.11,144.14), with about 10 mm on In2.Cu (+3V3 pour). XOUT is 5.6 mm on F.Cu with no vias.
The USB input power path is routed at 0.15 mm and narrows to 0.1124 mm in places. It carries up to about 500 mA.
Evidence
0.1124 mm segment from (112.303,160.0) to (114.176,160.0). VBUS runs 10 mm on In2.Cu at 0.15 mm, from (110.19,149.86) to (116.64,149.86).
Opus 5.5's notes
I wrote review.json with 11 findings. It loads as valid JSON, and every net in it exists on the board. The four schematics and the board were upgraded in place to the connector's KiCad version earlier, with no other design changes. The original files are in scratch/orig/.
| # | Area | Severity | Refs | Problem |
|---|---|---|---|---|
| 1 | layout | fatal | J3 | The microSD socket opening faces into the board at x≈167.5. R35–R39, C40 and C41 block the card path, so no card can be inserted. |
| 2 | routing | major | U6, J2 | The BAT path is 0.15 mm wide for all 13.2 mm, carrying 1.5 A. |
| 3 | routing | major | U6, U7 | VSYS narrows to 0.15 mm at the U6 output and 0.2 mm at U7's input, and uses single 0.3 mm vias. |
| 4 | routing | major | U1, J3, R41 | SD_MISO is 64.6 mm long (40.5 mm straight) with 8 vias, looping under the QSPI area. The clock resistor R41 is 20 mm of trace from its source pin. |
| 5 | routing | minor | U1, U2, U3 | QSPI traces are about twice their straight length, with 2–3 vias each, D3 daisy-chained and an 11 mm stub to R5. |
| 6 | routing | minor | Y1 | XIN uses 2 vias and runs about 10 mm on the +3V3 plane layer. |
| 7 | routing | minor | J1, F1 | The USB VBUS input is 0.15 mm wide, down to 0.1124 mm in places. |
| 8 | layout | minor | U3 | The PSRAM pins are 9–14.6 mm from the QSPI pins. |
| 9 | layout | minor | SW1–SW3 | The buttons sit in the board interior, and SW1/SW2 are behind J7. |
| 10 | layout | minor | J2 | The battery connector is about 7 mm in from the edge. |
| 11 | layout | minor | J5 | The SWD connector is in the board interior. |
The handoff left U7's +3V3 output open, and I left it out of the review. The output has one narrow part, a 0.2 mm trace 1.1 mm long at pin 9, and it reaches the In2 +3V3 plane through four vias. That's plenty for the board's real load of about 0.5 A.
I also left these out:
- The duplicated +3V3 track segments, because they're harmless.
- The antenna placement and the USB-C position, which are both fine.
- The BUCK_L1/L2 necks at the pads, which I judged marginal.
The first pass of the file had four net names that don't exist on the board. I replaced them with the real names, such as QSPI_CLK and SD_SCK, before the final check.
Circuit checks 15.6 of 20
Decoupling
4.6 of 513 of 14 RP2350 power pins have a capacitor within 3.2 mm.
| Pin | Pad | Net | Nearest capacitor | Distance |
|---|---|---|---|---|
| IOVDD | 1 | +3V3 | C6 | 1.24 mm |
| DVDD | 6 | +1V1 | C13 | 2.01 mm |
| IOVDD | 11 | +3V3 | C7 | 2.35 mm |
| IOVDD | 20 | +3V3 | C8 | 1.26 mm |
| DVDD | 23 | +1V1 | C14 | 3.2 mm |
| IOVDD | 30 | +3V3 | C9 | 2.81 mm |
| IOVDD | 38 | +3V3 | C9 | 1.89 mm |
| DVDD | 39 | +1V1 | C15 | 1.36 mm |
| ADC_AVDD | 44 | +3V3_ADC | C17 | 2.03 mm |
| IOVDD | 45 | +3V3 | C10 | 1.45 mm |
| VREG_AVDD | 46 | +3V3 | C12 | 1.47 mm |
| VREG_VIN | 49 | +3V3 | C12 | 1.84 mm |
| USB_OTP_VDD | 53 | +3V3 | C12 | 3.07 mm |
| QSPI_IOVDD | 54 | +3V3 | C12 | 3.43 mm |
USB protection
5 of 5- ESD parts on D+ and D−
- U5
- D+ nets, connector to RP2350
- USB_DP → USB_DP_MCU series resistor
- D− nets, connector to RP2350
- USB_DM → USB_DM_MCU series resistor
Differential pair, not scored
- D+ and D− length
- 51.45 mm and 52.84 mm
- Mismatch
- 1.39 mm
- Vias
- 2
- Longest coupled stretch
- 37.66 mm on F.Cu, 0.15 mm wide, 0.15 mm gap
- Differential impedance
- 87.9 Ω
Antenna keepout
5 of 51 keepout covers the Wi-Fi module U9.
| Keepout | Layers | Copper inside |
|---|---|---|
| U9 footprint | F.Cu, B.Cu, In1.Cu, In2.Cu | none |
Battery drain
1 of 5Unswitched dividers draw 21 µA from a full battery, even when the board is off.
| Divider | Buffered by | Switched by | At 4.2 V |
|---|---|---|---|
| R25 100k / R26 100k | U8 | none | 21 µA |
Layout checks 9.2 of 30
Thermal pads
0 of 10| Exposed pad | Net | Vias | Needed | Plane on another layer |
|---|---|---|---|---|
| U1 | GND | 0 | 9 | yes |
| U6 | GND | 0 | 5 | yes |
| U7 | GND | 0 | 5 | yes |
Grounding
6.8 of 10| Bus | Over ground | Track length | Share |
|---|---|---|---|
| USB | 101.7 mm | 104.3 mm | 97.5% |
| QSPI | 94 mm | 171.3 mm | 54.9% |
| microSD | 204.6 mm | 311 mm | 65.8% |
| All three | 400.3 mm | 586.6 mm | 68.2% |
Silkscreen
1.8 of 59 of 14 texts are below PCBWay's 0.8 mm minimum. The smallest is 0.7 mm.
Board size
0.6 of 580 × 65 mm, 5200 mm². The Feather RP2350 is 50.8 × 22.8 mm.
Orderable 14 of 20
| 1 board | 5 boards | |
|---|---|---|
| PCBs | $110.49 | $110.49 |
| Assembly | $88.00 | $117.41 |
| Components | $47.82 | $160.29 |
| Total | $246.31 | $388.19 |
| Per board | $246.31 | $77.64 |
PCBWay's instant quote for the options in the fab notes, without shipping. PCBWay makes at least 5 PCBs, so 1 board is 5 PCBs with 1 assembled. Parts are at distributor list prices. The prices include the fixes below.
Fixes made to price the order
| Area | Parts | Problem | Fix |
|---|---|---|---|
| BOM | L2 | Legacy part: Coilcraft sells the ML termination only to existing customers | Priced LPS3010-103MRC, its halogen-free replacement with the same footprint |
Fab notes
5 of 5No fixes needed.
Board
5 of 5No fixes needed.
BOM lines
4 of 103 of 51 BOM lines need a fix.
- L2: Legacy part: Coilcraft sells the ML termination only to existing customers
- not stocked for 5 boards: C5 C16 C18 C22 C37; D1
Parts data 0 of 10
3D models
0 of 5121 parts have no 3D model the run's KiCad can load: C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23, C24, C25, C26, C27, C28, C29, C30, C31, C32, C33, C34, C35, C36, C37, C38, C39, C40, C41, C42, C43, C44, C45, C46, D1, F1, J1, J2, J3, J4, J5, J6, J7, L1, L2, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21, R22, R23, R24, R25, R26, R27, R28, R29, R30, R31, R32, R33, R34, R35, R36, R37, R38, R39, R40, R41, R42, R43, R44, R45, R46, R47, R48, SW1, SW2, SW3, U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, U12, Y1.
Supplier part numbers
0 of 50 of 51 BOM lines have a valid supplier part number.
LCSC 0%, Digi-Key 0%, Mouser 0%
Stock
94.1% of 51 BOM lines are stocked for 5 boards at LCSC, JLCPCB or Digi-Key.
| Parts | MPN | Needed |
|---|---|---|
| C5 C16 C18 C22 C37 | GRM188R71C105KA12D | 25 |
| D1 | WS2812B-2020 | 5 |
| L2 | LPS3010-103MLC | 5 |
| Parts | MPN | At |
|---|---|---|
| C5 C16 C18 C22 C37 | GRM188R71C105KA12D | Digi-Key |
| C14 C19 C24 C43 C44 | GRM188R61A475KE15D | Digi-Key |
| D1 | WS2812B-2020 | LCSC |
DRC and ERC
| Errors | Warnings | Unconnected | |
|---|---|---|---|
| DRC | 0 | 0 | 0 |
| ERC | 0 | 0 |
Files
The agent's README
Aster2350 — RP2350 development board
Revision A · designed November 9, 2026 · 80 × 65 mm · four layers
A USB-C and single-cell LiPo development board with RP2350A, 16 MiB QSPI flash, 8 MiB QSPI PSRAM, 2.4 GHz Wi-Fi/Bluetooth LE, microSD, Qwiic/STEMMA QT, an addressable RGB LED, SWD and populated GPIO headers. PCBWay assembles every purchased component, including the battery connector and both GPIO headers. No component is designated DNP or left for user soldering.
Files
Aster2350.kicad_pro,Aster2350.kicad_sch,Aster2350.kicad_pcb: the project and routed board. The schematic has three child sheets:processor.kicad_sch,power.kicad_sch,interfaces.kicad_sch.libraries/,sym-lib-table,fp-lib-table: project-local symbols and footprints. No external symbol/footprint libraries or proprietary CAD plug-ins are required. 3D models are not required or bundled.fab/: Gerbers, plated/nonplated drill files, stencil layers, BOM, placements, assembly/fabrication drawings, schematic PDF, electrical-test netlist and CAD verification reports.fab/ASSEMBLY.mdis the PCBWay order specification. The manufacturing ZIP is the same manufacturing packet, not a different design variant.design-data.json: component/pin assignments, MPNs, physical placement and decisions in machine-readable form.references/: source documents used for the design, with a source index. These are reference material, not fabrication instructions.tools/: design-generation, routing-session import and release/check tools. Do not rerun the design generator on the delivered routed board unless you intend to regenerate and reroute it. Normal edits are made in KiCad.
Open the project, not an isolated sheet, so hierarchical/global-label cross references resolve. The design is generated and checked with KiCad 10.99.0-6353-g0ef63a79e8. The delivered primary board is exported in KiCad 10.0-compatible format without forced feature dropping, then rechecked for DRC and schematic parity; fab/Aster2350-KiCad10.kicad_pcb is an identical compatibility copy. Project-local libraries carry the actual pad geometries used. Do not assume compatibility with KiCad 9 or earlier.
Release status — read before ordering
Final CAD checks: 0 ERC violations, 0 DRC violations, 0 unconnected items, 0 schematic parity issues, plus an independent XML-netlist-to-PCB-pad comparison. There are 121 fitted purchased parts across 51 BOM lines: 118 top SMT parts and 3 factory-soldered THT parts. The USB-C connector also has four plated shell slots that PCBWay must solder. fab/validation.json and fab/VALIDATION.md record the checks and their limitations.
Send fab/Aster2350-RevA-PCBWay.zip for a turnkey fabrication + full assembly quote. It contains manufacturing outputs and a self-contained source/ project. fab/SHA256SUMS checks the packet files and archive. See fab/ASSEMBLY.md for the exact stack, procurement policy, first-article hold and programming requirements.
This is an unbuilt engineering prototype, not a physically validated or certified product. CAD electrical, connectivity and clearance checks are supplied; they cannot verify analogue stability, QSPI margins, USB impedance/compliance, radio range, charging temperatures or firmware behavior. Obtain PCBWay DFM/procurement confirmation, order a small first-article lot, and complete the tests in fab/ASSEMBLY.md before a volume order. Component inventory/lead times have not been reserved, and no factory purchase/order has been submitted.
The PCB/assembly package is intended for turnkey manufacture. External accessories (battery, cable, card, debug probe and Qwiic peripherals) and production firmware binaries are not included. The board can boot through the RP2350 USB ROM loader with blank flash. Wi-Fi and BLE require ESP32-C3 firmware and a host driver configured for this board's pins; do not assume the module's factory image is compatible.
Hardware and key decisions
| Function | Selection / rationale |
|---|---|
| Main MCU | RP2350A, QFN60, 30 GPIO, nominal 150 MHz; no overclocking assumption |
| Flash | Winbond W25Q128JVSIQ, 128 Mbit = 16 MiB, 3 V SOIC8/208 mil |
| PSRAM | AP Memory APS6404L-3SQR-SN, 64 Mbit = 8 MiB, 3.3 V SOP8/150 mil |
| Memory bus | Shared QSPI D0–D3/clock; independent flash CS and GPIO0/QMI CS1n for PSRAM; 4.7 kΩ CS pull-ups prevent PSRAM contention during reset |
| Clock | Abracon ABM8-272-T3, 12 MHz, 10 pF load; 15 pF load caps and 1 kΩ XOUT damping resistor from the Raspberry Pi reference approach |
| Core supply | External TLV75801PDRVR adjustable LDO, fixed 1.10 V via equal 10 kΩ divider resistors; avoids the RP2350 internal switcher's placement/polarized-inductor dependency |
| Main supply | TPS63060 buck-boost, nominal 3.31 V, 1.5 µH shielded XFL4020; supports a LiPo below or above 3.3 V and the charger's 4.4 V system output |
| USB | GCT USB4105-GF-A, USB 2.0 full-speed device, both orientations; separate 5.1 kΩ CC terminations, ESD array, 27 Ω PHY resistors and 500 mA resettable fuse |
| Charging | BQ24074, 4.2 V 1S charging, USB/battery power path, system-load priority/DPPM, hardware current/timer/NTC protection |
| Battery monitoring | 100 kΩ/100 kΩ divider, RC filter, TLV9001 voltage follower, 1 kΩ ADC isolation and 100 nF reservoir; buffered specifically to avoid large divider error from RP2350 GPIO leakage |
| Wireless | ESP32-C3-WROOM-02-N4, 4 MiB internal module flash, PCB antenna; Wi-Fi 2.4 GHz b/g/n + Bluetooth LE, not Bluetooth Classic |
| Radio power | TPS22919 load switch, reset RC, strap pull-ups and ESP BOOT button; radio off by default to respect USB startup power |
| Storage | Molex 104031-0811 microSD socket, SPI mode, clock damping, pull-ups on all required data/CS pins, mechanical card detect |
| I2C | JST SH 1 mm four-pin Qwiic/STEMMA QT, 3.3 V, I2C0, 2.2 kΩ pull-ups |
| RGB | WS2812B-2020, dedicated switched ~5.06 V boost and SN74AHCT1G125 TTL-input 5 V buffer; no reliance on a 3.3 V-powered LED outside its supply specification |
| Development | Populated 2.54 mm 1×8 headers, 3-pin JST SH SWD, reset/boot buttons and factory test pads |
The core-supply connection follows RP2350 datasheet §6.3.7, Figure 24: VREG_VIN and VREG_AVDD still receive 3.3 V, VREG_FB is grounded, VREG_PGND is ground and VREG_LX is intentionally open. Firmware must set the internal regulator's VREG.HIZ field after boot. Its voltage-changing APIs do not change the external core supply. Fixed 1.1 V is a deliberate choice; firmware must not assume an increased core voltage when selecting an overclock.
The UART coprocessor architecture is chosen instead of a CYW43439 SDIO/SPI radio: the Espressif module packages its own crystal, flash and RF matching/antenna, and is a straightforward turnkey part. This costs a host/coprocessor firmware boundary but avoids discrete RF assembly and licensing/dependency assumptions. BLE runs on the ESP32-C3 and is exposed to the RP2350 through the selected radio firmware/protocol, not through an RP2350-native BLE controller.
Power and battery rules
- J2 is a three-pin JST PH battery port: pin 1 BAT+, pin 2 pack NTC, pin 3 GND. Use a protected 1S Li-ion/LiPo pack with 4.20 V charge voltage, ≥500 mAh capacity, ≥300 mA permitted charge current, ≥1 A discharge capability, and a 10 kΩ at 25°C / approximately 3435 K NTC connected between pins 2 and 3. Confirm the actual pack's pinout and NTC temperature thresholds before use. A conventional two-wire JST-PH LiPo plug is not the connector for this board.
- The cell/protection board/cable are external accessories. The charger is not cell over-discharge, short-circuit, reverse-polarity or cell-balancing protection. The pack must provide the first two; correct polarity is mandatory. Do not use LiFePO4, 4.35 V cells, multicell packs, bare unprotected cells or batteries without a suitable NTC. NTC open/short inhibits charging; there is no fixed resistor pretending to sense the cell temperature.
- Maximum fast-charge setting is nominally
890 / 3570 = 249 mA; tolerance increases the possible maximum, hence the ≥300 mA permitted-charge requirement. In USB500 mode the programmed termination is0.03 × 3300 / 3570 ≈ 27.7 mA, and in USB100 mode it is approximately 9.2 mA. R18 gives a nominal 6.65-hour fast-charge timer (temperature/DPPM may extend elapsed time). Check actual thresholds against the pack specification. - USB starts in 100 mA input-limit mode. GPIO23 may select 500 mA only after USB configuration with an appropriate descriptor, or after explicit source qualification. CC resistors alone do not grant 500 mA, 1.5 A or 3 A. There is no PD controller, higher-voltage negotiation, OTG host mode, or automatic Type-C advertised-current detector. Firmware must handle suspend/reset/disconnect and return the board to a compliant low-power/input-limit state.
- VSYS is about 4.4 V with USB present and follows the protected battery when USB is absent. The BQ24074 supplies system loads first and reduces charging current as required; a battery can supplement USB load peaks. It does not put the system load across the cell in a way that prevents charge termination.
- Radio and RGB enable inputs are pulled low by default. A USB-only board in ROM/startup mode has neither enabled. For USB-only use, keep combined 3.3 V system load conservatively ≤500 mA and RGB brightness low; battery-supported loads can be higher subject to thermal/transient first-article measurements. Do not budget 500 mA charging plus 500 mA system input. Simultaneous radio TX, high-current card writes, external peripherals and full-white RGB should use a suitable connected battery and be characterized.
- External 3.3 V header + Qwiic load budget is 100 mA combined, not per connector, and depends on available input power. Do not feed external power into the 3.3 V, VSYS or core rail. USB is the supported external supply input. LiPo is the supported battery input.
- Battery ADC nominal conversion:
VBAT = 2 × ADC_count / 4095 × measured_ADC_reference. Use ADC3 on GPIO29, disable digital pulls/input as required, allow the RC network to settle, and calibrate gain/offset/reference against a DMM. The divider continuously draws ~21 µA at 4.2 V. The buffer is powered whenever the board is powered. No mechanical power switch is fitted; disconnect the pack for storage.
The charger is a linear charger: when the cell is low, charging can dissipate several hundred mW. Copper/thermal paths are supplied, but thermal derating and real cell temperature behavior must be measured. The RF module's certificates do not certify this complete board, charging system or end product.
RP2350 pin map
| GPIO | Function |
|---|---|
| 0 | PSRAM CS, QMI CS1n; not a free GPIO |
| 1, 2, 3, 8, 9, 15 | GPIO A header |
| 4 | UART1 TX → ESP32-C3 IO20/RXD (RADIO_RX) |
| 5 | UART1 RX ← ESP32-C3 IO21/TXD (RADIO_TX) |
| 6 | UART1 CTS ← ESP IO5/RTS (RADIO_RTS) |
| 7 | UART1 RTS → ESP IO4/CTS (RADIO_CTS) |
| 10 / 11 / 12 / 13 | SPI1 SCK / MOSI / MISO / microSD CS |
| 14 | microSD detect, active low |
| 16 | RGB data, 800 kbit/s GRB |
| 17 | RGB boost enable, high = on |
| 18 / 19 | GPIO B header |
| 20 / 21 | I2C0 SDA / SCL, Qwiic/STEMMA QT |
| 22 | Radio load-switch enable, high = powered |
| 23 | BQ24074 EN1: low = USB100, high = USB500; EN2 hard low |
| 24 | VBUS detect; 5.1 kΩ/6.8 kΩ divider, ~2.86 V at 5 V VBUS |
| 25 | Charger status, active low, open-drain with 3.3 kΩ pull-up |
| 26 / 27 / 28 | GPIO B header, ADC0 / ADC1 / ADC2 |
| 29 | Buffered battery measurement, ADC3 |
Dedicated QSPI pins are D0/D1/D2/D3/clock/flash CS. PSRAM must be configured explicitly by firmware; merely fitting it does not automatically add it to the normal SRAM heap. Begin memory/card testing at conservative clock rates and qualify faster modes on real hardware. Do not use SDMMC mode without a new routing/firmware design; this socket is connected for SPI.
GPIO A / J6 pins 1→8: 3V3, GND, GPIO1, GPIO2, GPIO3, GPIO8, GPIO9, GPIO15. GPIO B / J7 pins 1→8: GND, GPIO18, GPIO19, GPIO26/ADC0, GPIO27/ADC1, GPIO28/ADC2, RUN, 3V3. Pin 1 is the square pad/footprint mark. GPIO is 3.3 V logic, not 5 V tolerant. The RP2350 leakage erratum can affect high-impedance signals; the onboard battery input is buffered and external header analog inputs should be driven from a suitable low-impedance source or buffer.
Qwiic / J4 pins 1→4: GND, 3V3, SDA, SCL. It supplies 3.3 V only. More external pull-ups appear in parallel with the onboard 2.2 kΩ resistors; check sink current/capacitance before chaining many boards.
SWD / J5 pins 1→3: SWCLK, GND, SWDIO, matching the 3-pin Raspberry Pi Debug Probe convention. The target is self-powered; no debug connector power input is provided.
Firmware and bring-up obligations
- Boot the RP2350, configure the fixed external core-supply policy, and set
VREG.HIZ. Leave radio/RGB disabled initially. Disable pulls and digital input circuitry on the ADC pin according to the datasheet. - Enable the normal flash QSPI boot configuration; initialize PSRAM as the second QMI device with GPIO0 CS1n. Its reset pull-up is important and must remain fitted. Follow PSRAM power-up/reset timing and maximum CS-active/refresh intervals; use at most 84 MHz for linear bursts, not its higher wrapped-burst rating. Validate chip ID, capacity and data integrity before increasing clock speed.
- USB firmware declares its actual current requirements and controls GPIO23 after successful host configuration. Implement suspend and disconnect behavior. USB compliance/idle/suspend current is not claimed without measurements.
- Build ESP32-C3 firmware with RX IO20, TX IO21, CTS IO4 and RTS IO5. UART signal names in the schematic are from the radio perspective. An AT firmware build or a custom framed UART coprocessor protocol is possible; ESP32-C3's Wi-Fi/BLE capabilities need a host application/driver.
- Before cutting radio power, make all four RP UART signals high impedance to avoid back-powering the unpowered module. Wait for power/reset settling before sending UART data. IO8/IO2 are strapped high; hold ESP BOOT/IO9 low across power-on to use its UART downloader.
- Hold RGB data low before enabling/disabling the 5 V RGB boost; wait for rail settling before transmitting. The AHCT buffer is not an independent hot-plug level translator for an unpowered rail. Initialize SPI card detect/pull states and I2C using the pin table.
Hold BOOTSEL while resetting or applying power to enter the RP2350 USB ROM loader. The BOOTSEL switch pulls only flash CS through 1 kΩ; PSRAM remains deselected. RESET resets the RP2350. ESP BOOT is a separate coprocessor download-mode button, not a global board reset.
Layout and manufacture
The four-layer arrangement reserves In1 exclusively for ground, including uninterrupted USB reference ground. In2 contains the 3.3 V distribution pour and signal routing; it is not an uninterrupted power plane. Power-path distribution uses a local VSYS bottom copper region and conventional through vias. Buck switching paths are short, protected top-layer routes with wider copper; there is no RP2350 internal switching loop. Exposed pads have segmented paste and conventional external ground vias. The module footprint's under-pad thermal holes were removed to avoid an unquoted via-in-pad process; pad 19 is still soldered and grounded. Ordinary vias are 0.60/0.30 mm; one RP2350 escape uses 0.50/0.20 mm with the same 0.15 mm annular ring. No via drill intersects an open SMD pad.
The module sits at the top edge. Its antenna/side clearance has an all-layer no-track/no-via/no-pad/no-pour region. Do not put metal, a battery, a card, a cable shield, a conductive enclosure wall or new routing in this keepout. RF performance and enclosure clearance still require testing.
The USB PHY series resistors are close to U1, the two CC pins are independently terminated, and duplicated data pins are merged locally for either plug orientation. The principal USB pair is protected top-layer copper. Its impedance is conditional on the PCBWay-approved stack, not guaranteed by the drawn width alone.
All purchased components use ordinary QFN/WSON/SOP/SOIC/SOT/0402–1206/SMD-connector/THT-header processes available to a turnkey assembler. Component substitution and first-article approval requirements are in fab/ASSEMBLY.md. For quantities large enough to panelize, let PCBWay choose assembly rails/tooling outside the board while respecting the antenna edge.
References and attribution
The Raspberry Pi RP2350 datasheet/external-core circuit and hardware-design guide, TI charger/regulator/boost/load-switch/amplifier datasheets, Espressif WROOM-02 module documentation, Winbond flash documentation, and manufacturer land-patterns were used. See references/SOURCES.md for source URLs and verification notes. No assertion is made that downloaded datasheets prove distributor stock or that CAD checks prove RF/USB/electrical compliance.
Vendored KiCad symbols/footprints originate from the installed KiCad standard libraries and are covered by their library license, including the standard board-use exception. Local modifications are documented in libraries/README.md; custom PSRAM/boost symbols use manufacturer pin assignments. Keep library attribution/license information when redistributing library material.












