RP2040 - the first microcontroller from Raspberry Pi
The range has received a new RP2040 - the first microcontroller from Raspberry Pi. The microcontroller is made using 40-nm technology and is available in a QFN-56 package with dimensions of 7x7 mm.
The RP2040 chip includes a pair of ARM Cortex-M0 + cores with a clock frequency of up to 133 MHz, 264 KB RAM, standard interfaces, as well as the main "trick" - a programmable input / output subsystem (PIO blocks) on which you can implement an arbitrary interface, which distinguishes this microcontroller from other solutions.
With two fast cores, plenty of built-in RAM, and a TensorFlow Lite port, the RP2040 is a great platform for machine learning applications. Power users and professional developers are offered a full C SDK , a GCC-based toolset, and Visual Studio Code integration. For hobbyists and beginners, a polished MicroPython port is provided that exposes all the hardware features of the chip.
The disadvantage of the microcontroller and at the same time a plus (reduces the cost of the product) is the lack of built-in memory for recording programs. To store program code, the RP2040 will require external flash memory up to 16 MB via the QSPI bus.
- Two ARM Cortex-M0+ cores up to 133MHz (default 48MHz);
- 264 KB of onboard SRAM divided into six banks;
- No internal flash or EEPROM memory;
- QSPI bus controller, support up to 16MB external flash;
- DMA controller;
- Fully connected AHB crossbar;
- Integer divider interpolator and peripheral;
- Built-in programmable LDO for core voltage generation;
- 2 built-in PLLs for USB and core clock generation;
- Four-channel 12-bit ADC with internal temperature sensor, 0.5 MS/s;
- 30 multifunctional GPIOs, 4 of which can be used as analog inputs;
- Peripherals: 2 UARTs, 2 SPI controllers, 2 I2C controllers, 16 PWM channels, USB 1.1 and PHY controller with host and device support, 8 PIO state machines;
- SWD debug interface.