Bottom-side functional electronics
- Place U1 RP2350A on the bottom side roughly under the center of the switch/controls cluster to minimize fanout distance to rows, columns, LED data, encoders, and slider signals.
- Group U3 flash and its capacitors C19/C20 immediately adjacent to U1 QSPI pins. Keep QSPI traces short and direct.
- Group Y1 crystal, C15/C16, and R7 immediately beside U1 XIN/XOUT pins. Keep this area isolated from USB, LED data, and switching-regulator nodes.
- Ring U1 with local decoupling: place C1–C6/C10 at +3V3/IOVDD-related power pins, C7–C9/C13 at +1V1/DVDD/VREG-related pins, and C11/R1/R2 for ADC_AVDD near the analog supply pin.
- Place regulator/power input group close to USB entry but not under sensitive clock/ADC routes: J1 → D1 → C18/VSYS → U2/L2/C17 → +3V3 distribution. Keep L2 tight to U2 LX pins and high-current loops compact.
- Place Q1/R15/R16/R17/C21 GPIO29/VSYS sense or control group near U1 ADC/control entry, away from L2 and WS2812 data.
- Place reset/boot/user button SW1, boot/run/passives, SWD header PROG, R4/R6, status LED LED1/R18, and USB passives R3/R10/R11/R12 by function and accessibility.
- Place encoder debounce networks R20–R22/C22–C24 near SW14 and R23–R25/C25–C27 near SW15, on the bottom side under/near each encoder but clear of mechanical tabs.
Routing priorities after placement
- Route power entry and regulator current loops first.
- Route U1 decoupling and crystal next.
- Route USB DP/DM as a short matched differential pair through R3/R10.
- Route QSPI flash short and compact.
- Route matrix rows/columns with regular channels and short diode connections.
- Route WS2812 data in physical chain order U4 → U5 → … → U15 and provide robust LED power/ground rails.
- Route encoders, slider, reset/boot, SWD, and status LED last, preserving analog/clock quiet zones.