XIAO RP2350 Pinout, Datasheet, Schematic [Ultimate Guide]

In this guide, you’ll find the Seeed XIAO RP2350 pinout diagram, its datasheet and schematic daigram, and every pin group explained with its default pins. It’s the complete XIAO RP2350 pinout reference you need before wiring your first project. Without further ado, let’s get right into it!

The XIAO RP2350 is Seeed Studio’s thumb-sized board built on Raspberry Pi’s RP2350, the same chip as the Raspberry Pi Pico 2: two Cortex-M33 (or two Hazard3 RISC-V) cores at 150MHz, 520KB SRAM and 2MB flash. On a 21 × 17.8mm board, it gives you 19 GPIO pins (11 on the edges and 8 on the back), an RGB LED, a Li-ion battery charger, and a built-in battery-voltage reading circuit.


XIAO RP2350 Pinout Diagram

Here is a detailed XIAO RP2350 Pinout Diagram with colored labels and legends to help you easily identify the functionalities that each pin can perform. It shows all 14 edge pins of the Seeed Studio XIAO RP2350 with their XIAO names (D0–D10), the RP2350 GPIO numbers, and each pin’s ADC, PWM, UART, SPI and I2C functions, plus the 8 extra GPIO pads on the back.

XIAO RP2350 pinout diagram with GPIO, ADC, PWM, UART, SPI and I2C pin functions (Seeed Studio XIAO RP2350)
Seeed Studio XIAO RP2350: 14 edge pins, on-board parts, and the back pads summary

Each row shows the XIAO pin number, the pin name used in the Arduino core (D0, A1…), the RP2350 GPIO number, and its functions, color-coded by peripheral. The dot symbol marks the 5v-tolerant pins, the square marks the 3.3v-only ADC pins (D0–D2), and the numbered badges point to the notes at the bottom right of the diagram.

With the USB-C connector at the top, the left edge runs from D0 (pin 1) down to D6 (pin 7), and the right edge runs from D7 (pin 8, bottom) up to 5V (pin 14, top), counter-clockwise like Seeed’s own pin numbering. The edge pads are castellated, so you can solder the board flat onto a PCB, and the two rows are 15.24mm (600 mil) apart, so it fits a breadboard with headers.

XIAO RP2350 Back Pads Pinout (D11–D18)

The XIAO RP2350 has 16 pads on the back: 8 extra GPIOs (D11–D18) on a 2.54mm grid, the SWD debug pads (CLK, DIO), RUN (reset), BOOT, 3V3, GND, and the BAT+ / BAT− battery pads. They carry a second I2C, UART and SPI port, and the Arduino core’s default Wire bus is here, not on D4/D5 (more on that in the I2C section).

XIAO RP2350 back pads pinout: D11–D18, SWD, BOOT, RUN and battery pads
XIAO RP2350 back side: GPIO pads D11–D18, SWD, BOOT, RUN, and battery pads

PadGPIOArduino DefaultOther Functions
D11GPIO21Serial2 RXPWM2 B, I2C0 SCL, SPI0 CSn, CLOCK GPOUT0
D12GPIO20Serial2 TXPWM2 A, I2C0 SDA, SPI0 RX, CLOCK GPIN0
D13GPIO17Wire SCLPWM0 B, UART0 RX, SPI0 CSn, HSTX
D14GPIO16Wire SDAPWM0 A, UART0 TX, SPI0 RX, HSTX
D15GPIO11SPI1 MOSIPWM5 B, I2C1 SCL, UART1 RTS
D16GPIO12SPI1 MISOPWM6 A, I2C0 SDA, UART0 TX, HSTX
D17GPIO10SPI1 SCKPWM5 A, I2C1 SDA, UART1 CTS
D18GPIO9SPI1 SSPWM4 B, I2C0 SCL, UART1 RX
CLK / DIOSWCLK / SWDIO–SWD debug
RSTRUN–Reset (active LOW, 10kΩ pull-up)
BOOTQSPI_SS–BOOTSEL (to GND at reset)
3V3 / GND––3.3v output and ground
BAT+ / BAT−––3.7v Li-ion/LiPo cell

In bottom view, D11–D14 run down the left column and D18–D15 down the right column, as Seeed numbers them 1–8. The pads are only test points, so you either solder thin wires to them or mount the XIAO RP2350 on a carrier PCB with matching pads (Seeed’s KiCad files have the footprint).

Buy a XIAO RP2350: If you don’t have one yet, you can get the genuine Seeed Studio board from Amazon or AliExpress. Get the pre-soldered version if you want to use it on a breadboard right away.

Download XIAO RP2350 Pinout Diagrams (Full Resolution)

Both XIAO RP2350 pinout diagrams (edge pins and back pads) in full resolution (5120 px wide WebP), in one ZIP file. Print them, zoom in, or keep them next to your bench. Please consider supporting my work if it helped you.


XIAO RP2350 Datasheet

This development board is built around the RP2350A microcontroller (the 60-pin QFN version, with 30 GPIOs and no flash inside) and an external 2MB QSPI flash chip. So the XIAO RP2350 datasheet set has two parts: Seeed Studio’s documents for the board, and Raspberry Pi’s for the chip. Here are the official documents you’ll need, linked to their original sources:

DocumentSourceID / RevisionWhat You’ll Use It ForLink
XIAO RP2350 wiki (getting started, Arduino)Seeed Studioonline (May 2026)Specs, pin map, Arduino setup, low-power testWeb
XIAO RP2350 with MicroPythonSeeed StudioonlineMicroPython setup, LED, RGB LED and battery examplesWeb
XIAO RP2350 pin multiplexingSeeed StudioonlineDigital, PWM, ADC, UART, I2C and SPI examples per pinWeb
XIAO RP2350 C/C++ SDKSeeed StudioonlinePico SDK setup and examples for this boardWeb
XIAO RP2350 schematicSeeed Studiov1.0 (2024-05-30)The full board circuit (see the next section)PDF
XIAO RP2350 KiCad filesSeeed Studiov1.0 (2024-06-26)Schematic and PCB source, the footprint for your own carrier boardZIP
XIAO RP2350 pinout sheetSeeed StudioonlineSeeed’s pin-by-pin function listXLSX
XIAO RP2350 dimensionsSeeed Studiov1.02D drawing with the pad positionsDXF
RP2350 datasheet (with errata)Raspberry PiRP-008373-DS, release 8 (2026-10-01)GPIO functions, electrical limits, every peripheral, and the errata (appendix D)PDF

Which document do I need? The Seeed wiki pages for the board’s pin names, power and code examples, the schematic for what’s connected to each pin, and the RP2350 datasheet for pin functions (its Table 3, “GPIO functions”), electrical limits, registers and the errata. Raspberry Pi keeps the errata inside the datasheet, so there’s no separate errata sheet to download.


XIAO RP2350 Schematic

The XIAO RP2350 schematic is Seeed Studio’s XIAO RP2350 v1.0 drawing (KiCad, “Initial version, 2024/5/30”). It has three real sheets: a block diagram, the power sheet and the RP2350 sheet. Here they are, each followed by close-ups of its blocks; click a page to view it full screen.

XIAO RP2350 schematic page 1: block diagram (XIAO RP2350 v1.0)
Page 1 of 12 · Block Diagram
XIAO RP2350 schematic page 2: power sheet: USB-C, battery charger, buck converter and power path (XIAO RP2350 v1.0)
Page 2 of 12 · Power Sheet
XIAO RP2350 schematic page 3: USB-C connector, CC resistors and ESD diodes (XIAO RP2350 v1.0)
Page 3 of 12 · USB-C Connector & ESD
XIAO RP2350 schematic page 4: SGM40567 160mA battery charger and GPIO19 battery-sense switch with 470k divider to GPIO29 (XIAO RP2350 v1.0)
Page 4 of 12 · SGM40567 Charger & Battery Sense
XIAO RP2350 schematic page 5: SGM6029 1A buck converter making the 3.3v rail (XIAO RP2350 v1.0)
Page 5 of 12 · SGM6029 3.3v Buck Converter
XIAO RP2350 schematic page 6: power path: Schottky diode on VBUS and P-MOSFET battery switch (XIAO RP2350 v1.0)
Page 6 of 12 · Power Path (Schottky + P-MOSFET)
XIAO RP2350 schematic page 7: RP2350 sheet (XIAO RP2350 v1.0)
Page 7 of 12 · RP2350 Sheet
XIAO RP2350 schematic page 8: RP2350A microcontroller and decoupling (XIAO RP2350 v1.0)
Page 8 of 12 · RP2350A MCU
XIAO RP2350 schematic page 9: P25Q16H 2MB QSPI flash, BOOT button and SWD debug pads (XIAO RP2350 v1.0)
Page 9 of 12 · P25Q16H Flash, BOOT & Debug Pads
XIAO RP2350 schematic page 10: back GPIO pads D11 to D18 (XIAO RP2350 v1.0)
Page 10 of 12 · Back GPIO Pads D11–D18
XIAO RP2350 schematic page 11: XIAO pin header and 12MHz crystal (XIAO RP2350 v1.0)
Page 11 of 12 · XIAO Pin Header & 12MHz Crystal
XIAO RP2350 schematic page 12: RESET button, user and charge LEDs, and RGB LED with level shifter and power switch (XIAO RP2350 v1.0)
Page 12 of 12 · Reset, User LED & RGB LED
Page 1 of 4

Official source: the XIAO RP2350 schematic v1.0 (PDF) from the Seeed Studio wiki. Here’s what to look at:

  • USB input: USB-C VBUS has ESD diodes but no fuse. It goes through the LMBR4010 Schottky diode (D1) to the board’s +5V rail. The 5V pin is VBUS itself, taken before the diode, so it’s a direct line to the USB connector.
  • Power path: the P-channel MOSFET Q1 (LP0404N3T5G) connects the battery to the +5V rail. Its gate is held HIGH by VBUS, so with USB plugged in, Q1 is off and the board runs from USB while the battery charges; unplug USB and the battery takes over through Q1 (an N-MOSFET, Q2, and a 5.6v Zener, D3, sit on the VBUS side of this switch).
  • 3.3v regulator: an SGM6029 step-down converter (U1, 1A, 0.47µH inductor) makes the 3.3v rail for the RP2350, the flash and the 3V3 pin. A buck converter instead of an LDO is part of why the board is efficient on battery.
  • Battery charger: an SGM40567-4.2 linear Li-ion charger (U3), fed from VBUS. R10 (150kΩ) sets the charge current: the schematic’s own note says Icharge = 24000 / 150k = 160mA. Its NCHG pin lights the red half of the dual LED through 5.1kΩ while a battery is charging.
  • Battery sense: an SX1801 load switch (U6), enabled by GPIO19, connects BAT+ to a 470kΩ / 470kΩ divider whose middle point goes to GPIO29 (ADC3). The switch keeps the divider from draining the battery when you aren’t measuring.
  • RP2350A and flash: a 12MHz crystal (X1), the RP2350’s internal core regulator with its 3.3µH inductor (L2), and a P25Q16H 16Mbit (2MB) QSPI flash (U5). The schematic’s MPN field for U4 says “RP2354-A”, a leftover from a template: the RP2354 has flash inside the package, while this board uses the RP2350A plus the external P25Q16H.
  • Buttons: B (K1) pulls the flash chip-select (QSPI_SS) to GND through 1kΩ, which is the RP2350’s BOOTSEL input; R (K2) pulls RUN to GND (10kΩ pull-up, 100nF). Both signals are also on the BOOT and RST pads.
  • LEDs: the yellow user LED is on GPIO25 through 1kΩ to 3.3v (on when the pin is LOW). The RGB LED (an APA-104 type, WS2812 compatible) gets its data from GPIO22 through a UM3301 level shifter, and its power through a second SX1801 switch (U7) enabled by GPIO23.
  • USB data: D+/D− go through 27Ω resistors straight to the RP2350’s own USB 1.1 controller. There’s no USB-UART chip.

XIAO RP2350 Specs

The XIAO RP2350 packs the Pico 2’s chip, a battery charger and 19 GPIOs into the XIAO form factor. Here are its specifications, including the board-level parts that chip-only spec lists usually skip.

XIAO RP2350 development board (Seeed Studio, RP2350) with USB-C, RGB LED, BOOT and RESET buttons

Get a XIAO RP2350: The genuine Seeed Studio board is the one I recommend. Grab it from Amazon or AliExpress.

ItemXIAO RP2350
MicrocontrollerRaspberry Pi RP2350A (QFN-60, 30 GPIOs, no internal flash)
CPU2x Arm Cortex-M33 (FPU, DSP, TrustZone) or 2x Hazard3 RISC-V, chosen at boot, up to 150MHz
Memory520KB SRAM, 8KB OTP, 2MB QSPI flash (P25Q16H)
WirelessNone (no Wi-Fi, no Bluetooth)
Logic level3.3v; GPIO0–25 are 5v tolerant while the board is powered, the ADC pins aren’t
GPIO pins19: 11 on the edge pins (D0–D10) and 8 on the back pads (D11–D18)
Board supplyUSB-C 5v, or a 3.7v Li-ion/LiPo battery on the BAT pads
3.3v regulatorSGM6029 step-down converter, 1A
Battery chargerSGM40567, 160mA charge current, red charge LED
Battery voltageBuilt-in divider on GPIO29, enabled by GPIO19
Pin current2/4/8/12mA drive strength per pin (4mA default); 100mA total for all I/Os
Clock12MHz crystal
USB connectorUSB-C, wired to the RP2350’s native USB 1.1; no USB-UART chip
Buttons and LEDsB (BOOTSEL), R (RESET); yellow user LED (GPIO25), red charge LED, RGB LED (GPIO22, power GPIO23)
Low powerAbout 50µA (Seeed; 53µA measured on the BAT pads with its test firmware)
Size21 × 17.8mm, XIAO form factor, surface-mountable
Working temperature−20°C to 70°C
Seeed SKU102010550 (pre-soldered: 102010637)
NoWi-Fi, Bluetooth, DAC, 5v-tolerant ADC pins

XIAO RP2350 Specifications Summary

  • The XIAO RP2350 runs a Raspberry Pi RP2350A: 2x Cortex-M33 or 2x RISC-V cores at 150MHz, 520KB SRAM, and 2MB external flash.
  • It has 19 GPIOs: D0–D10 on the edges and D11–D18 on the back pads.
  • Logic is 3.3v. GPIO0–25 are 5v tolerant while the board is powered; the ADC pins D0–D2 (GPIO26–28) are not.
  • It has 3 ADC pins: A0, A1 and A2 (12-bit, 500ksps). The fourth ADC channel (GPIO29) reads the battery.
  • All 19 GPIOs can output PWM (12 slices on the chip, 7 of them reachable).
  • Serial is USB CDC; Serial1 is on D6 (TX) / D7 (RX), Serial2 on the back pads D12 (TX) / D11 (RX).
  • In the Arduino core, Wire is on the back pads D14 (SDA) / D13 (SCL), and Wire1 is on D4 (SDA) / D5 (SCL).
  • SPI is D8 (SCK), D9 (MISO), D10 (MOSI), D3 (SS); SPI1 is on the back pads D15–D18.
  • The 5V pin is USB VBUS: it’s 0v when the board runs on battery.
  • Battery voltage: set GPIO19 HIGH, read GPIO29, and multiply by 2.
  • User LED on GPIO25 (active LOW); the RGB LED needs GPIO23 HIGH before you send data on GPIO22.
  • Use arduino-pico 4.2.0 or newer in the Arduino IDE.

XIAO RP2350 Peripherals: RP2350A vs On the Pins

Unlike chips with a full GPIO matrix, each RP2350 peripheral signal can only go to certain GPIOs (the datasheet’s function table), so this table shows both what the chip has and what you can reach on the XIAO.

PeripheralRP2350AOn the XIAO RP2350
GPIO3019 (11 edge + 8 back pads)
ADC4 channels, 12-bit, 500ksps + temperature sensor3 pins (A0–A2) + GPIO29 battery sense
PWM12 slices / 24 outputsall 19 GPIOs (slices 0–6)
UART2Serial1 on D6/D7, Serial2 on D12/D11
SPI2SPI on D8–D10 (SS D3), SPI1 on D15–D18
I2C2Wire1 on D4/D5, Wire on D14/D13
PIO3 blocks, 12 state machinesany GPIO
HSTXGPIO12–19GPIO12, 16 and 17 only (D16, D14, D13)
USBUSB 1.1 device/hostUSB-C connector
DAC / Wi-Fi / Bluetoothnone–

XIAO RP2350 Quick Pin Selection Guide

Not sure which pin to use? Here are the XIAO RP2350 pins I’d pick first for each job, and why.

Use CaseRecommended PinsWhy
Serial to the PCUSB-C (Serial)USB CDC on the native USB
Serial to a module (GPS, GSM…)D7 (RX), D6 (TX)Serial1, the XIAO standard UART pins
Second serial portD11 (RX), D12 (TX)Serial2 on the back pads
I2C sensors, Grove, expansion boardD4 (SDA), D5 (SCL) with Wire1The XIAO standard I2C pins (I2C1)
SPI devicesD8 (SCK), D9 (MISO), D10 (MOSI), D3 (CS)The Arduino SPI pins
Analog inputsA0, A1, A2The only ADC pins on the board
Battery voltageGPIO19 (enable) + GPIO29 (read)Built-in divider, no extra parts
PWM (LEDs, servos)D3–D105v-tolerant pins, no shared channel between them
WS2812 / NeoPixel stripD10 or any free pinPIO drives it on any GPIO
Safest general GPIOD3–D10, D11–D18No board load, 5v tolerant while powered

XIAO RP2350 Pins to Use With Caution

PinReasonWhat to Do
D4 / D5Arduino Wire is NOT here; it’s Wire1Use Wire1, or move Wire with setSDA()/setSCL()
D0–D2 (GPIO26–28)ADC pins: not 5v tolerantKeep them at or below 3.3v
Any input with pull-downRP2350-E9 on A2-stepping chips: the pull-down can’t pull a floating pin LOWUse pull-ups, or an external pull-down of 8.2kΩ or less
5VRaw USB VBUS, 0v on battery, no fuseDon’t power 5v loads from it on battery; feed it only through a diode
GPIO19 / GPIO29Battery-sense enable and ADC, not on any padLeave them to the battery code
GPIO22 / GPIO23RGB LED data and power, not on any padGPIO23 HIGH powers the LED
BOOT padFlash chip-select; pulling it LOW at reset enters BOOTSELOnly connect a button to GND
All pins3.3v outputs, 4mA default driveLevel-shift for 5v inputs; raise the drive strength for LEDs

XIAO RP2350 Pins Functions

The 14 edge pins and 16 back pads of the XIAO RP2350 are divided into the following groups based on the hardware functionality they’re used for. Since each GPIO has several functions, most pins belong to more than one group.

We’ll discuss each pin group in the following sections one by one in more detail.


XIAO RP2350 Power Pins

The XIAO RP2350 is powered from the USB-C port (5v) or from a 3.7v Li-ion/LiPo battery soldered to the BAT+ / BAT− pads on the back. The 3V3 pin is the 1A buck converter’s output, and the 5V pin is the raw USB VBUS line. The power pins are highlighted in red in the pinout diagram.

XIAO RP2350 power pins (5V USB VBUS, 3V3 output, GND)

PinXIAO PinRangeNotes
5V145v in/outUSB VBUS (before the Schottky diode). 5v out on USB power, 0v on battery
3V3123.3v outSGM6029 buck converter output (1A, shared with the RP2350 and the flash)
GND130vPlus the GND pad on the back
3V3 / GND padsback3.3v / 0vThe same nets as the edge pins
BAT+ / BAT−back pads3.7v nominal (4.2v full)One Li-ion/LiPo cell; charged at 160mA from USB

How to power the XIAO RP2350? Plug in USB-C, or solder a single-cell 3.7v LiPo to the BAT pads. You can leave the battery connected while USB is plugged in: the P-MOSFET power path runs the board from USB and the SGM40567 charges the battery at 160mA at the same time, with the red LED on while it charges. To feed an external 5v supply into the 5V pin, use a Schottky diode (anode to your supply, cathode to the 5V pin), so it can’t back-feed your PC’s USB port.

Note: The 5V pin is VBUS, not the board’s internal supply rail. On battery power it reads 0v, so a 5v sensor or servo powered from it stops working the moment you unplug USB. Power 5v loads from their own supply, and never connect a battery to the 5V pin: batteries go on the BAT pads.

XIAO RP2350 Battery Voltage Reading

The XIAO RP2350 can read its own battery voltage with no extra parts. Set GPIO19 HIGH to switch on the battery divider, read GPIO29 (ADC3), and multiply the voltage by 2 (the divider is 470kΩ / 470kΩ). A full cell (4.2v) then gives 2.1v on the ADC. Here it is with the Arduino-Pico core:

In a low-power project, drive GPIO19 LOW again between readings so the divider doesn’t draw current. With no battery fitted, the reading means nothing.

Note: Seeed’s documents describe this circuit in different ways. The Arduino pin map lists GPIO29 as the battery ADC but not the GPIO19 enable pin (the MicroPython page and the schematic both confirm GPIO19). The spec table says “3x Analog“, while the pinout sheet calls GPIO29 “A3“: both are right, because A3 is wired to the battery divider only, not to a pad. And the MicroPython wiki calls the user LED “GPIO25/D19”, even though no D19 pin exists in the Arduino core.

XIAO RP2350 Low Power and Sleep Current

Seeed specifies about 50µA in sleep for the XIAO RP2350, and measured 53µA on average with its own powman_timer test firmware, powered from the BAT pads. That number needs the Pico SDK’s low-power code (the pico-extras sleep library); Seeed notes that the Arduino IDE can’t easily use pico-extras and recommends the Pico SDK or PlatformIO with arduino-pico for ultra-low-power work. Measure sleep current from the battery pads, not through USB.


XIAO RP2350 GPIO Pins

The XIAO RP2350 has 19 GPIO pins: D0–D10 on the edges and D11–D18 on the back pads. They all work at 3.3v, and every one of them can be a digital input, a digital output, a PWM output, or an interrupt source.

XIAO RP2350 GPIO pins (D0-D10) with their RP2350 GPIO numbers

XIAO PinGPIOXIAO PinGPIOBack PadGPIO
D0 / A0GPIO26D6GPIO0D11GPIO21
D1 / A1GPIO27D7GPIO1D12GPIO20
D2 / A2GPIO28D8GPIO2D13GPIO17
D3GPIO5D9GPIO4D14GPIO16
D4GPIO6D10GPIO3D15GPIO11
D5GPIO7––D16GPIO12
––––D17GPIO10
––––D18GPIO9

In the Arduino-Pico core, a bare number is the GPIO number: digitalWrite(6, HIGH) drives GPIO6, which is D4, not D6. Write the pin names ( D4, A0) and the XIAO RP2350 variant file does the mapping for you. MicroPython and the Pico SDK use GPIO numbers only. Here are the electrical limits (RP2350 datasheet, release 8):

  • Logic level 3.3v. GPIO0–25 are 5v tolerant, but only while the board is powered (IOVDD at 3.3v): never put 5v on a pin of an unpowered board. The ADC pins (D0–D2) are 3.3v only.
  • Drive strength is set per pin: 2mA, 4mA, 8mA or 12mA, and 4mA by default. The sum of all I/O currents must stay under 100mA.
  • Internal pull-ups and pull-downs on every GPIO, and Schmitt-trigger inputs.
  • Every GPIO can trigger an interrupt: attachInterrupt(digitalPinToInterrupt(D3), isr, FALLING) works on any of the 19 pins.
  • The GPIOs you don’t see: GPIO19 (battery-sense enable), GPIO22/23 (RGB LED), GPIO25 (user LED), GPIO29 (battery ADC). GPIO8, 13, 14, 15, 18 and 24 aren’t connected at all.

Note: RP2350-E9: on chips of the first production stepping (A2), a GPIO set as an input can leak about 120µA and sit at around 2.2v when nothing drives it, and the internal pull-down is too weak to pull it LOW (RP2350 datasheet, appendix D.5.1). A button wired to 3.3v with INPUT_PULLDOWN then reads HIGH forever (element14 thread by a XIAO RP2350 owner). Wire buttons to GND with INPUT_PULLUP, or add an external pull-down of 8.2kΩ or less. The A3 stepping fixed it; Seeed doesn’t say which stepping each batch uses, and early boards are A2 (the CHIP_ID register’s REVISION field reads 2 on A2).

Learn more in our Raspberry Pi Pico Digital Input & Output Tutorial (C/C++ SDK).


XIAO RP2350 ADC Pins

The XIAO RP2350 has 3 ADC pins: A0 (D0, GPIO26), A1 (D1, GPIO27) and A2 (D2, GPIO28). The RP2350A’s fourth ADC channel, GPIO29, is wired to the battery divider, and a fifth internal channel reads the chip’s temperature sensor. The ADC pins are highlighted in green in the pinout diagram.

XIAO RP2350 ADC pins (A0 GPIO26, A1 GPIO27, A2 GPIO28)

PinGPIOADC ChannelNote
A0 / D0GPIO26ADC0Not 5v tolerant
A1 / D1GPIO27ADC1Not 5v tolerant
A2 / D2GPIO28ADC2Not 5v tolerant
(internal)GPIO29ADC3Battery voltage ÷ 2, enabled by GPIO19
(internal)–ADC4Temperature sensor

The ADC is 12-bit at up to 500ksps, with the 3.3v rail as its reference, so one step is about 0.8mV. In Arduino, call analogReadResolution(12) to get 0–4095 instead of the default 0–1023. In MicroPython, ADC(Pin(26)).read_u16() returns 0–65535.

Note: Never put more than 3.3v on A0–A2: unlike the other GPIOs, the ADC pins are not 5v tolerant. Use a voltage divider for anything higher, as the board does for the battery.

There are so many sensors that we can read with the ADC pins, which include: potentiometers, LDRs, NTC thermistors, soil moisture sensors, joysticks, current sensors, and much more.


XIAO RP2350 PWM Pins

All 19 GPIO pins on the XIAO RP2350 can output PWM. The RP2350 has 12 PWM slices, each with two outputs (A and B) that share one frequency but have their own duty cycle. On the RP2350A’s GPIO0–29, slices 0–7 repeat every 16 GPIOs, so the XIAO’s pins use slices 0–6, and a few pins share the same output. The PWM pins are marked in the pinout diagram.

XIAO RP2350 PWM pins (all 19 GPIOs) with their PWM slice and channel

XIAO RP2350 PWM Pins: D0–D18 (all 19 GPIOs).

SliceChannel AChannel B
PWM0D6 (GPIO0), D14 (GPIO16)D7 (GPIO1), D13 (GPIO17)
PWM1D8 (GPIO2)D10 (GPIO3)
PWM2D9 (GPIO4), D12 (GPIO20)D3 (GPIO5), D11 (GPIO21)
PWM3D4 (GPIO6)D5 (GPIO7)
PWM4–D18 (GPIO9)
PWM5D0 (GPIO26), D17 (GPIO10)D1 (GPIO27), D15 (GPIO11)
PWM6D2 (GPIO28), D16 (GPIO12)–

Pins listed in the same cell output the same signal, and both channels of a slice run at the same frequency. In Arduino, analogWrite(D3, 128) just works, and analogWriteFreq() / analogWriteRange() set the frequency and the resolution for all pins.

There are so many things that we can control with PWM, which include: LED dimming, RGB LEDs, DC motor speed (with a driver), servo motors, buzzers, and much more.


XIAO RP2350 UART Pins

The XIAO RP2350 has 2 hardware UARTs, plus the USB CDC port. In the Arduino-Pico core, Serial is the USB-C port, Serial1 is UART0 on D6 (TX) and D7 (RX), and Serial2 is UART1 on the back pads D12 (TX) and D11 (RX). The UART pins are highlighted in blue in the pinout diagram.

XIAO RP2350 UART pins (D6 TX GPIO0, D7 RX GPIO1)

XIAO RP2350 Default UART Pins: D6 (TX) and D7 (RX) for Serial1.

PortArduino ObjectTX PinRX PinNote
USB CDCSerialUSB-CUSB-CThe Serial Monitor
UART0Serial1D6 (GPIO0)D7 (GPIO1)Also the Pico SDK’s default UART
UART1Serial2D12 (GPIO20)D11 (GPIO21)Back pads

Each UART can also move to other pins it’s allowed on with Serial1.setTX() / setRX() before begin(), for example UART1 to D3/D9 (GPIO5 RX, GPIO4 TX). Remember the RX pin of the RP2350 is 3.3v logic: a 5v module’s TX line is fine on GPIO0–25 while the board is powered, but a level shifter is the safe choice.

There are so many modules that we can interface with the UART pins, which include: GPS modules, GSM/LTE modules, fingerprint sensors, RS485 transceivers, DFPlayer Mini, other microcontrollers, and much more.

Learn more in our Raspberry Pi Pico Serial Over USB Tutorial (C/C++ SDK).


XIAO RP2350 I2C Pins

The XIAO RP2350 has 2 I2C buses. The XIAO-standard I2C pins D4 (SDA) and D5 (SCL) are I2C1, which the Arduino-Pico core calls Wire1. The core’s default Wire (I2C0) is on the back pads D14 (SDA, GPIO16) and D13 (SCL, GPIO17). The I2C pins are highlighted in yellow in the pinout diagram.

XIAO RP2350 I2C pins (D4 SDA GPIO6, D5 SCL GPIO7 on Wire1; D14/D13 back pads on Wire)

XIAO RP2350 Default I2C Pins: D4 (SDA) and D5 (SCL) on Wire1; D14 (SDA) and D13 (SCL) on Wire.

BusArduino ObjectSDASCLPico SDK / MicroPython
I2C1Wire1D4 (GPIO6)D5 (GPIO7)Default bus (I2C(1))
I2C0WireD14 (GPIO16)D13 (GPIO17)I2C(0, sda=Pin(16), scl=Pin(17))

This is the problem XIAO RP2350 owners hit most: a sensor on D4/D5 that works on every other XIAO isn’t found, because the sketch uses Wire (Seeed forum, Arduino forum). Grove shields and the XIAO expansion board all use D4/D5, so use Wire1, or move Wire with Wire.setSDA(6); Wire.setSCL(7); before Wire.begin() if a library insists on Wire. Here is an I2C scanner on D4/D5:

Note: There are no I2C pull-up resistors on the XIAO RP2350, so add 4.7kΩ pull-ups to 3.3v unless your module already has them (most breakout boards and Grove modules do).

There are so many modules and sensors that we can interface with the I2C bus, which include: OLED displays (SSD1306), RTC modules (DS3231), IMUs (MPU6050), BME280 sensors, port expanders, and much more.


XIAO RP2350 SPI Pins

The XIAO RP2350 has 2 SPI ports. The default Arduino SPI (SPI0) is on D8 (SCK), D9 (MISO), D10 (MOSI) and D3 (SS), and SPI1 is on the back pads D17 (SCK), D16 (MISO), D15 (MOSI) and D18 (SS). The SPI pins are highlighted in pink in the pinout diagram.

XIAO RP2350 SPI pins (D8 SCK GPIO2, D9 MISO GPIO4, D10 MOSI GPIO3, D3 CS GPIO5)

XIAO RP2350 Default SPI Pins: D8 (SCK), D9 (MISO), D10 (MOSI), and D3 (SS).

SignalSPI (SPI0)SPI1 (back pads)
SCKD8 (GPIO2)D17 (GPIO10)
MISO (RX)D9 (GPIO4)D16 (GPIO12)
MOSI (TX)D10 (GPIO3)D15 (GPIO11)
SS (CS)D3 (GPIO5)D18 (GPIO9)

Any free GPIO can be a chip select, so you can hang several SPI devices on the same bus. The SPI pins have no boot role on the RP2350, so nothing on the bus can stop the board from starting.

There are so many modules that we can interface with the SPI bus, which include: TFT displays (ST7789, ILI9341), SD card modules, LoRa radios (SX1262), nRF24L01 radios, MAX7219 LED drivers, and much more.


XIAO RP2350 SWD Debug, BOOT and RUN Pins

The XIAO RP2350’s debug and boot signals are all on the back pads: CLK (SWCLK) and DIO (SWDIO) for SWD, RST (RUN) for reset, and BOOT for the BOOTSEL input. None of the edge pins has a boot or debug role, so you can use all of them freely.

Pad / ButtonSignalWhat It Does
CLKSWCLKSWD clock
DIOSWDIOSWD data
RST pad / R buttonRUNPull LOW to reset the RP2350 (10kΩ pull-up)
BOOT pad / B buttonQSPI_SSHold LOW at reset to start the USB bootloader (BOOTSEL)

To debug with breakpoints, wire a Raspberry Pi Debug Probe (or any CMSIS-DAP probe) to CLK, DIO and GND, and use OpenOCD from the Raspberry Pi Pico VS Code extension or PlatformIO. The pads are tiny, so solder thin wires or use a carrier board with matching pads.

XIAO RP2350 BOOTSEL Mode and Recovery

If your XIAO RP2350 isn’t detected anymore, or a new firmware leaves it without a serial port, use the RP2350’s ROM bootloader. It lives inside the chip, so no firmware can erase it:

  1. Hold the B (BOOT) button and plug in the USB cable, or hold B and tap R (RESET), then release B.
  2. A USB drive named RP2350 appears on your PC.
  3. Drag a UF2 file onto it: a MicroPython firmware, a compiled Arduino sketch, or a Pico SDK program. The board reboots into it.

Note: Some 2024–2025 MicroPython builds for the XIAO RP2350 left the board without a serial port after flashing, because the board’s P25Q16H flash needs a slower QSPI clock than the default, and a pico-sdk change made the board’s clock setting ineffective for a while (pico-sdk PR 2098). If that happens, enter BOOTSEL mode and copy the latest official firmware from micropython.org (v1.29.0 as I write this).


XIAO RP2350 On-Board Features

Besides the pins, the XIAO RP2350 has two buttons, three LEDs, and a few hidden GPIOs that control them. Here’s what each one does.

PartPin / ConnectionWhat It Does
B (BOOT button)QSPI_SS to GNDHold at reset for BOOTSEL (USB drive) mode
R (RESET button)RUN to GNDResets the RP2350
USR (yellow LED)GPIO25, active LOWUser LED: LED_BUILTIN = 25
PWR (red LED)Charger NCHG pinOn while a battery charges; not controlled by software
RGB LEDData GPIO22, power GPIO23WS2812-compatible RGB (not RGBW) LED
Battery senseEnable GPIO19, ADC GPIO29Reads BAT+ through a 470kΩ / 470kΩ divider

XIAO RP2350 RGB LED and User LED

The user LED is wired from 3.3v to GPIO25, so it lights when the pin is LOW: digitalWrite(LED_BUILTIN, LOW) turns it on. The RGB LED needs two pins: GPIO23 HIGH powers it through a load switch, then you send the color data on GPIO22. If you skip GPIO23, the LED stays dark whatever you send. It’s a 3-color RGB LED, so set your library to RGB, not RGBW, or the colors come out wrong (Seeed forum). With the Adafruit NeoPixel library:


Getting Started With XIAO RP2350

You can program the XIAO RP2350 with the Arduino IDE, MicroPython, CircuitPython, the Raspberry Pi Pico C/C++ SDK, PlatformIO, Zephyr or NuttX, all over the USB-C cable. No external programmer is needed.

  • Arduino IDE: add Earle Philhower’s arduino-pico board package (Raspberry Pi Pico/RP2040/RP2350), version 4.2.0 or newer, and select Seeed XIAO RP2350. Older versions map the pins wrongly. For the very first upload, hold B while you plug in the board.
  • MicroPython: download the SEEED_XIAO_RP2350 firmware from micropython.org and drag it onto the RP2350 drive. Use GPIO numbers: Pin(25) is the user LED.
  • Pico C/C++ SDK: set PICO_BOARD=seeed_xiao_rp2350; the board file sets the default UART (D6/D7), I2C (D4/D5), LED (GPIO25) and RGB LED pins.
  • PlatformIO: Seeed’s wiki has a PlatformIO setup guide with the arduino-pico framework; it’s also Seeed’s suggested route to the low-power pico-extras code.
Arduino NamePinDefault
SerialUSB-CUSB CDC
Serial1 / Serial2D6 TX, D7 RX / D12 TX, D11 RXUART0 / UART1
WireD14 (SDA), D13 (SCL)I2C0 on the back pads
Wire1D4 (SDA), D5 (SCL)I2C1, the XIAO-standard pins
SPI / SPI1D8 / D9 / D10, SS D3 / D17 / D16 / D15, SS D18SPI0 / SPI1
A0–A2D0–D2ADC0–ADC2
LED_BUILTINGPIO25Yellow user LED (active LOW)

Since the RP2350 is the Pico 2’s chip, almost every Raspberry Pi Pico tutorial applies to the XIAO RP2350: just translate the GP numbers into XIAO pin names with the tables above.


XIAO RP2350 Common Problems & Fixes

Why isn’t my I2C sensor on D4/D5 found in Arduino? Arduino Wire is on the back pads (GPIO16/17). Use Wire1 for D4/D5, or call Wire.setSDA(6); Wire.setSCL(7); before Wire.begin().

Why does a button with INPUT_PULLDOWN always read HIGH? That’s the RP2350-E9 erratum on A2-stepping chips. Wire the button to GND and use INPUT_PULLUP, or add an external pull-down of 8.2kΩ or less.

Why does the RGB LED stay dark? Set GPIO23 HIGH first: it powers the LED. And use an RGB (GRB) pixel type, not RGBW.

Why does MicroPython say “Pin doesn’t have ADC capabilities” for ADC(29)? Older MicroPython builds (v1.26.1, for example) had a board-file bug (MicroPython issue 18076, closed in July 2026). Update the firmware, or use ADC(3) instead of ADC(29).

Why is there no serial port after flashing MicroPython? Some older builds used a flash clock too fast for the P25Q16H. Enter BOOTSEL mode (hold B, plug in) and copy the latest official firmware.

Why are my Arduino pins wrong? You’re on an arduino-pico version older than 4.2.0. Update the board package.

Why is the 5V pin dead on battery? It’s USB VBUS, so 0v without USB. That’s expected: power 5v loads from their own supply.

Does the XIAO RP2350 have Wi-Fi or Bluetooth? No. The RP2350 has no radio. For wireless in the same footprint, look at the XIAO ESP32 boards.

Is there an XIAO RP2350 Plus? Not as of November 2026. Seeed makes an XIAO RP2040 Plus; “RP2350 Plus” in a few news headlines was a typo.


XIAO RP2350 vs XIAO RP2040 vs Raspberry Pi Pico 2

The XIAO RP2350 sits between Seeed’s older XIAO RP2040 (same footprint, older chip) and the Raspberry Pi Pico 2 (same chip, bigger board). Here’s how they compare:

FeatureXIAO RP2350XIAO RP2040Raspberry Pi Pico 2
ChipRP2350ARP2040RP2350A
CPU2x Cortex-M33 / RISC-V, 150MHz2x Cortex-M0+, 133MHz2x Cortex-M33 / RISC-V, 150MHz
SRAM / flash520KB / 2MB264KB / 2MB520KB / 4MB
Size21 × 17.8mm21 × 17.8mm51 × 21mm
GPIO19 (11 edge + 8 back pads)1126
ADC pins3 (+ battery sense)43 (+ VSYS sense)
I2C / UART / SPI on pins2 / 2 / 21 / 1 / 12 / 2 / 2
Battery chargerYes (160mA, BAT pads)NoNo
SecuritySecure boot, TrustZone, OTP–Secure boot, TrustZone, OTP
USBUSB-CUSB-CMicro-USB

Pick the XIAO RP2350 for small, battery-powered builds and the XIAO ecosystem of expansion boards; it’s a drop-in upgrade for most XIAO RP2040 projects (but check your I2C bus in Arduino). Pick the Pico 2 when you need many pins on a breadboard. If you came here for the bare chip’s RP2350 pinout, the Pico boards expose almost all of its GPIOs; my Raspberry Pi Pico & Pico W pinout guide explains the Pico layout, which the Pico 2 shares.


XIAO RP2350 Pin Details

Here is every XIAO RP2350 pin in physical order, with its GPIO, main functions, all its RP2350 functions, 5v tolerance, and a short description. With the USB-C connector at the top, pin 1 (D0) is the top-left pad, pins 1–7 run down the left edge, pins 8–14 run up the right edge, and the back pads follow.

All GPIOs also have SIO (software I/O) and PIO0–PIO2 functions, which the table leaves out. “5v tolerant” means while the board is powered.

Click to expand the full pin table (26 pins)
PinLabelGPIOMain FunctionsAll Functions5v TolerantDescription
1D0 / A0GPIO26ADC0, A0PWM5 A, SPI1 SCK, UART1 CTS / TX, I2C1 SDANoAnalog input A0; 3.3v only.
2D1 / A1GPIO27ADC1, A1PWM5 B, SPI1 TX, UART1 RTS / RX, I2C1 SCLNoAnalog input A1; 3.3v only.
3D2 / A2GPIO28ADC2, A2PWM6 A, SPI1 RX, UART0 TX, I2C0 SDANoAnalog input A2; 3.3v only.
4D3GPIO5SPI SSPWM2 B, SPI0 CSn, UART1 RX, I2C0 SCLYesThe default SPI chip select; a good general pin.
5D4GPIO6Wire1 SDAPWM3 A, SPI0 SCK, UART1 CTS / TX, I2C1 SDAYesXIAO-standard I2C data (I2C1, Wire1 in Arduino).
6D5GPIO7Wire1 SCLPWM3 B, SPI0 TX, UART1 RTS / RX, I2C1 SCLYesXIAO-standard I2C clock (I2C1, Wire1 in Arduino).
7D6GPIO0Serial1 TXPWM0 A, SPI0 RX, UART0 TX, I2C0 SDAYesUART0 transmit.
8D7GPIO1Serial1 RXPWM0 B, SPI0 CSn, UART0 RX, I2C0 SCLYesUART0 receive.
9D8GPIO2SPI SCKPWM1 A, UART0 CTS / TX, I2C1 SDAYesThe default SPI clock.
10D9GPIO4SPI MISOPWM2 A, UART1 TX, I2C0 SDAYesThe default SPI data-in pin.
11D10GPIO3SPI MOSIPWM1 B, UART0 RTS / RX, I2C1 SCLYesThe default SPI data-out pin.
123V3–3.3v output––SGM6029 buck output, 1A shared with the board.
13GND–Ground––Ground.
145V–USB VBUS––5v from the USB-C connector; 0v on battery.
backD11GPIO21Serial2 RXPWM2 B, SPI0 CSn, UART1 RX, I2C0 SCL, CLOCK GPOUT0YesUART1 receive on the back pads.
backD12GPIO20Serial2 TXPWM2 A, SPI0 RX, UART1 TX, I2C0 SDA, CLOCK GPIN0YesUART1 transmit on the back pads.
backD13GPIO17Wire SCLPWM0 B, SPI0 CSn, UART0 RX, I2C0 SCL, HSTXYesThe Arduino core’s default I2C clock.
backD14GPIO16Wire SDAPWM0 A, SPI0 RX, UART0 TX, I2C0 SDA, HSTXYesThe Arduino core’s default I2C data.
backD15GPIO11SPI1 MOSIPWM5 B, SPI1 TX, UART1 RTS / RX, I2C1 SCLYesSPI1 data out.
backD16GPIO12SPI1 MISOPWM6 A, SPI1 RX, UART0 TX, I2C0 SDA, HSTX, CLOCK GPIN0YesSPI1 data in.
backD17GPIO10SPI1 SCKPWM5 A, SPI1 SCK, UART1 CTS / TX, I2C1 SDAYesSPI1 clock.
backD18GPIO9SPI1 SSPWM4 B, SPI1 CSn, UART1 RX, I2C0 SCLYesSPI1 chip select.
backCLK / DIOSWCLK / SWDIOSWD––Debug probe connection.
backRSTRUNReset––Pull LOW to reset, like the R button.
backBOOTQSPI_SSBOOTSEL––Pull LOW at reset for the USB bootloader, like the B button.
backBAT+ / BAT−–Battery––3.7v Li-ion/LiPo cell, charged at 160mA.

Wrap Up

To conclude this guide article, the XIAO RP2350 is a very solid board for small, battery-powered projects that need real processing power. It gives you the Pico 2’s 150MHz RP2350 with 520KB of SRAM, 19 GPIOs, a battery charger, and a battery-voltage reading on a board the size of your thumbnail. Just remember the board-level gotchas: Arduino Wire is on the back pads (use Wire1 for D4/D5), the ADC pins are 3.3v only, the RGB LED needs GPIO23 HIGH, the 5V pin is dead on battery, and use pull-ups rather than pull-downs on A2-stepping chips.

I hope you’ve found this guide helpful. For more boards, check out the Pinouts, Datasheets & Schematic Diagrams Library. Follow this Raspberry Pi Pico Series of Tutorials to learn more about programming RP2040 and RP2350 boards, and see my RP2350 hardware PCB design in KiCAD guide if you want to design your own RP2350 board.

If you’re just getting started with Raspberry Pi Pico boards, you need to check out the Raspberry Pi Pico Getting Started Ultimate Guide below.

Getting Started With Raspberry Pi Pico (And Pico W)

This is the ultimate guide for beginners getting started with Raspberry Pi Pico. It’ll help you learn the fundamentals of hardware and software to understand the basics required to accelerate your learning journey with Raspberry Pi Pico programming.

Share This Page With Your Network!
Join Our +25,000 Newsletter Subscribers!

Stay Updated With All New Content Releases. You Also Get Occasional FREE Coupon Codes For Courses & Other Stuff!

Photo of author
Author
Embedded systems engineer with several years of experience in embedded software and hardware design. I work as an embedded SW engineer in the Automotive & e-Mobility industry. However, I still do Hardware design and SW development for DSP, Control Systems, Robotics, AI/ML, and other fields I'm passionate about.
I love reading, writing, creating projects, and teaching. A reader by day and a writer by night, it's my lifestyle. I believe that the combination of brilliant minds, bold ideas, and a complete disregard for what is possible, can and will change the world! I will be there when it happens, will you?

Leave a Comment