Raspberry Pi RP2040 pHAT board comes with a 40-pin GPIO header

0xC0FFEE’s RP2040 PHAT is both a Raspberry Pi RP2040 development board and a pHAT for Raspberry Pi and Pi Zero Linux SBCs that exposes the I/Os through the 40-pin GPIO header traditionally found in Raspberry Pi single board computers.

The board comes with all features of the Raspberry Pi Pico board including a USB port for power and programming, an SPI flash, and a BOOT button, but also adds a Reset button. That means it’s software compatible, except for the user LED connected to GPIO 26, and works with the MicroPython and C SDKs, as well as the Arduino IDE, Zephyr RTOS, and more.

Raspberry Pi RP2040 pHAT

RP2040 pHAT specifications:

  • MCU – Raspberry Pi RP2040 dual-core Cortex-M0+ microcontroller @ 133 MHz with 264KB SRAM
  • Storage – 128Mbit SPI flash (based on the chip in the photo above)
  • USB – 1x USB 1.1 Type-C port used for power and programming
  • Expansion – 40-pin Raspberry Pi-compatible GPIO header
  • Debugging – Serial Wire Debug (SWD) support
  • Misc – BOOT and Reset button, user LED (GP26)
  • Power Supply – 5V via USB-C port or 2 to 5V DC via VSYS pin
  • Dimensions – 65 x 28 mm (Raspberry Pi pHAT form factor)

Raspberry Pi RP2040 board 40-pin GPIO header

The developer somehow decided it was not necessary to provide a pinout diagram for the 40-pin GPIO header, but we can probably assume best efforts were made to match the pinout for the header on the Raspberry Pi SBCs. Update: there’s now a GitHub repo with some more information including a pinout diagram, see comments below.

RP2040 pHAT pinout diagram
Pinout diagram

As a standalone board, it could probably replace the Raspberry Pi Zero in some lightweight applications as long as you are ready to write firmware for it.

As a pHAT add-on board, the use cases are less obvious although we are told that is it an “excellent add-on board for the Raspberry Pi or Raspberry Pi Zero”. Some applications that I can think of are: programming the pHAT 2040 without cables, simply insert it into the Raspberry Pi SBC, using it as an OpenOCD debugger based on PicoProbe firmware used in the Raspberry Pi Debug Probe, or transforming it in a logic analyzer or oscilloscope with open-source firmware designed for the Raspberry Pi Pico, while the Raspberry Pi SBC runs the high-level software providing the user interface.

The RP2040 pHAT board can be purchased on Tindie for $15.99 plus shipping.

Share this:

Support CNX Software! Donate via cryptocurrencies or become a Patron on Patreon

ROCK Pi 4C Plus
Notify of
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
Weller PCB manufacturer