← Commit history

component page: CAD + datasheet-first provenance

Ray ·fe36ab2afd ·2mo ago ·parent daa8f94
1 file changed +407−20
page.json+407−20
@@ -3,8 +3,9 @@   "type": "component",   "slug": "rp2040",   "title": "RP2040",-  "brief": "Dual-core ARM Cortex-M0+, 133MHz, 264KB SRAM, QFN-56",+  "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",@@ -15,36 +16,422 @@     "pico",     "qfn-56"   ],-  "license": "MIT",   "component": {     "mpn": "RP2040",     "manufacturer": "Raspberry Pi",     "package": "QFN-56",-    "pin_count": null,-    "category": "library",-    "subcategory": "",-    "body_size": null,-    "parts": {},-    "distributor_links": {}+    "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.glb"+    },+    "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\u03a9 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\u03a9 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"+    }   },-  "readme": "# RP2040\n\nDual-core ARM Cortex-M0+, 133MHz, 264KB SRAM, QFN-56\n\nThe RP2040 is Raspberry Pi's first microcontroller. It has dual ARM Cortex-M0+ cores at 133MHz, 264KB SRAM, 30 GPIO pins, and programmable I/O (PIO) state machines for flexible peripheral support.",+  "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": "Kyle Bergstedt",-    "email": "[email protected]"+    "name": "Ray",+    "email": "[email protected]"   },-  "visibility": "public",+  "dependencies": {},   "hero": {     "type": "image",     "path": "docs/hero.png"   },-  "sample_prompts": [],-  "discovery_triggers": [],-  "discovery_pitch": null,-  "metadata": {},-  "created_at": "2026-05-28T05:34:09.231Z",-  "updated_at": "2026-05-28T05:34:09.231Z",-  "description": "Raspberry Pi dual-core Arm Cortex-M0+ MCU, QFN-56. 133 MHz, 264 KB SRAM, PIO, 30 GPIO, USB. The Pico chip. Datasheet-verified.",-  "dependencies": {},   "files": [     "page.json",     "README.md",