component
RP2040
Public Unreviewedby adom
Raspberry Pi dual-core Arm Cortex-M0+ MCU, QFN-56. 133 MHz, 264 KB SRAM, PIO, 30 GPIO, USB. The Pico chip. Datasheet-verified.
master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462
{
"schema_version": 1,
"type": "component",
"slug": "rp2040",
"title": "RP2040",
"brief": "Raspberry Pi dual-core Arm Cortex-M0+ MCU, QFN-56. 133 MHz, 264 KB SRAM, PIO, 30 GPIO, USB. The Pico chip. Datasheet-verified.",
"version": "0.1.0",
"license": "CC-BY-SA-4.0",
"tags": [
"component",
"microcontroller",
"mcu",
"arm",
"cortex-m0",
"raspberry-pi",
"pico",
"qfn-56"
],
"component": {
"mpn": "RP2040",
"manufacturer": "Raspberry Pi",
"package": "QFN-56",
"pin_count": 57,
"category": "Microcontroller",
"subcategory": "Dual-core Arm Cortex-M0+ MCU",
"datasheet": "https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf",
"parts": {
"symbol": "rp2040.kicad_sym",
"footprint": "rp2040.kicad_mod",
"model_3d": "rp2040-etched.glb",
"model_3d_plain": "rp2040.glb",
"lbr": "rp2040.lbr",
"model_3d_step": "rp2040-etched.step",
"model_3d_step_plain": "rp2040.step"
},
"distributor_links": {},
"pins": [
{
"number": "1",
"name": "IOVDD",
"type": "power_in",
"description": "Power supply for digital GPIOs, nominal 1.8V to 3.3V."
},
{
"number": "2",
"name": "GPIO0",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI0 RX, UART0 TX, I2C0 SDA, PWM0 A, SIO, PIO0, PIO1, USB OVCUR DET."
},
{
"number": "3",
"name": "GPIO1",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI0 CSn, UART0 RX, I2C0 SCL, PWM0 B, SIO, PIO0, PIO1, USB VBUS DET."
},
{
"number": "4",
"name": "GPIO2",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI0 SCK, UART0 CTS, I2C1 SDA, PWM1 A, SIO, PIO0, PIO1, USB VBUS EN."
},
{
"number": "5",
"name": "GPIO3",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI0 TX, UART0 RTS, I2C1 SCL, PWM1 B, SIO, PIO0, PIO1, USB OVCUR DET."
},
{
"number": "6",
"name": "GPIO4",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI0 RX, UART1 TX, I2C0 SDA, PWM2 A, SIO, PIO0, PIO1, USB VBUS DET."
},
{
"number": "7",
"name": "GPIO5",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI0 CSn, UART1 RX, I2C0 SCL, PWM2 B, SIO, PIO0, PIO1, USB VBUS EN."
},
{
"number": "8",
"name": "GPIO6",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI0 SCK, UART1 CTS, I2C1 SDA, PWM3 A, SIO, PIO0, PIO1, USB OVCUR DET."
},
{
"number": "9",
"name": "GPIO7",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI0 TX, UART1 RTS, I2C1 SCL, PWM3 B, SIO, PIO0, PIO1, USB VBUS DET."
},
{
"number": "10",
"name": "IOVDD",
"type": "power_in",
"description": "Power supply for digital GPIOs, nominal 1.8V to 3.3V."
},
{
"number": "11",
"name": "GPIO8",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI1 RX, UART1 TX, I2C0 SDA, PWM4 A, SIO, PIO0, PIO1, USB VBUS EN."
},
{
"number": "12",
"name": "GPIO9",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI1 CSn, UART1 RX, I2C0 SCL, PWM4 B, SIO, PIO0, PIO1, USB OVCUR DET."
},
{
"number": "13",
"name": "GPIO10",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI1 SCK, UART1 CTS, I2C1 SDA, PWM5 A, SIO, PIO0, PIO1, USB VBUS DET."
},
{
"number": "14",
"name": "GPIO11",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI1 TX, UART1 RTS, I2C1 SCL, PWM5 B, SIO, PIO0, PIO1, USB VBUS EN."
},
{
"number": "15",
"name": "GPIO12",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI1 RX, UART0 TX, I2C0 SDA, PWM6 A, SIO, PIO0, PIO1, USB OVCUR DET."
},
{
"number": "16",
"name": "GPIO13",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI1 CSn, UART0 RX, I2C0 SCL, PWM6 B, SIO, PIO0, PIO1, USB VBUS DET."
},
{
"number": "17",
"name": "GPIO14",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI1 SCK, UART0 CTS, I2C1 SDA, PWM7 A, SIO, PIO0, PIO1, USB VBUS EN."
},
{
"number": "18",
"name": "GPIO15",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI1 TX, UART0 RTS, I2C1 SCL, PWM7 B, SIO, PIO0, PIO1, USB OVCUR DET."
},
{
"number": "19",
"name": "TESTEN",
"type": "input",
"description": "Factory test mode pin. Tie to GND in normal operation."
},
{
"number": "20",
"name": "XIN",
"type": "input",
"description": "Crystal oscillator input. Also usable as a single-ended CMOS clock input (12MHz required for USB bootloader) with XOUT disconnected."
},
{
"number": "21",
"name": "XOUT",
"type": "output",
"description": "Crystal oscillator output. Leave disconnected when driving XIN from a single-ended CMOS clock source."
},
{
"number": "22",
"name": "IOVDD",
"type": "power_in",
"description": "Power supply for digital GPIOs, nominal 1.8V to 3.3V."
},
{
"number": "23",
"name": "DVDD",
"type": "power_in",
"description": "Digital core power supply, nominal 1.1V. Typically tied to VREG_VOUT or another board-level 1.1V rail."
},
{
"number": "24",
"name": "SWCLK",
"type": "input",
"description": "Serial Wire Debug clock for the internal SWD multi-drop bus; provides debug access to both processors and can be used to download code."
},
{
"number": "25",
"name": "SWDIO",
"type": "bidirectional",
"description": "Serial Wire Debug bidirectional data line for the internal SWD multi-drop bus."
},
{
"number": "26",
"name": "RUN",
"type": "input",
"description": "Global asynchronous reset pin (active low). Tie directly to IOVDD if no external reset is needed."
},
{
"number": "27",
"name": "GPIO16",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI0 RX, UART0 TX, I2C0 SDA, PWM0 A, SIO, PIO0, PIO1, USB VBUS DET."
},
{
"number": "28",
"name": "GPIO17",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI0 CSn, UART0 RX, I2C0 SCL, PWM0 B, SIO, PIO0, PIO1, USB VBUS EN."
},
{
"number": "29",
"name": "GPIO18",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI0 SCK, UART0 CTS, I2C1 SDA, PWM1 A, SIO, PIO0, PIO1, USB OVCUR DET."
},
{
"number": "30",
"name": "GPIO19",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI0 TX, UART0 RTS, I2C1 SCL, PWM1 B, SIO, PIO0, PIO1, USB VBUS DET."
},
{
"number": "31",
"name": "GPIO20",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI0 RX, UART1 TX, I2C0 SDA, PWM2 A, SIO, PIO0, PIO1, CLOCK GPIN0, USB VBUS EN."
},
{
"number": "32",
"name": "GPIO21",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI0 CSn, UART1 RX, I2C0 SCL, PWM2 B, SIO, PIO0, PIO1, CLOCK GPOUT0, USB OVCUR DET."
},
{
"number": "33",
"name": "IOVDD",
"type": "power_in",
"description": "Power supply for digital GPIOs, nominal 1.8V to 3.3V."
},
{
"number": "34",
"name": "GPIO22",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI0 SCK, UART1 CTS, I2C1 SDA, PWM3 A, SIO, PIO0, PIO1, CLOCK GPIN1, USB VBUS DET."
},
{
"number": "35",
"name": "GPIO23",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI0 TX, UART1 RTS, I2C1 SCL, PWM3 B, SIO, PIO0, PIO1, CLOCK GPOUT1, USB VBUS EN."
},
{
"number": "36",
"name": "GPIO24",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI1 RX, UART1 TX, I2C0 SDA, PWM4 A, SIO, PIO0, PIO1, CLOCK GPOUT2, USB OVCUR DET."
},
{
"number": "37",
"name": "GPIO25",
"type": "bidirectional",
"description": "General-purpose digital I/O; muxable to SPI1 CSn, UART1 RX, I2C0 SCL, PWM4 B, SIO, PIO0, PIO1, CLOCK GPOUT3, USB VBUS DET."
},
{
"number": "38",
"name": "GPIO26/ADC0",
"type": "bidirectional",
"description": "General-purpose digital I/O with 12-bit ADC input on channel 0; muxable to SPI1 SCK, UART1 CTS, I2C1 SDA, PWM5 A, SIO, PIO0, PIO1, USB VBUS EN."
},
{
"number": "39",
"name": "GPIO27/ADC1",
"type": "bidirectional",
"description": "General-purpose digital I/O with 12-bit ADC input on channel 1; muxable to SPI1 TX, UART1 RTS, I2C1 SCL, PWM5 B, SIO, PIO0, PIO1, USB OVCUR DET."
},
{
"number": "40",
"name": "GPIO28/ADC2",
"type": "bidirectional",
"description": "General-purpose digital I/O with 12-bit ADC input on channel 2; muxable to SPI1 RX, UART0 TX, I2C0 SDA, PWM6 A, SIO, PIO0, PIO1, USB VBUS DET."
},
{
"number": "41",
"name": "GPIO29/ADC3",
"type": "bidirectional",
"description": "General-purpose digital I/O with 12-bit ADC input on channel 3; muxable to SPI1 CSn, UART0 RX, I2C0 SCL, PWM6 B, SIO, PIO0, PIO1, USB VBUS EN."
},
{
"number": "42",
"name": "IOVDD",
"type": "power_in",
"description": "Power supply for digital GPIOs, nominal 1.8V to 3.3V."
},
{
"number": "43",
"name": "ADC_AVDD",
"type": "power_in",
"description": "Analog power supply for the ADC, nominal 3.3V."
},
{
"number": "44",
"name": "VREG_VIN",
"type": "power_in",
"description": "Power input to the internal core voltage regulator, nominal 1.8V to 3.3V."
},
{
"number": "45",
"name": "VREG_VOUT",
"type": "power_out",
"description": "Regulated core voltage output from the internal regulator, nominal 1.1V, 100mA max. Typically tied to DVDD."
},
{
"number": "46",
"name": "USB_DM",
"type": "bidirectional",
"description": "USB 1.1 D- line. Requires a 27Ω series termination resistor; internal pull-up/pull-down provided."
},
{
"number": "47",
"name": "USB_DP",
"type": "bidirectional",
"description": "USB 1.1 D+ line. Requires a 27Ω series termination resistor; internal pull-up/pull-down provided."
},
{
"number": "48",
"name": "USB_VDD",
"type": "power_in",
"description": "Power supply for the internal USB Full Speed PHY, nominal 3.3V."
},
{
"number": "49",
"name": "IOVDD",
"type": "power_in",
"description": "Power supply for digital GPIOs, nominal 1.8V to 3.3V."
},
{
"number": "50",
"name": "DVDD",
"type": "power_in",
"description": "Digital core power supply, nominal 1.1V. Typically tied to VREG_VOUT or another board-level 1.1V rail."
},
{
"number": "51",
"name": "QSPI_SD3",
"type": "bidirectional",
"description": "QSPI flash data line 3 for the XIP interface; also usable as a software-controlled GPIO if not used for flash."
},
{
"number": "52",
"name": "QSPI_SCLK",
"type": "output",
"description": "QSPI flash clock output for the XIP interface; also usable as a software-controlled GPIO if not used for flash."
},
{
"number": "53",
"name": "QSPI_SD0",
"type": "bidirectional",
"description": "QSPI flash data line 0 (MOSI in single/dual mode) for the XIP interface; also usable as a software-controlled GPIO if not used for flash."
},
{
"number": "54",
"name": "QSPI_SD2",
"type": "bidirectional",
"description": "QSPI flash data line 2 for the XIP interface; also usable as a software-controlled GPIO if not used for flash."
},
{
"number": "55",
"name": "QSPI_SD1",
"type": "bidirectional",
"description": "QSPI flash data line 1 (MISO in single/dual mode) for the XIP interface; also usable as a software-controlled GPIO if not used for flash."
},
{
"number": "56",
"name": "QSPI_SS_N",
"type": "output",
"description": "QSPI flash chip-select (active low) for the XIP interface; also usable as a software-controlled GPIO if not used for flash."
},
{
"number": "57",
"name": "GND",
"type": "power_in",
"description": "Center exposed thermal pad - single external ground connection bonded to all internal ground pads on the RP2040 die."
}
],
"provenance": {
"extractor": "ds2sf",
"datasheet": {
"url": "https://datasheets.raspberrypi.com/rp2040/rp2040-datasheet.pdf",
"pages": 19,
"sha256": "f72af3be94fae58e",
"source_tier": "mfr"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 57,
"described": 57,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
}
},
"metadata": {
"specs": {
"Cores": "2x Arm Cortex-M0+",
"Max clock": "133 MHz",
"SRAM": "264 KB (on-chip)",
"Flash": "external QSPI (XIP)",
"GPIO": "30 (4 with 12-bit ADC)",
"Special": "8x Programmable I/O (PIO) state machines",
"USB": "1.1 host + device",
"Supply voltage": "1.8-3.3 V (IO), 1.1 V core",
"Package": "QFN-56 (7x7 mm)"
}
},
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"rp2040",
"raspberry pi pico chip",
"dual core cortex-m0",
"pio microcontroller",
"rp2040 mcu"
],
"discovery_pitch": "RP2040 dual-core Arm Cortex-M0+ microcontroller (QFN-56, the Raspberry Pi Pico chip) with datasheet-verified pinout, KiCad symbol/footprint/3D, and full provenance.",
"author": {
"name": "Ray",
"email": "[email protected]"
},
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"rp2040.kicad_sym",
"rp2040.kicad_mod",
"rp2040.glb",
"rp2040.lbr",
"docs/hero.png",
"docs/rp2040-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"rp2040-etched.step"
],
"variants": [
{
"mpn": "RP2040 (QFN-56)",
"kind": "packaging"
},
{
"mpn": "RP2040TR (QFN-56, tape & reel)",
"kind": "packaging"
}
]
}