Computer/Embedded Technology


New Raspberry Pi Pico built on silicon developed in-house

26 February 2021 Computer/Embedded Technology

The Raspberry Pi Foundation has launched its first microcontroller-class product, the Raspberry Pi Pico. Priced at just $4, it is built on RP2040, a brand-new chip developed by the Foundation. Whether you’re looking for a standalone board for deep-embedded development or a companion to your Raspberry Pi computer, or you’re taking your first steps with a microcontroller, this is the board for you.

Many projects, from cucumber sorters to high-altitude balloons, connect Raspberry Pi to the physical world: software running on the Raspberry Pi reads sensors, performs computations, talks to the network, and drives actuators. This ability to bridge the worlds of software and hardware has contributed to the enduring popularity of Raspberry Pi computers, with over 37 million units sold to date.

But there are limits: even in its lowest power mode, a Raspberry Pi Zero will consume in the order of 100 mW; Raspberry Pi on its own does not support analog input; and while it is possible to run ‘bare metal’ software on a Raspberry Pi, software running under a general-purpose operating system like Linux is not well suited to low-latency control of individual I/O pins.

Many hobbyist and industrial applications pair a Raspberry Pi with a microcontroller. The Raspberry Pi takes care of heavyweight computation, network access, and storage, while the microcontroller handles analog input and low-latency I/O and, sometimes, provides a very low-power standby mode.

Until now, the Raspberry Pi Foundation had not been able to figure out a way to make a compelling microcontroller-class product of its own. To make the product it really wanted to make, first it had to learn to make its own chips.

Raspberry Si

It seems like every fruit company is making its own silicon these days, and the Foundation is no exception. The RP2040 builds on the lessons learned from using other microcontrollers in Raspberry Pi products, from the Sense HAT to Raspberry Pi 400. It’s the result of many years of hard work by the Foundation’s in-house chip team.

“We had three principal design goals for RP2040: high performance, particularly for integer workloads; flexible I/O, to allow us to talk to almost any external device; and of course, low cost, to eliminate barriers to entry,” says the Foundation’s James Adams. “We ended up with an incredibly powerful little chip, cramming all this into a 7 x 7 mm QFN-56 package containing just two square millimetres of 40 nm silicon.

The RP2040 has:

• Dual-core Arm Cortex-M0+ running at 133 MHz.

• 264 KB of on-chip RAM.

• Support for up to 16 MB 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 analog 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.

And this isn’t just a powerful chip: it’s designed to help you bring every last drop of that power to bear. With six independent banks of RAM, and a fully connected switch at the heart of its bus fabric, you can easily arrange for the cores and DMA engines to run in parallel without contention.

For power users, a complete C SDK is provided, as well as a GCC-based toolchain, and Visual Studio code integration.

“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.

“With two fast cores and a large amount of on-chip RAM, the RP2040 is a great platform for machine learning applications. You can find Pete Warden’s port of Google’s TensorFlow Lite framework at https://github.com/raspberrypi/pico-tflmicro. Look out for more machine learning content over the coming months.

“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. And our friend Aivar Annamaa has added RP2040 MicroPython support to the popular Thonny IDE,” Adams continues.

Raspberry Pi Pico

Raspberry Pi Pico is designed as a low-cost breakout board for the RP2040. It pairs the RP2040 with 2 MB of Flash memory, and a power supply chip supporting input voltages from 1,8 to 5,5 V. This allows you to power your Pico from a wide variety of sources, including two or three AA cells in series, or a single lithium-ion cell.

Pico provides a single push-button, which can be used to enter USB mass-storage mode at boot time and also as a general input, and a single LED. It exposes 26 of the 30 GPIO pins on RP2040, including three of the four analog inputs, to 0,1-inch-pitch pads; you can solder headers to these pads or take advantage of their castellated edges to solder Pico directly to a carrier board. Volume customers will be able to buy pre-reeled Pico units.

“The Pico PCB layout was co-designed with the RP2040 silicon and package, and we’re really pleased with how it turned out: a two-layer PCB with a solid ground plane and a GPIO breakout that ‘just works’,” Adams concludes.

Check for availability at an authorised South African distributor of Raspberry Pi: www.ebg.co.za/brand-suppliers.aspx?agacc=5617




Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Compact fanless IoT edge server
29 September 2021, Brandwagon Distribution , Computer/Embedded Technology
With the rise of AI, machine vision and deep learning, much of the data analytics and processing are now happening further from the info centres in the field or where the data is collected. For those ...

Read more...
Highly flexible remote I/O controllers
29 September 2021, RF Design , Computer/Embedded Technology
Remote I/O devices are well-established in the industrial world. By supporting popular communications protocols such as Modbus, they give other equipment and control systems such as scada access to remote ...

Read more...
Data acquisition HATs for Raspberry Pi
29 September 2021, Osiris Technical Systems , Computer/Embedded Technology
Raspberry Pi is the most popular single-board computer in use today, but does not have built-in test and measurement capabilities such as analog-to-digital converters (ADCs), digital-to-analog converters ...

Read more...
Video processing board with target tracking software
25 August 2021, Rugged Interconnect Technologies , Computer/Embedded Technology
Vision4ce recently unveiled the Charm 100NX video processing board built upon Nvidia’s Jetson Xavier NX, hailed as the world’s smallest AI supercomputer. The Xavier NX provides more than three times the ...

Read more...
Nvidia releases version 4.6 of its AI SDK
28 July 2021, Altron Arrow , Computer/Embedded Technology
Nvidia has rolled out version 4.6 of its JetPack SDK, a production release supporting the Jetson AGX Xavier series, Jetson Xavier NX, Jetson TX2, Jetson TX1 and Jetson Nano. JetPack 4.6 includes support ...

Read more...
AI edge computing platforms powered by Nvidia Jetson Nano
25 August 2021, Altron Arrow , Computer/Embedded Technology
The Boxer-8223AI is the latest platform in AAEON’s lineup of AI edge systems, powered by the Nvidia Jetson Nano. Featuring two PoE PSE ports, the system can deliver power to PoE cameras, helping to reduce ...

Read more...
Industrial CompactFlash memory cards
28 July 2021, Vepac Electronics , Computer/Embedded Technology
The Innodisk Industrial CompactFlash 9000 memory card (iCF 9000) products provide high-capacity, solid-state Flash memory that electrically complies with True IDE mode which is electrically compatible ...

Read more...
CompactPCI Serial to PCI Express card adaptor
23 June 2021, Rugged Interconnect Technologies , Computer/Embedded Technology
EKF’s SA4-Country is a peripheral slot board for PICMG CompactPCI Serial systems and acts as a carrier for a low-profile PCI Express (PCIe) card. The board is endowed with a PCIe x8 connector (optionally ...

Read more...
Rugged CompactPCI Serial-based embedded platform
28 July 2021, Rugged Interconnect Technologies , Computer/Embedded Technology
The SRS-12xx-BLUBRICK from EKF is an embedded rugged system platform for a wide range of applications. The modular concept is based on CompactPCI Serial, a well-established industrial standard for IEEE 100 x 160 mm ...

Read more...
Customisable local voice control at the edge
28 July 2021, Future Electronics , Computer/Embedded Technology
NXP’s EdgeReady solution portfolio now includes a turnkey hardware and software solution that enables developers to add versatile local voice control with customisable commands to the industrial and IoT ...

Read more...