RP2040

Last updated
RP2040 microcontroller RP2040.jpg
RP2040 microcontroller
RP2040 die shot Raspberry-pi rp2-b0 s1-9 mit20x.jpg
RP2040 die shot
A PhobGCC, an open-source motherboard replacement for the GameCube controller designed for competitive Super Smash Bros. Melee, powered by the RP2040 PhobGCC 2.0.5.png
A PhobGCC, an open-source motherboard replacement for the GameCube controller designed for competitive Super Smash Bros. Melee , powered by the RP2040

RP2040 is a 32-bit dual ARM Cortex-M0+ microcontroller integrated circuit [1] [2] [3] by Raspberry Pi Ltd. In January 2021, it was released as part of the Raspberry Pi Pico board. [1] Its successor is the RP2350 series.

Contents

Overview

Announced on 21 January 2021, the RP2040 is the first microcontroller designed by Raspberry Pi Ltd. [1] [2] The microcontroller is low cost, with the Raspberry Pi Pico being introduced at US$4 and the RP2040 itself costing US$1. The microcontroller can be programmed in assembly, C, C++, Swift, [4] Free Pascal, Rust, [5] Go, [6] MicroPython, CircuitPython, [1] [7] Ada, [8] TypeScript [9] and Zig. [10] It is powerful enough to run TensorFlow Lite. [1]

At announcement time, four other manufacturers (Adafruit, Pimoroni, Arduino, SparkFun) were at advanced stages of their product design, awaiting the widespread availability of chips to be put into production. [11]

Hackaday notes the benefits of the RP2040 as being from Raspberry Pi, having a good feature set, and being released in low-cost packages. [12]

Multiple stepping levels of the chip have been produced. [13]

Features

The RP2040 chip is 40 nm silicon in a 7 × 7 mm QFN-56EP surface-mount device (SMD) package manufactured by TSMC [14]

For comparison with the RP2350, see RP2350 § Family comparison.

Boards

A number of manufacturers have announced their own boards using the RP2040. A selection of the growing number is here:

Board nameManufacturerSize (mm)Header pinsDebug connectionNumber of pads USB connectorOther connectors Flash size GPIO pins ADC pinsButtonsOther featuresImage
Pico [17] Raspberry Pi Ltd51×2140+3via headers6micro-USB2 MB263BOOTSEL Raspberry Pi Pico oblique.jpg
Pico W [18] Raspberry Pi Ltd51×2140+3via headers6micro-USB2 MB263BOOTSEL Wi-Fi, Bluetooth PXL 20220703 104511558.PORTRAIT (cropped).jpg
XIAO RP2040 [19] Seeed Studio20×17.5×3.514 Reset Button/ Boot ButtonUSB Type-C interface2 MBBOOTSEL + RESET
Nano RP2040 Connect [20] Arduino 45×1830via pads5+4+2micro-USB16 MB1Wi-Fi, Bluetooth, 9-axis IMU, microphone 18555 - Arduino Nano RP2040 Connect (cropped).jpg
Tiny 2040 [21] Pimoroni 22.9×18.2×68+3via headers USB-C 8 MB124BOOTSEL + RESET
Keybow 2040 [22] Pimoroni76x76x300 (USB only)USB-C2 MB16 keys
PicoSystem [23] Pimoroni96.6×42.7×15.50 (self contained)USB-C16 MB4 + joypad Color 240×240 LCD, onboard battery
Feather RP2040 [24] Adafruit 51×23×728via pinsUSB-CSTEMMA QT, lipo battery8 MB214BOOTSEL + RESET Battery charger
ItsyBitsy RP2040 [25] Adafruit 36×18×433via headersmicro-USB4 MB234BOOTSEL + RESET
Metro RP2040 [26] Adafruit 71x53×1332SWD + 3 pin JST SH compatibleUSB Type-CDC jack for 6-12VDC / STEMMA QT / SWD / pico probe16 MB244BOOTSEL + RESET NeoPixel LED, Micro SD
QT Py RP2040 [27] Adafruit22×18×614Reset Button/ Boot ButtonUSB-CSTEMMA QT8 MB134BOOTSEL + RESET3.3vdc regulator, NeoPixel LED
Pro Micro – RP2040 [28] Sparkfun 36×18244+2USB-CQWIIC16 MB204BOOTSEL + RESET SparkFun Pro Micro - RP2040 - 51412593812 (cropped).jpg
Thing Plus RP2040 [29] Sparkfun59×2328JTAG pinsUSB-CQWIIC, lipo battery16 MB184BOOTSEL + RESETBattery charger 17745-SparkFun Thing Plus - RP2040-01a (cropped).jpg
MicroMod RP2040 [30] Sparkfun22×220 edge connector edge connector16 MB293none 17720-SparkFun MicroMod RP2040 Processor-01A (cropped).jpg
Müsli USB Pmod [31] Lone Dynamics45×20.3212SWDUSB Type-A female12-pin male PMOD, SWD256 KB80BOOTSELUSB host, 5V boost converter
Werkzeug USB Multi-Tool [32] Lone Dynamics50×5032USB-C12-pin female PMOD, USB Type-A female1 MB244BOOTSELUSB device/host, PMOD
RP2040 [33] WeAct Studio53x21.5240+4via headersUSB-C2 MB,
4 MB,
8 MB,
16 MB
264BOOTSEL + RESET
RP2040-Zero [34] Waveshare Electronics23×1823USB-C10-pad connector2 MB294BOOTSEL + RESETRGB LED (WS2812)
Pico2040zeankun.dev51x1840+3 (2mm and 2.54mm variants are available)SWD4micro-USB16 MB,
32 MB,
64 MB,
128 MB
284BOOTSEL + RESET
Bus Pirate 5Where Labs, LLC60x3710+9SWDUSB-C16MB
W5100S-EVB-Pico [35] WIZnet Co., Ltd.75x2140+3via headersMicro-USBRJ452 MB263BOOTSEL + RESETEthernet W5100s-evb-pico-1.1-side.png
W5500-EVB-Pico [36] WIZnet Co., Ltd.75x2140+3via headersMicro-USBRJ452 MB263BOOTSEL + RESETEthernet W5500 evb pico side.png
W6100-EVB-Pico [37] WIZnet Co., Ltd.75x2140+3via headersMicro-USBRJ452 MB263BOOTSEL + RESETEthernet W6100-evb-pico-side.png
WizFi360-EVB-Pico [38] WIZnet Co., Ltd.75×2140+3via headersMicro-USB2 MB263BOOTSEL + RESETWi-Fi WizFi360-EVB-Pico Main.png
0xCB-Helios [39] 0xCB36×1840+3via headersUSB-C16 MB29BOOTSEL + RESETdefault off red power LED, blue user LED, level shifter to drive 5V components. ESD protection chip onboard
Picopad [40] Pájeníčko s.r.o.129x5312via headersmicro-USBmicroSD, external connector2 MB6BOOTSEL + RESETon-off, Wi-Fi, micro SD card, external connector, IPS screen, speaker, battery
MUREX ANYESC [41] MUREX Robotics78×353via headersUSB-C edge connector 8 MB30BOOTSEL + RESETcommercial ESC connector, 3 user LEDs
RP2040-PICO30 [42] OLIMEX Ltd 51×2140+3via headersUSB-COptional UEXT (pUEXT)2 MB304BOOTSEL + RESET3.3V 2A (3A peak) DCDC, All 30 GPIOs available to the user, Optional status LED
RP2040-PICO30-16 [42] OLIMEX Ltd51×2140+3via headersUSB-COptional UEXT (pUEXT)16 MB304BOOTSEL + RESET
PicoUSB [43] VoltMake [44] 45×12x40 (USB only)Dual sided USB-A2 MBBOOTSEL + MODEstatus LED PicoUSB-RP2040-top.jpg

See also

References

  1. 1 2 3 4 5 "Meet Raspberry Silicon: Raspberry Pi Pico now on sale at $4". January 21, 2021.
  2. 1 2 Adams, James (1 February 2021). "Raspberry Pi RP2040: Our Microcontroller for the Masses". Arm Blueprint. Retrieved 20 February 2021.
  3. 1 2 "RP2040 Datasheet" (PDF). Raspberry Pi Ltd. Retrieved 20 February 2021.
  4. apple/swift-embedded-examples, Apple, 2024-06-14, retrieved 2024-06-14
  5. "Rust on the RP series of microcontrollers". GitHub. Retrieved 29 March 2023.
  6. "Raspberry Pi Pico". TinyGo. Retrieved 2024-09-10.
  7. Rembor, Kattni. "Getting Started with Raspberry Pi Pico and CircuitPython". Adafruit Learning System. Adafruit . Retrieved 17 February 2023.
  8. "Ada on the Raspberry Pi Pico" . Retrieved 10 July 2023.
  9. "RP2040 | DeviceScript". microsoft.github.io. Retrieved 2023-11-28.
  10. microzig, Zig Embedded Group, 2024-12-08, retrieved 2024-12-08
  11. "Tweet". twitter.com. Retrieved 2021-02-18.
  12. Williams, Elliot (20 January 2021). "Raspberry Pi Enters Microcontroller Game With $4 Pico". Hackaday. Retrieved 20 February 2021.
  13. "RP2040 datasheet" (PDF). Raspberry Pi Ltd. 2 May 2024. p. 391. There are two hardware issues with the device controller, both of which have software workarounds on RP2040B0, RP2040B1, and are fixed in hardware on RP2040B2
  14. "Raspberry Pi: Here's how we built our own chip to power the Pico". ZDNET. Retrieved 2023-10-05.
  15. "RP2040 Datasheet" (PDF). raspberrypi.com. Retrieved 2021-03-28.
  16. "Pico SDK 2.1.1".
  17. "Buy a Raspberry Pi Pico".
  18. "Pico W - Raspberry Pi | Rasppishop - Raspberry Pi Boards und Zubehör". Pico W - Raspberry Pi | Rasppishop - Raspberry Pi Boards und Zubehör (in German). Retrieved 2023-09-04.
  19. "Seeed Studio XIAO RP2040 - Supports Arduino, MicroPython and CircuitPython". www.seeedstudio.com. 2023-08-06. Retrieved 2023-09-04.
  20. "Welcome Raspberry Pi to the world of microcontrollers". 20 January 2021.
  21. "Tiny 2040 – Pimoroni".
  22. "Keybow 2040 – Pimoroni".
  23. "PicoSystem – Pimoroni".
  24. "Adafruit Feather RP2040".
  25. "Adafruit ItsyBitsy RP2040".
  26. "Adafruit Metro RP2040".
  27. "Adafruit QT Py RP2040".
  28. "SparkFun Pro Micro - RP2040 - DEV-18288 - SparkFun Electronics".
  29. "SparkFun Thing Plus - RP2040 - DEV-17745 - SparkFun Electronics".
  30. "SparkFun MicroMod RP2040 Processor - DEV-17720 - SparkFun Electronics".
  31. "Müsli USB Pmod™ Compatible Module".
  32. "Werkzeug USB Multi-Tool".
  33. Studio, WeAct (2023-08-17), RP2040 / WeAct Studio 微行工作室 出品 , retrieved 2023-09-04
  34. "RP2040-Zero, A Low-Cost, High-Performance Pico-Like MCU Board Based On Raspberry Pi Microcontroller RP2040". www.waveshare.com. Retrieved 2023-09-04.
  35. "WIZnet W5100S-EVB-Pico".
  36. "WIZnet W5500-EVB-Pico".
  37. "WIZnet W6100-EVB-Pico".
  38. "WIZnet WizFi360-EVB-Pico".
  39. "0xCB Helios". GitHub .
  40. "Picopad".
  41. "ESC – MUREX Robotics Documentation". docs.murexrobotics.com. Retrieved 2024-07-07.
  42. 1 2 "RP2040-PICO30 - Open Source Hardware Board". Olimex. Retrieved 2024-07-19.
  43. "PicoUSB: Raspberry Pi (Pico) RP2040 powered Bad USB (Rubber Ducky)". PicoUSB. Retrieved 2024-09-29.
  44. "VoltMake - Electronics Engineering - PCB Design - Firmware - Software". VoltMake. Retrieved 2024-09-29.