Raspberry Pi Pico 2 Brings more performance at $5

Raspberry Pi Pico 2 Brings more performance at $5

The Raspberry Pi foundation has been hard at work releasing new boards both Microprocessors and Microcontrollers. The Raspberry Pi Pic 2 is the latest addition to the Pi Pico family.

The RPI Pico 2 board retains the same standard form factor from the previous Pico line of boards, but with a new RP2350 chipset that brings a lot more power and capabilities.

Hardware

Like the usual upgrades from Raspberry Pi, the Raspberry Pi Pico 2 boasts a substantial upgrade in its core hardware using the new RP2350 chipset that has two ARM and two RISC V cores. Some of the features are:
  • Processor: The Pi Pico 2 is powered by the RP2350, which contains Dual Cortex-M33 ARM cores at 150MHz as well as Dual RISC-V processor cores. Added support for FPU and DSP instructions
  • Memory: 520KB of RAM
  • Flash – 4MB of Flash
  • USB Ports: 1 USB 
  • GPIO: The 40-pin GPIO header remains, maintaining compatibility with existing HATs and expansion boards.

Comparing to RP2040 and the Raspberry Pi Pico

One of the first questions you’ll have is how does the RPI Pico 2 compare to the original Pi Pico. Here’s a summary of the enhancements:

  • Cortex-M0 have been replaced with the much more capable Cortex-M33 processors
  • SRAM has increased from 264kB to 520kB
  • Two additional CPU cores – RISC-V Hazard3
  • 4MB Flash as opposed to 2MB Flash
  • Security capabilities like ARM TrustZone, OTP memory, SHA-256 accelerators, TRNG, Fast glitch detections
  • 3 PIO blocks instead of 2 PIO blocks

Variants

Aside from just offering a board, the Raspberry Pi Foundation is offering 4 different variants of the chipsets in two different sizes

  • RP2350A – 60-pin 7x7mm QFN with no Flash and 30 GPIOs
  • RP2350B – 80 pin 10x10mm QFN with No Flash and 30 GPIOs
  • RP2354A – 60-pin 7x7mm QFN with 2MB Flash and 30 GPIOs
  • RP2354B – 80 pin 10x10mm QFN with 2MB Flash and 30 GPIOs

The 2354 variants are basically intended for very integrated devices where 2MB of flash is enough for all the code. and you don’t want an external chip. Otherwise it can use an eternal 16MB Flash/PSRAM

Peripherals and Features

  • 12-bit 500ksps ADC
  • 2 Timers with 4 alarms
  • 1 Always On Timer (AON)
  • 2x UART
  • 2 SPI
  • 2 I2C
  • 24 PWM
  • USB 1.1 with Host and Device Support
  • 12 PIO State Machines that can emulate SD Card and VGA interfaces
  • 1 HSTX 
  • Security with TrustZone support, OTP storage and support for Secure Boot with signed firmware
  • SHA-256 Acceleration
  • Hardware True Random Number Generator (TRNG)
  • Support for 

These peripherals are most standard, but nothing to write home about. USB 1.1 support is nice for HID devices like keyboards and mice, but for the system power USB 2.0 would have been nice to have.

Two interesting peripherals that may make a big difference are the PIO state machine and the HSTX:

PIO state machine

The PIO peripherals offer some unique features that are meant to be programmable like a CPLD without having to using a Hardware Description Language (HDL) like Verilog or VHDL.

The PIO state machines basically runs a small binary programs that can execute up to nine instructions. For example, there is a PIO logic analyzer demo in the github repository. Take a look at the examples in the Pico Examples Repository.

Hardware Interface

Connecting your Raspberry Pi Pico is key to making it do anything useful, and the board does a great job of making it easy to use.

Courtesy of Raspberry Pi

The Raspberry Pi Pico line is obviously different than the normal Raspberry Pi line. One of those differences is the form factor and its interface. The Raspberry Pi Pico (both the Pico 2 and previous designs) use 40 pins, 20 pins on each side using castellated holes spaced at 0.1 inches (2.54mm).

Castellated holes are holes that are cut in half. This allows the board to be mounted via soldering to another carrier board. Because of the holes themselves, the Raspberry Pi Pico boards fit on breadboards and many other standard interfaces.

Boot Selection

The BOOTSEL button on the board allows programming the board as a USB Mass Storage Device. When the button is pressed and the device powers up, USB boot code in the ROM is executed and allows you to drag and drop .uf2 files, similar to how the MBED drag and drop used to work.
 

Software

The Raspberry Pi Pico 2, like previous devices, is programmed in C/C++ (with Rust support in progress). The great part is that the development can be done in Visual Studio Code with supported plugins – the Raspberry Pi Pico extension.
The Pico Software Development Kit (SDK) is a repository that gives you all the pieces you need to develop software in C, C++ or assembly.
 
Aside from C/C++, you can also use MicroPython and CircuitPython. There’s also working happening to enable Rust to run on the Raspberry Pi Pico 2. 
 
This broad support for languages makes the board accessing for everyone from Hobbyists to Embedded Developers.
 
 To debug the device there are two options – using a Raspberry Pi Debug Probe, or even another Raspberry Pi Pico 2. It’s possible to use other ARM debuggers, but using the Debug Probe is the easiest path forward. This is another differentiator for the Pico boards, which make debugging easy.

Security

Like many boards and devices, security is becoming an important part of any product. The RPI Pico 2 implements the full Trusted Firmware lifecycle like secure boot and secure firmware. RPI Foundation is also planning to have the part certified as PSA Level 2.

Power Consumption

One thing that the Pico 2 lacks, much like the RP2040, is serious power optimization. The original RP2040 consumed miliwatts of power, typically drawing about 24mA without any code even running. The Pico 2 consumes less than the RP2040, but RPI admits that it still consumes about 10x more than it should.
 
This limitation will keep the RP2350 to applications where the power source is big enough, like Lithium Ion/Poly batteries or USB powered.

Price

Price is a huge aspect of any Raspberry Pi board, and the Pico 2 is no exception. At a cost of $5 it makes it accessible to anyone. It’s a board for a cup of coffee, similar to a Raspberry Pi Zero board.
 

What’s even more interesting is that the goal for the Raspberry Pi Foundation is to enable other boards and sell chips in volume at really good prices which is going to give many MCUs in the market a run for their money. RPI even claims the prices will be only 30 cents more for single unit quantities.

  • RP2350A – $0.8
  • RP2350B – $0.9
  • RP2354A – $1.0
  • RP2354B – $1.1
Essentially you’re paying 20 cents for the internal 2MB memory, which is relatively good value. a $1 150MHz quad core microcontroller with a lot of peripherals, 2MB of Flash and 520kB of RAM. To say this is good value is an understatement. There are many parts from large microcontroller vendors that cost about the same and contain a single core, a fraction of the flash and RAM.

Our Take

The Raspberry Pi Pico 2 brings a lot more performance and features and continues the Raspberry Pi’s foundation work. Even more, the great pricing of the parts (even in single quantities), great software support and the large number of vendors building boards 

We think the end result here will have a broad impact on the microcontroller world. The RP2350 parts are going to fit a large number of applications in a way the previous RP2040 couldn’t, and at the price they’re being offered even in single quantities, it’s hard not to believe that many product developers won’t be looking at it as potential replacement.

There are some downsides to the board and the RP2350. The first is the high power consumption and the lack of a 32kHz clock, something that is very standard in most microcontrollers today. 

The peripheral selection is also somewhat limited compared to other microcontrollers, but to be fair, many of those cost multiples compared to the RP2350 that it’s not necessarily fair to compare. If you’re needing USB2.0, Ethernet or things like comparators, op-amps, high end ADCs or other things, some other parts will be better, though you can fit them externally.

Overall, it seems the Raspberry Pi Foundation has taking the RP2040 which has become very popular in hobbyist circles, and enhanced it significantly with more capabilities in a way that will appeal not just to hobbyists. The Raspberry Pi Pico 2’s price, features and software support make it a huge 

More Information

Raspberry Pi Pico 2, our new $5 microcontroller board, on sale now

Raspberry Pi Pico 2 Brief

RP2350 Datasheet

 * Images Courtesy of Raspberry Pi
7.8
Great
The latest addition to the Raspberry Pi Pico line with more power and capabilities while keeping compatible with the original Pi Pico
Release Date: 1 Aug 2024
Price: $5
Memory: 520KB