RP2040
   HOME

TheInfoList



OR:

The RP2040 is a
32-bit In computer architecture, 32-bit computing refers to computer systems with a processor, memory, and other major system components that operate on data in 32-bit units. Compared to smaller bit widths, 32-bit computers can perform large calculation ...
dual ARM Cortex-M0+
microcontroller A microcontroller (MCU for ''microcontroller unit'', often also MC, UC, or μC) is a small computer on a single VLSI integrated circuit (IC) chip. A microcontroller contains one or more CPUs (processor cores) along with memory and programmable i ...
integrated circuit An integrated circuit or monolithic integrated circuit (also referred to as an IC, a chip, or a microchip) is a set of electronic circuits on one small flat piece (or "chip") of semiconductor material, usually silicon. Large numbers of tiny ...
by Raspberry Pi Ltd (was Raspberry Pi Trading Ltd). At the same time, it was released as part of the
Raspberry Pi Pico Raspberry Pi () is a series of small single-board computers (SBCs) developed in the United Kingdom by the Raspberry Pi Foundation in association with Broadcom. The Raspberry Pi project originally leaned towards the promotion of teaching basic c ...
board.


Overview

Announced on 21st January 2021, the RP2040 is the first microcontroller designed by Raspberry Pi Ltd (was Raspberry Pi Trading Ltd). The microcontroller is low cost, with the Raspberry Pi Pico being introduced at and the RP2040 itself costing . The microcontroller can be programmed in Assembly,
Rust Rust is an iron oxide, a usually reddish-brown oxide formed by the reaction of iron and oxygen in the catalytic presence of water or air moisture. Rust consists of hydrous iron(III) oxides (Fe2O3·nH2O) and iron(III) oxide-hydroxide (FeO(OH ...
, C/
C++ C++ (pronounced "C plus plus") is a high-level general-purpose programming language created by Danish computer scientist Bjarne Stroustrup as an extension of the C programming language, or "C with Classes". The language has expanded significan ...
and
MicroPython MicroPython is a software implementation of a programming language largely compatible with Python 3, written in C, that is optimized to run on a microcontroller. MicroPython consists of a Python compiler to bytecode and a runtime interpreter ...
. It is powerful enough to run TensorFlow Lite. At announcement time four other manufacturers (
Adafruit Adafruit Industries is an open-source hardware company based in New York City. It was founded by Limor Fried in 2005. The company designs, manufactures and sells a number of electronics products, electronics components, tools and accessories. It ...
,
Pimoroni Pimoroni Ltd is a hobbyist electronics company based in Sheffield, Yorkshire, UK. Founded in 2012, the company has grown to more than 30 people and operates from two nearby properties in Sheffield city centre, as well as a third in Essen, Germa ...
,
Arduino Arduino () is an open-source hardware and software company, project, and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices. Its hardware products are licensed unde ...
,
SparkFun SparkFun Electronics (sometimes known by its abbreviation, ''SFE'') is an electronics retailer in Niwot, Colorado, United States. It manufactures and sells microcontroller development boards and breakout boards. All products designed and produce ...
) were at advanced stages of their product design, awaiting the widespread availability of chips to be put in to production. SparkFun has since released products based around the RP2040. Hackaday notes the benefits of the RP2040 as being from Raspberry Pi, having a good feature set, and being released in low-cost packages. Per th
datasheet
there are multiple revisions 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 Flat no-leads packages such as quad-flat no-leads (QFN) and dual-flat no-leads (DFN) physically and electrically connect integrated circuits to printed circuit boards. Flat no-leads, also known as micro leadframe (MLF) and SON (small-outline no l ...
-56 surface mount device (SMD) package. * Key features: ** 133 MHz dual ARM Cortex-M0+ cores (can be overclocked to over 400 MHz) *** Each core has an integer divider peripheral, and two interpolators. ** 264 KB SRAM in six independent banks ** No internal
flash Flash, flashes, or FLASH may refer to: Arts, entertainment, and media Fictional aliases * Flash (DC Comics character), several DC Comics superheroes with super speed: ** Flash (Barry Allen) ** Flash (Jay Garrick) ** Wally West, the first Kid ...
or
EEPROM EEPROM (also called E2PROM) stands for electrically erasable programmable read-only memory and is a type of non-volatile memory used in computers, usually integrated in microcontrollers such as smart cards and remote keyless systems, or as a ...
memory (after reset, the boot-loader loads firmware from either external flash memory or
USB Universal Serial Bus (USB) is an industry standard that establishes specifications for cables, connectors and protocols for connection, communication and power supply (interfacing) between computers, peripherals and other computers. A broad ...
bus into internal SRAM) **
QSPI The Serial Peripheral Interface (SPI) is a synchronous serial communication interface specification used for short-distance communication, primarily in embedded systems. The interface was developed by Motorola in the mid-1980s and has become a ...
bus controller, supporting up to 16 MB of external flash memory ** DMA controller ** AHB crossbar, fully-connected ** On-chip programmable
low-dropout regulator A low-dropout regulator (LDO regulator) is a DC linear voltage regulator that can regulate the output voltage even when the supply voltage is very close to the output voltage. The advantages of an LDO regulator over other DC-to-DC voltage regul ...
(LDO) to generate core voltage ** 2 on-chip PLLs to generate USB and core clocks ** 30
GPIO A general-purpose input/output (GPIO) is an uncommitted digital signal pin on an integrated circuit or electronic circuit (e.g. MCUs/ MPUs ) board which may be used as an input or output, or both, and is controllable by software. GPIOs have no ...
pins, of which 4 can optionally be used as analog inputs * Peripherals: ** 2
UART A universal asynchronous receiver-transmitter (UART ) is a computer hardware device for asynchronous serial communication in which the data format and transmission speeds are configurable. It sends data bits one by one, from the least significan ...
s ** 2 SPI controllers ** 2
I²C I2C (Inter-Integrated Circuit, ), alternatively known as I2C or IIC, is a synchronous, multi-controller/multi-target (master/slave), packet switched, single-ended, serial communication bus invented in 1982 by Philips Semiconductors. It is wide ...
controllers ** 16 PWM channels **
USB 1.1 Universal Serial Bus (USB) is an industry standard that establishes specifications for cables, connectors and protocols for connection, communication and power supply (interfacing) between computers, peripherals and other computers. A broad ...
controller and
PHY PHY is an abbreviation for the physical layer of the OSI model and refers to the circuitry required to implement physical layer functions. PHY or Phy may also refer to: * Phy, the drug methadone * Phetchabun Airport (IATA code), Thailand See ...
, with host and device support ** 8
programmed input–output Programmed input–output (also programmable input/output, programmed input/output, programmed I/O, PIO) is a method of data transmission, via input/output (I/O), between a central processing unit (CPU) and a peripheral device, such as a Parallel ...
(PIO) state machines


Boards

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


See also

*
Arduino Arduino () is an open-source hardware and software company, project, and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices. Its hardware products are licensed unde ...
- a popular microcontroller board family *
ESP32 ESP32 is a series of low-cost, low-power system on a chip microcontrollers with integrated Wi-Fi and dual-mode Bluetooth. The ESP32 series employs either a Tensilica Xtensa LX6 microprocessor in both dual-core and single-core variations, Xtensa L ...
- a series of low-cost, low-power system on a chip microcontrollers with integrated Wi-Fi and dual-mode Bluetooth. *
STM32 STM32 is a family of 32-bit microcontroller integrated circuits by STMicroelectronics. The STM32 chips are grouped into related series that are based around the same 32-bit ARM architecture, ARM processor core, such as the ARM Cortex-M#Cortex ...
- a family of 32-bit microcontroller integrated circuits *
Raspberry Pi Raspberry Pi () is a series of small single-board computers (SBCs) developed in the United Kingdom by the Raspberry Pi Foundation in association with Broadcom. The Raspberry Pi project originally leaned towards the promotion of teaching basic ...
- Raspberry Pi's series of small single board computers * Thumby (Game Console) - A thumb-sized micro-console powered by the RP2040


References


External links

{{commonscat
Official webpage


Raspberry Pi ARM-based microcontrollers British inventions Computer science education in the United Kingdom Educational hardware Products introduced in 2021