Andreas
January 24, 2021, 12:16am
1
About RP2
The Raspberry Pi Foundation conceived a microcontroller family based on the ARM Cortex-M0+ design.
Today, we’re launching our first microcontroller-class product: Raspberry Pi Pico. Priced at just $4, it is built on RP2040, a brand-new chip developed right here at Raspberry Pi. Whether you’re looking for a standalone board for deep-embedded...
Estimated reading time: 11 minutes
RP2040 is a 32-bit dual-core ARM Cortex-M0+ microcontroller designed by Raspberry Pi Ltd. In January 2021, it was released as part of the Raspberry Pi Pico board. Its successor is the RP2350 series. Announced on 21 January 2021, the RP2040 is the first microcontroller designed by Raspberry Pi Ltd. 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++, Forth, Swift, Free Pas...
About RP2040
The first MCU is the RP2040, a dual-core 32-bit ARM Cortex-M0+ device with 264 KB of RAM and up to 16 MB of external QSPI flash memory.
Features
Dual-core Arm Cortex-M0+ @ 133MHz
7 × 7 mm QFN-56 package; 40 nm silicon
264KB on-chip RAM
Support for up to 16MB of off-chip Flash memory via dedicated QSPI bus
DMA controller
Interpolator and integer divider peripherals
30 GPIO pins, 4 of which can be used as analogue inputs
2 × UARTs, 2 × SPI controllers, and 2 × I2C controllers
16 × PWM channels
1 × USB 1.1 controller and PHY, with host and device support
8 × Raspberry Pi Programmable I/O (PIO) state machines
USB mass-storage boot mode with UF2 support, for drag-and-drop programming
Notes
As Cortex-M0+ lacks a floating-point unit, we have commissioned optimised floating-point functions from Mark Owen, author of the popular Qfplib libraries; these are substantially faster than their GCC library equivalents, and are licensed for use on any RP2040-based product.
For beginners, and other users who prefer high-level languages, we’ve worked with Damien George, creator of MicroPython , to build a polished port for RP2040; it exposes all of the chip’s hardware features, including our innovative PIO subsystem.
Resources
Boards based on the RP2040
MicroPython port for RP2
https://github.com/micropython/micropython/pull/6791
We just discovered another piece of hardware based on the RP2040 by the lovely people of Electronic Cats from Aguascalientes, México. They like OSHW, so the schematics are released under the CERN Open Hardware License.
Those are some resources about how CAN can be implemented on the RP2040. /cc @tonke , @roh
It is based on the on-board Programable IO perhipherals, or PIOs.
A few other applications also using the PIOs.