RP2040

From Wikipedia, the free encyclopedia
RP2040 microcontroller

The RP2040 is a 32-bit dual ARM Cortex-M0+ microcontroller integrated circuit by Raspberry Pi Foundation.[1][2][3] At the same time, it was released as part of the Raspberry Pi Pico board.[1]

Overview[]

Announced on 21st January 2021, the RP2040 is the first microcontroller designed by the Raspberry Pi Foundation.[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 Rust, C/C++ and MicroPython.[1] 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 in to production.[4] SparkFun has since released products based around the RP2040.[5]

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

Per the datasheet, there are multiple versions of the chip:
"The full source for the RP2040 bootROM can be found at https://github.com/raspberrypi/pico-bootrom.
This includes both version 1 and version 2 of the bootROM, which correspond to the B0 and B1 silicon revisions, respectively."

Features[]

The chip is 40nm silicon in a 7 × 7 mm QFN-56 SMD package.

  • Key features: [7]
    • 133 MHz dual ARM Cortex-M0+ cores (can be overclocked to over 400 MHz[8])
      • Each core has an integer divider peripheral, and two interpolators.
    • 264 KB SRAM in six independent banks
    • No internal Flash or EEPROM memory (after reset, the boot-loader loads firmware from either external flash memory or USB bus into internal SRAM)
    • QSPI bus controller, supporting up to 16 MB of external Flash memory
    • DMA controller
    • AHB crossbar, fully-connected
    • On-chip programmable LDO to generate core voltage
    • 2 on-chip PLLs to generate USB and core clocks
    • 30 GPIO pins, of which 4 can optionally be used as analog inputs
  • Peripherals:
    • 2 UARTs
    • 2 SPI controllers
    • 2 I²C controllers
    • 16 PWM channels
    • USB 1.1 controller and PHY, with host and device support
    • 8 PIO state machines

Boards[]

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

Board name Manufacturer Size (mm) Header pins Debug connection Number of pads USB connector Other connectors Flash size GPIO pins ADC pins Buttons Other features Image
Pico[9] Raspberry Pi Foundation 51x21 40+3 via headers 6 micro-USB 2MB 26 3 BOOTSEL Raspberry pi pico oben (cropped).jpg
XIAO RP2040 Seeedstudio 20x17.5x3.5 30 Reset Button/ Boot Button USB Type-C interface 2MB 1 RESET button, 1 BOOT button
Nano RP2040 Connect[10] Arduino 45x18 30 via pads 5+4+2 micro-USB 16MB 1 WiFi, Bluetooth, 9-axis IMU, microphone 18555 - Arduino Nano RP2040 Connect (cropped).jpg
Tiny 2040[11] Pimoroni 22.9x18.2x6 8+3 via headers USB-C 8MB 12 4 BOOTSEL + RESET
Keybow 2040[12] Pimoroni 0 (USB only) USB-C 16 keys
PicoSystem[13] Pimoroni 0 (self contained) USB-C 4 + joypad Color 240x240 LCD, onboard battery
Feather RP2040[14] Adafruit 50.8x22.8x7 28 via pins USB-C STEMMA QT, lipo battery 8MB 21 4 BOOTSEL + RESET Battery charger
ItsyBitsy RP2040[15] Adafruit 36x18x4 33 via headers micro-USB 4MB 23 4 BOOTSEL + RESET
Pro Micro - RP2040[16] Sparkfun 36x18 24 4+2 USB-C QWIIC 16MB 20 4 BOOTSEL + RESET SparkFun Pro Micro - RP2040 - 51412593812 (cropped).jpg
Thing Plus RP2040[17] Sparkfun 59x23 28 JTAG pins USB-C QWIIC, lipo battery 16MB 18 4 BOOTSEL + RESET Battery charger 17745-SparkFun Thing Plus - RP2040-01a (cropped).jpg
MicroMod RP2040[18] Sparkfun 22x22 0 edge connector edge connector 16MB 29 3 none 17720-SparkFun MicroMod RP2040 Processor-01A (cropped).jpg

See also[]

  • Arduino - a popular microcontroller board family
  • ESP32 - a series of low-cost, low-power system on a chip microcontrollers with integrated Wi-Fi and dual-mode Bluetooth.
  • STM32 - a family of 32-bit microcontroller integrated circuits
  • Raspberry Pi - Raspberry Pi's series of small single board computers

References[]

  1. ^ a b c d e "Meet Raspberry Silicon: Raspberry Pi Pico now on sale at $4". January 21, 2021.
  2. ^ a b Adams, James (1 February 2021). "Raspberry Pi RP2040: Our Microcontroller for the Masses". Arm Blueprint. Retrieved 20 February 2021.
  3. ^ "RP2040 Datasheet" (PDF). Raspberry Pi Foundation. Retrieved 20 February 2021.
  4. ^ "Tweet". twitter.com. Retrieved 2021-02-18.
  5. ^ "RP2040 - A microcontroller from Raspberry Pi - SparkFun Electronics". www.sparkfun.com. Retrieved 20 February 2021.
  6. ^ Williams, Elliot (20 January 2021). "Raspberry Pi Enters Microcontroller Game With $4 Pico". Hackaday. Retrieved 20 February 2021.
  7. ^ "RP2040 Datasheet" (PDF). RaspberryPi.org. Retrieved 2021-03-28.
  8. ^ "Robin Grosset Takes a Raspberry Pi Pico's RP2040 to New Heights with an Overclock to 420MHz". Hackster.io. Retrieved 2021-03-28.
  9. ^ "Buy a Raspberry Pi Pico".
  10. ^ "Welcome Raspberry Pi to the world of microcontrollers". 20 January 2021.
  11. ^ "Tiny 2040 – Pimoroni".
  12. ^ "Keybow 2040 – Pimoroni".
  13. ^ "PicoSystem – Pimoroni".
  14. ^ "Adafruit Feather RP2040".
  15. ^ "Adafruit ItsyBitsy RP2040".
  16. ^ "SparkFun Pro Micro - RP2040 - DEV-18288 - SparkFun Electronics".
  17. ^ "SparkFun Thing Plus - RP2040 - DEV-17745 - SparkFun Electronics".
  18. ^ "SparkFun MicroMod RP2040 Processor - DEV-17720 - SparkFun Electronics".

External links[]

Retrieved from ""