RP2040

RP2040 provides two Arm Cortex-M0+ cores, 264 kB of SRAM, an external QSPI flash interface and eight programmable I/O state machines. It is a microcontroller, not a Linux-class Raspberry Pi single-board computer.

RP2040 has two PIO blocks, each with four state machines that execute short programs for GPIO manipulation and data transfer. These are specialised I/O processors, not arbitrary FPGA logic. Firmware coordinates them with the main cores, FIFOs and DMA; buffer capacity and data-transfer bandwidth still limit the complete system.

In plain terms

Two general-purpose workers plus a team of specialist signal operators. The PIO operators follow short routines so the main workers do not have to time every pin change.

Why designers use it

Best for

Key specifications

When not to use it

Common mistakes

Where you will find it

A short history

Raspberry Pi announced RP2040 and Pico in January 2021. The announcement distinguishes the company's first microcontroller chip from the development board built around it. The RP2040 datasheet documents a 40 nm process and an architecture aimed at flexible digital I/O; board assembly and semiconductor fabrication are different stages.

Good to know

Related