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 ARM Cortex-M0+ microcontroller integrated circuit by Raspberry Pi Ltd. In January 2021, it was released as part of the Raspberry Pi Pico board.
Announced on 21st 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++, Free Pascal, Rust, Go, MicroPython, CircuitPython,...
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
https://www.elektormagazine.de/news/now-playing-rp2040-raspberry-pi-pico
Boards based on the RP2040
MicroPython port for RP2
micropython:master
← dpgeorge:pico
opened 07:36AM - 21 Jan 21 UTC
The RP2040 is a new microcontroller from Raspberry Pi. See https://www.raspberr… ypi.org/blog/raspberry-pi-silicon-pico-now-on-sale/ for more information.
This PR adds support for this class of MCUs.
Currently supported features are:
- REPL over USB VCP, and optionally over UART (on GP0/GP1).
- Filesystem on the internal flash, using littlefs2.
- Support for native code generation and inline assembler.
- `utime` module with sleep, time and ticks functions.
- `uos` module with VFS support.
- `machine` module with the following classes: `Pin`, `ADC`, `PWM`, `I2C`, `SPI`,
`SoftI2C`, `SoftSPI`, `Timer`, `UART`, `WDT`.
- `rp2` module with programmable IO (PIO) support.
See the `ports/rp2/examples/` directory for some example code.
The code here appears also at https://github.com/raspberrypi/micropython
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.
1 Like