Raspberry Pi Ltd · Microcontroller · 2021

RP2040

Raspberry Pi's first microcontroller. Two Cortex-M0+ cores, generous memory and programmable IO in a 7 mm package.

Cores
2 × Cortex-M0+
Max clock
133 MHz
SRAM
264 kB
GPIO
30 pins
IO voltage
1.8–3.3 V
Package
QFN-56
3D viewLoading 3D model…
Layers

Pinout

Seen from above. Select a pin to see what it does.

RP2040

QFN-56 · 7 × 7 mm · 0.4 mm pitch · the dot marks pin 1

Specifications

Core and memory

Architecture
Arm Cortex-M0+
Cores
2
Max clock
133 MHz
SRAM
264 kB
On-chip flash
None
External flash
Up to 16 MB, QSPI

Power

IO supply
1.8–3.3 V
Core supply
1.1 V, regulator on chip
Sleep current
0.39 mA typical
Dormant current
0.18 mA typical
Temperature
−40 to +85 °C

Peripherals

GPIO
30
ADC
4 inputs, 12-bit
UART
2
SPI
2
I2C
2
PWM
16 channels
USB
1.1 host or device
Programmable IO
8 state machines

Package and silicon

Package
QFN-56
Body
7 × 7 mm
Pin pitch
0.4 mm
Ground
Exposed pad, 3.2 mm
Process
40 nm
Released
2021

What to build

Projects that play to this chip's strengths.

Beginner

USB macro keypad

The chip shows up as a keyboard over its own USB port. Each key is a switch on one GPIO pin.

USB deviceGPIO
Intermediate

Logic analyzer

Programmable IO samples digital signals at a steady rate, and the capture streams to a computer over USB.

Programmable IOUSB device
Advanced

DVI video output

Programmable IO produces the high-speed video signal while the second core draws each frame.

Programmable IOBoth cores

Boards with this chip

A bare chip needs supporting parts around it. These boards include them.

  • Raspberry Pi PicoThe reference board. 2 MB flash, USB, and 26 GPIO on pin headers.
  • Raspberry Pi Pico WA Pico with Wi-Fi and Bluetooth added.
  • Adafruit Feather RP20408 MB flash, battery charging and a plug-in sensor connector.
  • Arduino Nano RP2040 Connect16 MB flash, Wi-Fi, Bluetooth, a motion sensor and a microphone.