Espressif ESP32-P4X-Function-EV-Board
by Espressif
Espressif multimedia dev board with ESP32-P4 rev v3.1, ESP32-C6 Wi-Fi 6 co-processor, MIPI CSI/DSI, Ethernet, audio codec and 40-pin header.

On this page
Espressif ESP32-P4X-Function-EV-Board Pinout
40 pins · 2.54 mm pitch
| Pin | GPIO | Labels | Status | Capabilities | Notes |
|---|---|---|---|---|---|
| 1 | - | 3V3 | power | - | J1 pin 1, 3.3 V |
| 2 | 7 | 7GPIO7TOUCH5 | safe | touch · pwm | J1 pin 3 |
| 3 | 8 | 8GPIO8TOUCH6 | safe | touch · pwm | J1 pin 5 |
| 4 | 23 | 23GPIO23ADC1_CH7 | safe | adc · pwm | J1 pin 7 |
| 5 | - | GND | ground | - | J1 pin 9 |
| 6 | 21 | 21GPIO21ADC1_CH5 | safe | adc · pwm | J1 pin 11 |
| 7 | 20 | 20GPIO20ADC1_CH4 | safe | adc · pwm | J1 pin 13 |
| 8 | 6 | 6GPIO6TOUCH4 | safe | touch · pwm | J1 pin 15 |
| 9 | - | 3V3 | power | - | J1 pin 17, 3.3 V |
| 10 | 3 | 3GPIO3TOUCH1 | safe | touch · pwm | J1 pin 19 |
| 11 | 2 | 2GPIO2TOUCH0 | safe | touch · pwm | J1 pin 21 |
| 12 | 0 | NC(0)GPIO0 | safe | - | J1 pin 23. Not connected by default (32.768 kHz crystal). Move R61 to R199 and R59 to R197 to use it |
| 13 | - | GND | ground | - | J1 pin 25 |
| 14 | - | NC | control | - | J1 pin 27 - no connection |
| 15 | 33 | 33GPIO33 | safe | pwm | J1 pin 29 |
| 16 | 26 | 26GPIO26 | safe | pwm | J1 pin 31. Shared with the USB Full-speed port |
| 17 | 48 | 48GPIO48 | safe | pwm | J1 pin 33 |
| 18 | 53 | 53GPIO53ADC2_CH4 | safe | adc · pwm | J1 pin 35 |
| 19 | 47 | 47GPIO47 | safe | pwm | J1 pin 37 |
| 20 | - | GND | ground | - | J1 pin 39 |
| 21 | - | 5V | power | - | J1 pin 2, 5 V |
| 22 | - | 5V | power | - | J1 pin 4, 5 V |
| 23 | - | GND | ground | - | J1 pin 6 |
| 24 | 37 | 37U0TXDGPIO37 | strapping | uart · pwm | J1 pin 8. UART0 TX (default console) |
| 25 | 38 | 38U0RXDGPIO38 | strapping | uart · pwm | J1 pin 10. UART0 RX (default console) |
| 26 | 22 | 22GPIO22ADC1_CH6 | safe | adc · pwm | J1 pin 12 |
| 27 | - | GND | ground | - | J1 pin 14 |
| 28 | 5 | 5GPIO5TOUCH3 | safe | touch · pwm | J1 pin 16 |
| 29 | 4 | 4GPIO4TOUCH2 | safe | touch · pwm | J1 pin 18 |
| 30 | - | GND | ground | - | J1 pin 20 |
| 31 | 1 | NC(1)GPIO1 | safe | - | J1 pin 22. Not connected by default (32.768 kHz crystal). Move R61 to R199 and R59 to R197 to use it |
| 32 | 36 | 36GPIO36 | strapping | pwm | J1 pin 24 |
| 33 | 32 | 32GPIO32 | safe | pwm | J1 pin 26 |
| 34 | - | NC | control | - | J1 pin 28 - no connection |
| 35 | - | GND | ground | - | J1 pin 30 |
| 36 | 54 | 54GPIO54ADC2_CH5 | safe | adc · pwm | J1 pin 32 |
| 37 | - | GND | ground | - | J1 pin 34 |
| 38 | 46 | 46GPIO46 | safe | pwm | J1 pin 36 |
| 39 | 27 | 27GPIO27 | safe | pwm | J1 pin 38. Shared with the USB Full-speed port |
| 40 | 45 | NC(45)GPIO45 | safe | - | J1 pin 40. Not connected by default (SD card power SD_PWRn). Move R231 to R100 to use it |
Start with these
23 pins with no boot or system involvementFreely assignable - no strapping, flash, USB or JTAG duties. Ideal first picks for buttons, sensors and LEDs.
Fine - with a little care
3 pins · 2 things to know37GPIO3738GPIO38 Strapping pin; participates in chip boot-mode control (see ESP32-P4 TRM, Chip Boot Control). Strapping
Sampled at reset as a boot-mode strap; avoid holding it at a fixed level during boot unless intentionally configuring boot mode. Free after reset.
- 37Strapping pin; participates in chip boot-mode control (see ESP32-P4 TRM, Chip Boot Control).
- 38Strapping pin; participates in chip boot-mode control (see ESP32-P4 TRM, Chip Boot Control).
36GPIO36 Strapping pin; part of boot-mode selection (with GPIO35) and controls ROM-message printing to UART0. Strapping
Sampled at reset for boot mode and log output; driving it at boot can change the boot mode or silence/enable ROM logs. Free after reset.
The Espressif ESP32-P4X-Function-EV-Board pinout brings out 40 pins at a 2.54 mm pitch - 26 usable GPIO alongside the 3V3, GND and 5V power rails.
Beyond plain digital I/O you get 6 ADC-capable pins for sensors and battery monitoring, PWM on 23 pins and 7 capacitive-touch inputs.
3 of the exposed pins carry boot-time or system duties on the ESP32-P4 (37, 38 and 36) - check the guidance above before wiring anything to them. 7, 8, 23, 21 and 19 more are free of any such role - the safest first picks.
Getting started
flash your first firmware in ~2 minutesBoard: ESP32P4 Dev Module USB CDC On Boot: Enabled Flash Size: 16MB (128Mb) PSRAM: QSPI PSRAM Partition Scheme: 16M Flash (3MB APP/9.9MB FATFS) Upload Speed: 921600
// toggle GPIO7 - wire an LED and resistor to it
void setup() {
pinMode(7, OUTPUT);
}
void loop() {
digitalWrite(7, HIGH); delay(500);
digitalWrite(7, LOW); delay(500);
}[env:espressif-esp32-p4x-function-ev-board]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
board = esp32dev
framework = arduino
monitor_speed = 115200
upload_speed = 921600
board_build.arduino.memory_type = qio_qspi
build_flags = -DBOARD_HAS_PSRAMesp32dev - or type it after board =.esp32:
board: esp32dev
variant: esp32p4
framework:
type: esp-idf
psram:
mode: quad
speed: 80MHz
# blink - GPIO7
output:
- platform: gpio
pin: 7
id: led_out
light:
- platform: binary
name: "LED"
output: led_outesp32dev (same ids as PlatformIO).esptool.py --chip esp32p4 --port /dev/ttyACM0 \
--baud 921600 write_flash 0x2000 firmware.bin--port = your /dev/tty* (macOS/Linux) or COMx (Windows).Good to know
board-specific quirks worth 60 secondsThis is the ESP32-P4-Function-EV-Board with the main chip upgraded to ESP32-P4 chip revision v3.1 or later (PCB V1.6). Firmware and board targets for the older board do not carry over: Zephyr, for example, has a separate esp32p4x_function_ev_board target, and the v3.x silicon adds a VDD_HP_1 power rail. The board's LDO_VO3 and LDO_VO4 outputs also power some on-board VDD domains, so your firmware must set their…
This is the ESP32-P4-Function-EV-Board with the main chip upgraded to ESP32-P4 chip revision v3.1 or later (PCB V1.6). Firmware and board targets for the older board do not carry over: Zephyr, for example, has a separate esp32p4x_function_ev_board target, and the v3.x silicon adds a VDD_HP_1 power rail. The board's LDO_VO3 and LDO_VO4 outputs also power some on-board VDD domains, so your firmware must set their voltage and enable state, which also affects sleep current.
Chip revision v3.1 on this board does not support Secure Download Mode. Espressif says not to enable it.
The USB 2.0 Type-C (device) port and the USB 2.0 Type-A (host) port share the High-Speed USB interface and cannot be used at the same time. GPIO26 and GPIO27 are on the 40-pin header (J1 pins 31 and 38) but are also the USB Full-speed port data lines (silkscreen "USB FS (IO26&IO27)"). The USB Serial/JTAG port uses GPIO24/GPIO25.
Do not use GPIO26/GPIO27 as GPIO while the USB Full-speed port is in use.
The 7 inch LCD and 2 MP camera are optional in the package. The camera connects with a forward ribbon cable (contacts on the same side at both ends), while the LCD uses a reverse cable (contacts on opposite sides). Swapping them or fitting the wrong type leaves the display or camera dead.
Downloads
Free for non-commercial use, credit espboards.dev · LicenseBoard illustration
The bare Espressif ESP32-P4X-Function-EV-Board board drawn to scale at 88 × 74 mm, with no pin labels on it. Made for slide decks, wiring diagrams and project write-ups where a photo is too busy. Take the scalable SVG for print or editing, the high-resolution PNG to drop straight in, or the transparent PNG when you need it with no background behind it.
Pinout diagram
Every pin on both sides of the board with its functions, drawn by ESPboards from the ESP32-P4 Series Datasheet v0.7 - the same sheet shown at the top of this page. The PNG is a high-resolution image for screens, the SVG is vector so it stays sharp at any size, and the PDF is laid out to print on A4 or Letter.
Yours to use, share and adapt for non-commercial work, as long as you credit espboards.dev - the full terms and ready-made credit lines are here.
Specifications
ESP32-P4 · 88 × 74 mm · vs other ESP32 chips →Dimensions

About this board
At 88 × 74 mm it's the smallest ESP32-P4 board we've measured.
The $59.92 price tag is typical for an ESP32-P4 board.
Around the module: 32MB PSRAM, an LCD 7" 1024x600 display with touch, a camera (2MP (MIPI CSI)), a microSD slot, a microphone, a speaker connector (2.00 mm pitch, up to 4 ohm / 3 W), an audio codec (ES8311), an amplifier (NS4150B), wired Ethernet (IP101GR), status LEDs (5V Power) and Reset/Boot/Power switch buttons.
It flashes over native USB - no serial-converter driver needed, which isn't a given among ESP32-P4 boards.
- ESP32-C6-MINI-1 module for 2.4 GHz Wi-Fi 6 and Bluetooth 5 (LE)
- MIPI CSI and MIPI DSI connectors (15-pin, 1.0 mm FPC)
- USB 2.0 High-Speed Type-C (device) and Type-A (host, 500 mA via TPS2051C)
- RJ45 10/100 Ethernet (IP101GR PHY)
- MicroSD slot (4-bit)
- 40 MHz and 32.768 kHz crystals
- Optional 7-inch 1024x600 capacitive touch LCD and 2 MP MIPI CSI camera kits
Where to buy
prices are typical street prices
Resources
Similar boards



