Designing a PCB with the RP2350
The RP2350 is Raspberry Pi's successor to the RP2040, with two Arm Cortex-M33 or Hazard3 RISC-V cores at 150 MHz and 520 kB of SRAM. The biggest board-level change is the core supply: a 200 mA switching regulator replaces the RP2040's linear one and needs an external inductor and a carefully copied layout. The rest of the circuit, crystal, flash, BOOTSEL and USB, follows the RP2040 closely.
- CPU
- Dual Cortex-M33 or Hazard3 RISC-V, 150 MHz
- Memory
- 520 kB SRAM in 10 banks, 8 kB OTP
- Flash
- External QSPI up to 16 MB, plus 16 MB on a second chip select; RP2354 has 2 MB in package
- Supply
- IOVDD 1.62 to 3.63 V; VREG_VIN 2.7 to 5.5 V; 1.1 V core from on-chip switcher (200 mA)
- USB
- USB 1.1 controller and PHY, host and device
- GPIO
- 30 with 4 ADC inputs (QFN-60) or 48 with 8 ADC inputs (QFN-80)
- Package
- QFN-60 7×7 mm (RP2350A/RP2354A) or QFN-80 10×10 mm (RP2350B/RP2354B)
Which RP2350 variant?
The A parts come in a 7×7 mm QFN-60 with 30 GPIOs, the B parts in a 10×10 mm QFN-80 with 48 GPIOs. RP2350 versions have no internal flash; RP2354 versions add 2 MB in the package, so the external flash can be left off. The QFN-60 is the same size as the RP2040's QFN-56 but is not pin-compatible, so an RP2040 board cannot simply take the new chip.
How do you lay out the RP2350 core regulator?
The datasheet calls the regulator the most critical part of the layout and says to place it first. Its pins are VREG_VIN, VREG_LX, VREG_FB, VREG_PGND and VREG_AVDD. The input capacitor needs at least 4.7 µF; the output capacitor must be 4.7 µF ±20% with low ESR and ESL; the inductor must be a fully shielded 3.3 µH ±20%, 250 mΩ maximum, saturating at no less than 1.5 A, and marked for polarity. Raspberry Pi recommends the Abracon AOTA-B201610S3R3-101-T, because an inductor fitted the wrong way round radiates into the output capacitor and upsets regulation.
VREG_AVDD is noise-sensitive and gets an RC filter of 33 Ω and 4.7 µF. Keep the switching loops small, keep CIN, the inductor and COUT on the same side as the chip, cut copper away under the inductor and the LX node (on layer 2 as well on four-layer boards), and join the power ground to main ground at one point with two adjacent vias. A second 4.7 µF on DVDD, away from LX, is recommended. Copy the Pico 2 or minimal-design layout as closely as possible.
Power input and decoupling
The minimal design powers the board from USB VBUS through an NCP1117 3.3 V regulator with 10 µF on its input and output. Each power pin gets a 100 nF decoupling capacitor close to the pin; on the two-layer reference, pins 53 and 54 of the QFN-60 share one to leave room for the regulator. Unlike the RP2040, VREG_VIN accepts 2.7 to 5.5 V, and the GPIOs are 5 V tolerant when powered.
Crystal, flash, boot and USB
- Crystal: the same 12 MHz Abracon ABM8-272-T3 as the RP2040 (±30 ppm, 10 pF load, 50 Ω ESR), with two 15 pF capacitors and a 1 kΩ series resistor, tuned for 3.3 V IOVDD.
- Flash: a W25Q128JVS (16 MB) on short, direct QSPI traces, with a 10 kΩ pull-up footprint on QSPI_SS. A second memory can share the bus using GPIO0 as XIP_CS1n; it needs its own pull-up because GPIO0 is pulled low at power-up.
- BOOTSEL: a button pulls QSPI_SS low through 1 kΩ; keep it on RP2354 boards too.
- RUN has an internal pull-up of about 50 kΩ and can float if unused; the reference adds a RUN button and an SWD header.
- USB: 27 Ω in series with each of USB_DP and USB_DM near the chip, routed as a 90 Ω differential pair over unbroken ground.
Common mistakes
- Rearranging the regulator parts, using an unmarked inductor or placing it with random orientation.
- Sharing ground vias between the regulator's high-current path and the VREG_AVDD filter.
- Leaving the second memory's chip select without a pull-up.
- On early A2 silicon, relying on internal pull-downs: erratum RP2350-E9 can hold an input near 2.2 V; use an external pull-down of 8.2 kΩ or less. Stepping A3 fixed it.
Checking the board
Run a design rule check against the fab's limits before ordering. Cuprio places and routes the board with its own router and checks the copper against the chosen manufacturer's design rules; see how Cuprio designs a board.
Sources
- Raspberry Pi: RP2350 Datasheetdatasheets.raspberrypi.com
Cores, memory, flash, variants and packages, pin supplies, regulator component values and layout rules, RUN pull-up, 27 Ω USB resistors, erratum E9 and its fix
- Raspberry Pi: Hardware design with RP2350datasheets.raspberrypi.com
Minimal design: 200 mA regulator, inductor part and orientation, VREG_AVDD filter, decoupling, input LDO, crystal, flash, second memory, BOOTSEL and USB
