IT lexicon › Hardware › RP2040

RP2040

Hardware På svenska → Updated: 2026-11-03
More info
Owner
Raspberry Pi Ltd
Released
2021
Type
Microcontroller
Successor
RP2350

Raspberry Pi's first in-house chip: a cheap dual-core microcontroller whose odd party trick is a set of programmable I/O state machines.

It launched in January 2021 alongside the Raspberry Pi Pico, a four-dollar board. Inside are two Cortex-M0+ cores at 133 MHz and 264 KB of SRAM, but no on-chip flash: the program lives in an external QSPI chip and runs from it through a cache. A small mask ROM holds a bootloader that makes the board appear as a USB drive when you hold down a button.

What sets the RP2040 apart from a hundred other microcontrollers is PIO: eight tiny state machines with their own nine-instruction ISA, able to clock out almost any protocol cycle-accurately — WS2812 LEDs, VGA, extra UARTs. It is bit-banging without the CPU having to sacrifice itself. Its successor, the RP2350 (2024), moved to Cortex-M33 and added RISC-V cores as an alternative.

← Back to the lexicon