# Waveshare ESP32-P4-Pico

> Compact Pico-form-factor development board based on the ESP32-P4 RISC-V dual-core processor at 400MHz with 32MB PSRAM, 32MB flash, MIPI-DSI/CSI interfaces, onboard ES8311 audio codec with NS4150B amplifier, microSD slot, and USB 2.0 OTG HS.

## Quick Facts

- **Brand:** Waveshare
- **Board Type:** dev-board
- **Price:** ~$10.99
- **Product Readiness:** consumer
- **CPU:** ESP32-P4 RISC-V dual-core @ 400MHz + LP @ 40MHz, FPU, AI extensions, HW crypto (AES/SHA/RSA/ECC)
- **CPU Architecture:** RISC-V
- **CPU Cores:** 2 + 1 LP
- **RAM:** 768KB HP SRAM + 32KB LP SRAM + 8KB TCM
- **PSRAM:** 32MB OPI
- **Flash:** 32MB
- **USB:** USB-C (UART) + USB 2.0 OTG HS
- **Power:** 5V
- **Operating Voltage:** 3.3V
- **SD Card:** microSD

## Open Source

- **Firmware:** No
- **Schematics:** Yes
- **PCB Layout:** No

## Compatible Firmware

arduino, esp-idf

## Use Cases

- HMI Development
- digital-signage
- Audio Processing
- Camera & Vision Projects
- Multimedia Kiosk
- Prototyping Platform

## Components

- **ESP32-P4** (mcu): Espressif ESP32-P4 high-performance RISC-V dual-core MCU at up to 400MHz with MIPI-DSI/CSI, H.264 encoding, USB 2.0 OTG HS, and hardware crypto. No built-in wireless radio. — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fwww.espressif.com%2Fsites%2Fdefault%2Ffiles%2Fdocumentation%2Fesp32-p4_datasheet_en.pdf&ref=openhardware.directory&product=waveshare-esp32-p4-pico&source=md-export)
- **ES8311** (audio-codec): Everest Semiconductor ES8311 low-power mono audio codec with ADC and DAC, I2S digital audio interface, and I2C control at address 0x18. — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fdl.espressif.com%2Fdl%2Fschematics%2FAudio_ES8311.pdf&ref=openhardware.directory&product=waveshare-esp32-p4-pico&source=md-export)
- **NS4150B** (audio-amplifier): Nsiway NS4150B filterless Class-D mono audio power amplifier driving up to 3W into 4-ohm speakers. Controlled via GPIO53 enable pin. — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fdatasheet.lcsc.com%2Flcsc%2F1811151231_Nsiway-Tech-NS4150B_C180457.pdf&ref=openhardware.directory&product=waveshare-esp32-p4-pico&source=md-export)
- **microphone** (microphone): Surface-mount MEMS microphone for voice input, connected via the I2S audio bus. — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fwww.waveshare.com%2Fwiki%2FESP32-P4-Pico&ref=openhardware.directory&product=waveshare-esp32-p4-pico&source=md-export)

## Protocols

- **I2C**: SDA=GPIO7, SCL=GPIO8
- **I2S**: MCLK=GPIO13, SCLK=GPIO12, ASDOUT=GPIO11, LRCK=GPIO10, DSDIN=GPIO9
- **SDIO**: CLK=GPIO43, CMD=GPIO44, D0=GPIO39, D1=GPIO40, D2=GPIO41, D3=GPIO42
- **MIPI DSI**: 2-lane display interface via FPC connector
- **MIPI CSI**: 2-lane camera interface via FPC connector
- **UART**: Via USB-C (UART0)
- **USB OTG**: USB 2.0 HS via 4-pin MX1.25 header
- **ADC**
- **GPIO**
- **PWM**
- **JTAG**

## GPIO Map

| Pin | Name | Type | Functions |
|-----|------|------|-----------|
| GPIO7 | I2C SDA | — | — |
| GPIO8 | I2C SCL | — | — |
| GPIO9 | I2S DSDIN | — | — |
| GPIO10 | I2S LRCK | — | — |
| GPIO11 | I2S ASDOUT | — | — |
| GPIO12 | I2S SCLK | — | — |
| GPIO13 | I2S MCLK | — | — |
| GPIO39 | SD D0 | — | — |
| GPIO40 | SD D1 | — | — |
| GPIO41 | SD D2 | — | — |
| GPIO42 | SD D3 | — | — |
| GPIO43 | SD CLK | — | — |
| GPIO44 | SD CMD | — | — |
| GPIO53 | PA_Ctrl (NS4150B enable) | — | — |

## Description

# Waveshare ESP32-P4-Pico

The Waveshare ESP32-P4-Pico is a compact development board in the Raspberry Pi Pico form factor, built around Espressif's ESP32-P4 SoC. The ESP32-P4 is a high-performance multimedia-focused chip with a RISC-V dual-core processor running at up to 400MHz, plus a low-power core at 40MHz. Unlike other ESP32 variants, the P4 has **no built-in WiFi or Bluetooth** — it is purpose-built for HMI, video processing, and compute-intensive applications.

## Key Highlights

- **High Performance**: Dual-core RISC-V at 400MHz with AI instruction extensions and single-precision FPU
- **Rich Memory**: 32MB PSRAM (OPI) + 32MB NOR flash + 768KB on-chip SRAM
- **Display and Camera**: 2-lane MIPI-DSI for screens up to 10.1 inches and 2-lane MIPI-CSI with integrated ISP for camera modules (OV5647, SC2336)
- **Video Processing**: Hardware H.264 encoder (1080p at 30fps), JPEG codec, 2D graphics accelerator (PPA)
- **Audio System**: ES8311 codec + NS4150B Class-D amplifier + onboard MEMS microphone + MX1.25 speaker connector (8 ohm 2W)
- **Storage**: SDIO 3.0 microSD card slot (up to 40MHz high-speed mode)
- **USB**: Type-C for power and UART flashing + USB 2.0 OTG High-Speed on 4-pin header
- **Expansion**: 2x20 pin header with 27 programmable GPIOs, compatible with some Raspberry Pi Pico HATs

## Hardware Security

The ESP32-P4 includes comprehensive security features: Secure Boot, Flash Encryption, cryptographic accelerators (AES, SHA, RSA, ECC, ECDSA), True Random Number Generator (TRNG), Digital Signature Peripheral, and Key Management Unit.

## Onboard Components

| Component | Function | Interface |
|-----------|----------|-----------|
| ESP32-P4NRW32 | Main MCU (RISC-V dual-core 400MHz) | --- |
| ES8311 | Mono audio codec (I2C addr: 0x18) | I2S + I2C |
| NS4150B | Class-D audio amplifier | GPIO53 enable |
| SMD Microphone | MEMS microphone | I2S input |

## Pin Assignments

### I2C Bus
| Signal | GPIO |
|--------|------|
| SDA | GPIO7 |
| SCL | GPIO8 |

### I2S Audio Bus
| Signal | GPIO |
|--------|------|
| MCLK | GPIO13 |
| SCLK | GPIO12 |
| ASDOUT | GPIO11 |
| LRCK | GPIO10 |
| DSDIN | GPIO9 |

### SD Card (SDMMC)
| Signal | GPIO |
|--------|------|
| CLK | GPIO43 |
| CMD | GPIO44 |
| D0 | GPIO39 |
| D1 | GPIO40 |
| D2 | GPIO41 |
| D3 | GPIO42 |

## Kit Variants

- **ESP32-P4-Pico**: Standalone board
- **ESP32-P4-Pico-KIT-A**: Board + 5-inch display + camera module
- **ESP32-P4-Pico-KIT-B**: Board + 7-inch display + camera module

## Development Environment

Supported frameworks include Arduino IDE (board package v3.2.0+) and ESP-IDF (v5.3.1+). Waveshare provides demo code for display driving (LVGL), audio processing, and camera capture. The ESP-IDF Component Registry includes drivers for compatible display panels (ILI9881C for 7-inch, JD9365 for 10.1-inch) and the ES8311 audio codec.

## Resources

- [Product Page](https://www.waveshare.com/esp32-p4-pico.htm)
- [Wiki and Tutorials](https://www.waveshare.com/wiki/ESP32-P4-Pico)
- [Demo Code Repository](https://github.com/waveshareteam/ESP32-display-support/)
- [ESP32-P4 Datasheet](https://www.espressif.com/sites/default/files/documentation/esp32-p4_datasheet_en.pdf)
- [Board Schematic](https://files.waveshare.com/wiki/ESP32-P4-Pico/ESP32-P4-Pico-datasheet.pdf)
- [ESP32-P4 Technical Reference Manual](https://files.waveshare.com/wiki/common/Esp32-p4_technical_reference_manual_en.pdf)

## Where to Buy

- [Waveshare](https://openhardware.directory/r?to=https%3A%2F%2Fwww.waveshare.com%2Fesp32-p4-pico.htm&ref=openhardware.directory&product=waveshare-esp32-p4-pico&source=md-export) — $10.99

## Resources

- [product](https://openhardware.directory/r?to=https%3A%2F%2Fwww.waveshare.com%2Fesp32-p4-pico.htm&ref=openhardware.directory&product=waveshare-esp32-p4-pico&source=md-export)
- [wiki](https://openhardware.directory/r?to=https%3A%2F%2Fwww.waveshare.com%2Fwiki%2FESP32-P4-Pico&ref=openhardware.directory&product=waveshare-esp32-p4-pico&source=md-export)
- [github](https://openhardware.directory/r?to=https%3A%2F%2Fgithub.com%2Fwaveshareteam%2FESP32-display-support%2F&ref=openhardware.directory&product=waveshare-esp32-p4-pico&source=md-export)
- [datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fwww.espressif.com%2Fsites%2Fdefault%2Ffiles%2Fdocumentation%2Fesp32-p4_datasheet_en.pdf&ref=openhardware.directory&product=waveshare-esp32-p4-pico&source=md-export)
- [schematics](https://openhardware.directory/r?to=https%3A%2F%2Ffiles.waveshare.com%2Fwiki%2FESP32-P4-Pico%2FESP32-P4-Pico-datasheet.pdf&ref=openhardware.directory&product=waveshare-esp32-p4-pico&source=md-export)

## Tags

`esp32-p4`, `risc-v`, `waveshare`, `pico-form-factor`, `mipi-dsi`, `mipi-csi`, `h264`, `audio`, `hmi`, `multimedia`, `development-board`

## Images

![Waveshare ESP32-P4-Pico](https://nbg1.your-objectstorage.com/openhardware-directory/entities/esp32-p4-pico/d6d2a3cb4fe1.jpg)
![Waveshare ESP32-P4-Pico](https://nbg1.your-objectstorage.com/openhardware-directory/entities/esp32-p4-pico/875639d935a9.jpg)
![Waveshare ESP32-P4-Pico](https://nbg1.your-objectstorage.com/openhardware-directory/entities/esp32-p4-pico/941ed6130e9b.jpg)

---
[View full device page](https://openhardware.directory/devices/waveshare-esp32-p4-pico)