ESP32-P4
esp-dev-kits Documentation
Release master
Espressif Systems
Nov 10, 2025
Table of contents
Table of contents i
1 ESP32-P4-Function-EV-Board 3
1.1 ESP32-P4-Function-EV-Board v1.5.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1.1 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.1.2 Hardware Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.1.3 Hardware Revision Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.1.4 Related Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2 ESP32-P4-EYE 19
2.1 ESP32-P4-EYE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.1.1 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.1.2 Hardware Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.1.3 Hardware Revision Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2.1.4 Related Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3 Related Documentation and Resources 33
3.1 Developer Zone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.2 Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
3.3 Contact Us . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4 Disclaimer and Copyright Notice 35
i
ii
Table of contents
This document provides detailed user guides and examples for ESP32-P4 series development boards.
Note: For the full list of Espressif development boards, please go to ESP DevKits.
Espressif Systems 1 Release master
Submit Document Feedback
Table of contents
Espressif Systems 2 Release master
Submit Document Feedback
Chapter 1
ESP32-P4-Function-EV-Board
ESP32-P4-Function-EV-Board is a multimedia development board based on the ESP32-P4 chip. ESP32-P4 chip
features a dual-core RISC-V processor and supports up to 32 MB PSRAM. In addition, ESP32-P4 supports USB 2.0
specification, MIPI-CSI/DSI, H264 Encoder, and various other peripherals. With all of its outstanding features, the
board is an ideal choice for developing low-cost, high-performance, low-power network-connected audio and video
products.
1.1 ESP32-P4-Function-EV-Board v1.5.2
The older version: ESP32-P4-Function-EV-Board v1.4
This user guide will help you get started with ESP32-P4-Function-EV-Board and will also provide more in-depth
information.
ESP32-P4-Function-EV-Board is a multimedia development board based on the ESP32-P4 chip. ESP32-P4 chip
features a dual-core RISC-V processor and supports up to 32 MB PSRAM. In addition, ESP32-P4 supports USB 2.0
specification, MIPI-CSI/DSI, H264 Encoder, and various other peripherals. With all of its outstanding features, the
board is an ideal choice for developing low-cost, high-performance, low-power network-connected audio and video
products.
The 2.4 GHz Wi-Fi 6 & Bluetooth 5 (LE) module ESP32-C6-MINI-1 serves as the Wi-Fi and Bluetooth module
of the board. The board also includes a 7-inch capacitive touch screen with a resolution of 1024 x 600 and a 2MP
camera with MIPI CSI, enriching the user interaction experience. The development board is suitable for prototyping
a wide range of products, including visual doorbells, network cameras, smart home central control screens, LCD
electronic price tags, two-wheel vehicle dashboards, etc.
Most of the I/O pins are broken out to the pin headers for easy interfacing. Developers can connect peripherals with
jumper wires.
The document consists of the following major sections:
• Getting Started: Overview of ESP32-P4-Function-EV-Board and hardware/software setup instructions to get
started.
• Hardware Reference: More detailed information about the ESP32-P4-Function-EV-Board s hardware.
• Hardware Revision Details: Revision history, known issues, and links to user guides for previous versions (if
any) of ESP32-P4-Function-EV-Board.
• Related Documents: Links to related documentation.
3
Chapter 1. ESP32-P4-Function-EV-Board
Fig. 1: ESP32-P4-Function-EV-Board
Espressif Systems 4 Release master
Submit Document Feedback
Chapter 1. ESP32-P4-Function-EV-Board
1.1.1 Getting Started
This section provides a brief introduction to ESP32-P4-Function-EV-Board, instructions on how to do the initial
hardware setup and how to flash firmware onto it.
Description of Components
Fig. 2: ESP32-P4-Function-EV-Board - front (click to enlarge)
The key components of the board are described from front view to back view, starting from the J1, in a clockwise
direction.
Espressif Systems 5 Release master
Submit Document Feedback
Chapter 1. ESP32-P4-Function-EV-Board
Fig. 3: ESP32-P4-Function-EV-Board - back (click to enlarge)
No. Key Component Description
1 J1 All available GPIO pins are broken out to the header block J1 for easy inter-
facing. For more details, see Header Block.
2 ESP32-C6 Module The connector can be used with ESP-Prog or other UART tools to flash
Programming Con- firmware onto the ESP32-C6 module.
nector
3 ESP32-C6-MINI-1 This module serves as the Wi-Fi and Bluetooth communication module for the
Module board.
4 Microphone Onboard microphone connected to the interface of Audio Codec Chip.
5 Reset Button Resets the board.
6 Audio Codec Chip ES8311 is a low-power mono audio codec chip. It includes a single-channel
ADC, a single-channel DAC, a low-noise pre-amplifier, a headphone driver,
digital sound effects, analog mixing, and gain functions. It interfaces with the
ESP32-P4 chip over I2S and I2C buses to provide hardware audio processing
independent of the audio application.
7 Speaker Output This port is used to connect a speaker. The maximum output power can drive
Port a 4 Ω, 3 W speaker. The pin spacing is 2.00 mm (0.08 ).
8 Audio PA Chip NS4150B is an EMI-compliant, 3 W mono Class D audio power amplifier that
amplifies audio signals from the audio codec chip to drive speakers.
9 5 V to 3.3 V LDO A power regulator that converts a 5 V supply to a 3.3 V output.
10 BOOT Button The boot mode control button. Press the Reset Button while holding down the
Boot Button to reset ESP32-P4 and enter firmware download mode. Firmware
can then be downloaded to SPI flash via the USB-to-UART Port.
11 Ethernet PHY IC Ethernet PHY chip connected to the ESP32-P4 EMAC RMII interface and
RJ45 Ethernet Port.
12 Buck Converter A buck DC-DC converter for the 3.3 V power supply.
13 5 V Power-on LED This LED lights up when the board is powered through any USB Type-C port.
14 RJ45 Ethernet Port An Ethernet Port supporting 10/100 Mbps adaptive.
15 USB Full-speed USB Type-C port that supports USB 2.0 Full-speed data rate. It can be used as
Port the power supply interface for the development board and as a communication
interface.
16 USB Serial/JTAG USB Type-C port that supports USB 2.0 Full-speed data rate. It can be used to
Port
Espressif Systems flash firmware to the 6ESP32-P4 chip, communicate with the chipRelease
via the master
USB
protocol,
Submitand Document
perform JTAG debugging.
Feedback
17 USB 2.0 Type-C The USB 2.0 Type-C Port is connected to the USB 2.0 OTG High-Speed in-
Port terface of ESP32-P4, compliant with the USB 2.0 specification. When com-
Chapter 1. ESP32-P4-Function-EV-Board
Accessories
Optionally, the following accessories are included in the package:
• LCD and its accessories (optional)
– 7-inch capacitive touch screen with a resolution of 1024 x 600
– LCD adapter board
– Accessories bag, including DuPont wires, ribbon cable for LCD, long standoffs (20 mm in length), and
short standoffs (8 mm in length)
• Camera and its accessories (optional)
– 2MP camera with MIPI CSI
– Camera adapter board
– Ribbon cable for camera
Fig. 4: Ribbon Cables in Forward and Reverse Directions
Note: Please note that the ribbon cable in the forward direction, whose strips at the two ends are on the same
side, should be used for the camera; the ribbon cable in the reverse direction, whose strips at the two ends are on
different sides, should be used for the LCD.
Start Application Development
Before powering up your ESP32-P4-Function-EV-Board, please make sure that it is in good condition with no obvious
signs of damage.
Required Hardware
• ESP32-P4-Function-EV-Board
• USB cables
• Computer running Windows, Linux, or macOS
Note: Be sure to use a good quality USB cable. Some cables are for charging only and do not provide the needed
data lines nor work for programming the boards.
Espressif Systems 7 Release master
Submit Document Feedback
Chapter 1. ESP32-P4-Function-EV-Board
Optional Hardware
• MicroSD card
Hardware Setup Connect the ESP32-P4-Function-EV-Board to your computer using a USB cable. The board can
be powered through any of the USB Type-C ports. The USB-to-UART Port is recommended for flashing firmware
and debugging.
To connect the LCD, follow these steps:
1. Secure the development board to the LCD adapter board by attaching the short copper standoffs (8 mm in
length) to the four standoff posts at the center of the LCD adapter board.
2. Connect the J3 header of the LCD adapter board to the MIPI DSI connector on the ESP32-P4-Function-EV-
Board using the LCD ribbon cable (reverse direction). Note that the LCD adapter board is already connected
to the LCD.
3. Use a DuPont wire to connect the RST_LCD pin of the J6 header of the LCD adapter board to the GPIO27 pin
of the J1 header on the ESP32-P4-Function-EV-Board. The RST_LCD pin can be configured via software,
with GPIO27 set as the default.
4. Use a DuPont wire to connect the PWM pin of the J6 header of the LCD adapter board to the GPIO26 pin
of the J1 header on the ESP32-P4-Function-EV-Board. The PWM pin can be configured via software, with
GPIO26 set as the default.
5. It is recommended to power the LCD by connecting a USB cable to the J1 header of the LCD adapter board.
If this is not feasible, connect the 5V and GND pins of the LCD adapter board to corresponding pins on the
J1 header of the ESP32-P4-Function-EV-Board, provided that the development board has sufficient power
supply.
6. Attach the long copper standoffs (20 mm in length) to the four standoff posts on the periphery of the LCD
adapter board to allow the LCD to stand upright.
In summary, the LCD adapter board and ESP32-P4-Function-EV-Board are connected via the following pins:
LCD Adapter Board ESP32-P4-Function-EV
J3 header MIPI DSI connector
RST_LCD pin of J6 header GPIO27 pin of J1 header
PWM pin of J6 header GPIO26 pin of J1 header
5V pin of J6 header 5V pin of J1 header
GND pin of J6 header GND pin of J1 header
Note:
• If you power the LCD adapter board by connecting a USB cable to its J1 header, you do not need to connect
its 5V and GND pins to the corresponding pins on the development board.
• To use the camera, connect the camera adapter board to the MIPI CSI connector on the development board
using the camera ribbon cable (forward direction).
Software Setup To set up your development environment and flash an application example onto your board, please
follow the instructions in ESP-IDF Get Started.
You can find examples for ESP32-P4-Function-EV by accessing Examples . To configure project options, enter
[Link] menuconfig in the example directory.
1.1.2 Hardware Reference
Block Diagram
The block diagram below shows the components of ESP32-P4-Function-EV-Board and their interconnections.
Espressif Systems 8 Release master
Submit Document Feedback
Chapter 1. ESP32-P4-Function-EV-Board
Fig. 5: ESP32-P4-Function-EV-Board Block Diagram (click to enlarge)
Power Supply Options
Power can be supplied through any of the following ports:
• USB 2.0 Type-C Port
• USB Full-speed Port
• USB Serial/JTAG Port
If the USB cable used for debugging cannot provide enough current, you can connect the board to a power adapter
via any available USB Type-C port.
Header Block
The tables below provide the Name and Function of the pin header J1 of the board. The pin header names are shown
in Figure ESP32-P4-Function-EV-Board - front (click to enlarge). The numbering is the same as in the ESP32-P4-
Function-EV-Board Schematic.
No. Name TypePage 10, 1 Function
1 3V3 P 3.3 V power supply
2 5V P 5 V power supply
3 7 I/O/T GPIO7
4 5V P 5 V power supply
5 8 I/O/T GPIO8
6 GND GND Ground
7 23 I/O/T GPIO23
continues on next page
Espressif Systems 9 Release master
Submit Document Feedback
Chapter 1. ESP32-P4-Function-EV-Board
Table 1 – continued from previous page
No. Name TypePage 10, 1 Function
8 37 I/O/T U0TXD, GPIO37
9 GND GND Ground
10 38 I/O/T U0RXD, GPIO38
11 21 I/O/T GPIO21
12 22 I/O/T GPIO22
13 20 I/O/T GPIO20
14 GND GND Ground
15 6 I/O/T GPIO6
16 5 I/O/T GPIO5
17 3V3 P 3.3 V power supply
18 4 I/O/T GPIO4
19 3 I/O/T GPIO3
20 GND GND Ground
21 2 I/O/T GPIO2
22 NC(1) I/O/T GPIO12
23 NC(0) I/O/T GPIO0Page 10, 2
24 36 I/O/T GPIO36
25 GND GND Ground
26 32 I/O/T GPIO32
27 24 I/O/T GPIO24
28 25 I/O/T GPIO25
29 33 I/O/T GPIO33
30 GND GND Ground
31 26 I/O/T GPIO26
32 54 I/O/T GPIO54
33 48 I/O/T GPIO48
34 GND GND Ground
35 53 I/O/T GPIO53
36 46 I/O/T GPIO46
37 47 I/O/T GPIO47
38 27 I/O/T GPIO27
39 GND GND Ground
40 NC(45) I/O/T GPIO453
J1
1.1.3 Hardware Revision Details
Initial release
Note: The main improvements in development board version v1.52 compared to v1.4 include: replacing the USB-
to-UART Type-C port used for debugging with the ESP32-P4 chip s built-in USB Serial/JTAG port, and adding a
Full-speed USB OTG breakout to a Type-C port.
1.1.4 Related Documents
Please download the following documents from the HTML version of esp-dev-kits Documentation.
1
P: Power supply; I: Input; O: Output; T: High impedance.
2
GPIO0 and GPIO1 can be enabled by disabling the XTAL_32K function, which can be achieved by moving R61 and R59 to R199 and R197,
respectively.
3 GPIO45 can be enabled by disabling the SD_PWRn function, which can be achieved by moving R231 to R100.
Espressif Systems 10 Release master
Submit Document Feedback
Chapter 1. ESP32-P4-Function-EV-Board
• ESP32-P4-Function-EV-Board Schematic (PDF)
• ESP32-P4-Function-EV-Board PCB Layout (PDF)
• ESP32-P4-Function-EV-Board Assembly (PDF)
• ESP32-P4-Function-EV-Board Dimensions (PDF)
• ESP32-P4-Function-EV-Board Dimensions source file (DXF) - You can view it with Autodesk Viewer online
• 1.0K-GT-15PB Specification (PDF)
• Camera Datasheet (PDF)
• Display Datasheet (PDF)
• Datasheet of display driver chip EK73217BCGA (PDF)
• Datasheet of display driver chip EK79007AD (PDF)
• LCD Adapter Board Schematic (PDF)
• LCD Adapter Board PCB Layout (PDF)
• Camera Adapter Board Schematic (PDF)
• Camera Adapter Board PCB Layout (PDF)
For further design documentation for the board, please contact us at sales@[Link].
ESP32-P4-Function-EV-Board v1.4
New version available: ESP32-P4-Function-EV-Board v1.5.2
This user guide will help you get started with ESP32-P4-Function-EV-Board and will also provide more in-depth
information.
ESP32-P4-Function-EV-Board is a multimedia development board based on the ESP32-P4 chip. ESP32-P4 chip
features a dual-core RISC-V processor and supports up to 32 MB PSRAM. In addition, ESP32-P4 supports USB 2.0
specification, MIPI-CSI/DSI, H264 Encoder, and various other peripherals. With all of its outstanding features, the
board is an ideal choice for developing low-cost, high-performance, low-power network-connected audio and video
products.
The 2.4 GHz Wi-Fi 6 & Bluetooth 5 (LE) module ESP32-C6-MINI-1 serves as the Wi-Fi and Bluetooth module
of the board. The board also includes a 7-inch capacitive touch screen with a resolution of 1024 x 600 and a 2MP
camera with MIPI CSI, enriching the user interaction experience. The development board is suitable for prototyping
a wide range of products, including visual doorbells, network cameras, smart home central control screens, LCD
electronic price tags, two-wheel vehicle dashboards, etc.
Most of the I/O pins are broken out to the pin headers for easy interfacing. Developers can connect peripherals with
jumper wires.
The document consists of the following major sections:
• Getting Started: Overview of ESP32-P4-Function-EV-Board and hardware/software setup instructions to get
started.
• Hardware Reference: More detailed information about the ESP32-P4-Function-EV-Board s hardware.
• Hardware Revision Details: Revision history, known issues, and links to user guides for previous versions (if
any) of ESP32-P4-Function-EV-Board.
• Related Documents: Links to related documentation.
Getting Started This section provides a brief introduction to ESP32-P4-Function-EV-Board, instructions on how
to do the initial hardware setup and how to flash firmware onto it.
Description of Components The key components of the board are described in a clockwise direction.
Espressif Systems 11 Release master
Submit Document Feedback
Chapter 1. ESP32-P4-Function-EV-Board
Fig. 6: ESP32-P4-Function-EV-Board
Espressif Systems 12 Release master
Submit Document Feedback
Chapter 1. ESP32-P4-Function-EV-Board
Fig. 7: ESP32-P4-Function-EV-Board - front (click to enlarge)
Fig. 8: ESP32-P4-Function-EV-Board - back (click to enlarge)
Espressif Systems 13 Release master
Submit Document Feedback
Chapter 1. ESP32-P4-Function-EV-Board
Key Component Description
J1 All available GPIO pins are broken out to the header block J1 for easy inter-
facing. For more details, see Header Block.
ESP32-C6 Module Program- The connector can be used with ESP-Prog or other UART tools to flash
ming Connector firmware onto the ESP32-C6 module.
ESP32-C6-MINI-1 Module This module serves as the Wi-Fi and Bluetooth communication module for the
board.
Microphone Onboard microphone connected to the interface of Audio Codec Chip.
Reset Button Resets the board.
Audio Codec Chip ES8311 is a low-power mono audio codec chip. It includes a single-channel
ADC, a single-channel DAC, a low-noise pre-amplifier, a headphone driver,
digital sound effects, analog mixing, and gain functions. It interfaces with the
ESP32-P4 chip over I2S and I2C buses to provide hardware audio processing
independent of the audio application.
Speaker Output Port This port is used to connect a speaker. The maximum output power can drive
a 4 Ω, 3 W speaker. The pin spacing is 2.00 mm (0.08 ).
Audio PA Chip NS4150B is an EMI-compliant, 3 W mono Class D audio power amplifier that
amplifies audio signals from the audio codec chip to drive speakers.
5 V to 3.3 V LDO A power regulator that converts a 5 V supply to a 3.3 V output.
BOOT Button The boot mode control button. Press the Reset Button while holding down the
Boot Button to reset ESP32-P4 and enter firmware download mode. Firmware
can then be downloaded to SPI flash via the USB-to-UART Port.
Ethernet PHY IC Ethernet PHY chip connected to the ESP32-P4 EMAC RMII interface and
RJ45 Ethernet Port.
Buck Converter A buck DC-DC converter for the 3.3 V power supply.
USB-to-UART Bridge Chip CP2102N is a single USB-to-UART bridge chip connected to the ESP32-P4
UART0 interface, CHIP_PU, and GPIO35 (strapping pin). It provides transfer
rates up to 3 Mbps for firmware downloading and debugging, supporting the
automatic download functionality.
5 V Power-on LED This LED lights up when the board is powered through any USB Type-C port.
RJ45 Ethernet Port An Ethernet Port supporting 10/100 Mbps adaptive.
USB-to-UART Port The USB Type-C port can be used to power the board, flash firmware to the
chip, and communicate with the ESP32-P4 chip via the USB-to-UART Bridge
Chip.
USB Power-in Port The USB Type-C port used to power the board.
USB 2.0 Type-C Port The USB 2.0 Type-C Port is connected to the USB 2.0 OTG High-Speed in-
terface of ESP32-P4, compliant with the USB 2.0 specification. When com-
municating with other devices via this port, ESP32-P4 acts as a USB device
connecting to a USB host. Please note that USB 2.0 Type-C Port and USB 2.0
Type-A Port cannot be used simultaneously. USB 2.0 Type-C Port can also be
used for powering the board.
USB 2.0 Type-A Port The USB 2.0 Type-A Port is connected to the USB 2.0 OTG High-Speed inter-
face of ESP32-P4, compliant with the USB 2.0 specification. When communi-
cating with other devices via this port, ESP32-P4 acts as a USB host, providing
up to 500 mA of current. Please note that USB 2.0 Type-C Port and USB 2.0
Type-A Port cannot be used simultaneously.
Power Switch Power On/Off Switch. Toggling toward the ON sign powers the board on (5
V), toggling away from the ON sign powers the board off.
Switch TPS2051C is a USB power switch that provides a 500 mA output current limit.
MIPI CSI Connector The FPC connector 1.0K-GT-15PB is used for connecting external camera
modules to enable image transmission. For details, please refer to 1.0K-GT-
15PB specification in Related Documents. FPC specifications: 1.0 mm pitch,
0.7 mm pin width, 0.3 mm thickness, 15 pins.
Buck Converter A buck DC-DC converter for VDD_HP power supply of ESP32-P4.
ESP32-P4 A high-performance MCU with large internal memory and powerful image and
voice processing capabilities.
40 MHz XTAL An external precision 40 MHz crystal oscillator that serves as a clock for the
system.
32.768 kHz XTAL An external precision 32.768 kHz crystal oscillator that serves as a low-power
Espressif Systems 14 Release master
clock while the chip is in deep-sleep mode.
Submit Document Feedback
MIPI DSI Connector The FPC connector 1.0K-GT-15PB is used for connecting displays. For de-
tails, please refer to 1.0K-GT-15PB Specification in Related Documents. FPC
Chapter 1. ESP32-P4-Function-EV-Board
Accessories Optionally, the following accessories are included in the package:
• LCD and its accessories (optional)
– 7-inch capacitive touch screen with a resolution of 1024 x 600
– LCD adapter board
– Accessories bag, including DuPont wires, ribbon cable for LCD, long standoffs (20 mm in length), and
short standoffs (8 mm in length)
• Camera and its accessories (optional)
– 2MP camera with MIPI CSI
– Camera adapter board
– Ribbon cable for camera
Fig. 9: Ribbon Cables in Forward and Reverse Directions
Note: Please note that the ribbon cable in the forward direction, whose strips at the two ends are on the same
side, should be used for the camera; the ribbon cable in the reverse direction, whose strips at the two ends are on
different sides, should be used for the LCD.
Start Application Development Before powering up your ESP32-P4-Function-EV-Board, please make sure that
it is in good condition with no obvious signs of damage.
Required Hardware
• ESP32-P4-Function-EV-Board
• USB cables
• Computer running Windows, Linux, or macOS
Note: Be sure to use a good quality USB cable. Some cables are for charging only and do not provide the needed
data lines nor work for programming the boards.
Optional Hardware
• MicroSD card
Espressif Systems 15 Release master
Submit Document Feedback
Chapter 1. ESP32-P4-Function-EV-Board
Hardware Setup Connect the ESP32-P4-Function-EV-Board to your computer using a USB cable. The board can
be powered through any of the USB Type-C ports. The USB-to-UART Port is recommended for flashing firmware
and debugging.
To connect the LCD, follow these steps:
1. Secure the development board to the LCD adapter board by attaching the short copper standoffs (8 mm in
length) to the four standoff posts at the center of the LCD adapter board.
2. Connect the J3 header of the LCD adapter board to the MIPI DSI connector on the ESP32-P4-Function-EV-
Board using the LCD ribbon cable (reverse direction). Note that the LCD adapter board is already connected
to the LCD.
3. Use a DuPont wire to connect the RST_LCD pin of the J6 header of the LCD adapter board to the GPIO27 pin
of the J1 header on the ESP32-P4-Function-EV-Board. The RST_LCD pin can be configured via software,
with GPIO27 set as the default.
4. Use a DuPont wire to connect the PWM pin of the J6 header of the LCD adapter board to the GPIO26 pin
of the J1 header on the ESP32-P4-Function-EV-Board. The PWM pin can be configured via software, with
GPIO26 set as the default.
5. It is recommended to power the LCD by connecting a USB cable to the J1 header of the LCD adapter board.
If this is not feasible, connect the 5V and GND pins of the LCD adapter board to corresponding pins on the
J1 header of the ESP32-P4-Function-EV-Board, provided that the development board has sufficient power
supply.
6. Attach the long copper standoffs (20 mm in length) to the four standoff posts on the periphery of the LCD
adapter board to allow the LCD to stand upright.
In summary, the LCD adapter board and ESP32-P4-Function-EV-Board are connected via the following pins:
LCD Adapter Board ESP32-P4-Function-EV
J3 header MIPI DSI connector
RST_LCD pin of J6 header GPIO27 pin of J1 header
PWM pin of J6 header GPIO26 pin of J1 header
5V pin of J6 header 5V pin of J1 header
GND pin of J6 header GND pin of J1 header
Note:
• If you power the LCD adapter board by connecting a USB cable to its J1 header, you do not need to connect
its 5V and GND pins to the corresponding pins on the development board.
• To use the camera, connect the camera adapter board to the MIPI CSI connector on the development board
using the camera ribbon cable (forward direction).
Software Setup To set up your development environment and flash an application example onto your board, please
follow the instructions in ESP-IDF Get Started.
You can find examples for ESP32-P4-Function-EV by accessing Examples . To configure project options, enter
[Link] menuconfig in the example directory.
Hardware Reference
Block Diagram The block diagram below shows the components of ESP32-P4-Function-EV-Board and their in-
terconnections.
Power Supply Options Power can be supplied through any of the following ports:
• USB 2.0 Type-C Port
• USB Power-in Port
• USB-to-UART Port
Espressif Systems 16 Release master
Submit Document Feedback
Chapter 1. ESP32-P4-Function-EV-Board
Fig. 10: ESP32-P4-Function-EV-Board v1.4 (click to enlarge)
If the USB cable used for debugging cannot provide enough current, you can connect the board to a power adapter
via any available USB Type-C port.
Header Block The tables below provide the Name and Function of the pin header J1 of the board. The pin header
names are shown in Figure ESP32-P4-Function-EV-Board - front (click to enlarge). The numbering is the same as in
the ESP32-P4-Function-EV-Board v1.4 Schematic.
No. Name TypePage 18, 1 Function
1 3V3 P 3.3 V power supply
2 5V P 5 V power supply
3 7 I/O/T GPIO7
4 5V P 5 V power supply
5 8 I/O/T GPIO8
6 GND GND Ground
7 23 I/O/T GPIO23
8 37 I/O/T U0TXD, GPIO37
9 GND GND Ground
10 38 I/O/T U0RXD, GPIO38
11 21 I/O/T GPIO21
12 22 I/O/T GPIO22
13 20 I/O/T GPIO20
14 GND GND Ground
15 6 I/O/T GPIO6
16 5 I/O/T GPIO5
17 3V3 P 3.3 V power supply
18 4 I/O/T GPIO4
19 3 I/O/T GPIO3
20 GND GND Ground
21 2 I/O/T GPIO2
continues on next page
Espressif Systems 17 Release master
Submit Document Feedback
Chapter 1. ESP32-P4-Function-EV-Board
Table 2 – continued from previous page
No. Name TypePage 18, 1 Function
22 NC(1) I/O/T GPIO12
23 NC(0) I/O/T GPIO0Page 18, 2
24 36 I/O/T GPIO36
25 GND GND Ground
26 32 I/O/T GPIO32
27 24 I/O/T GPIO24
28 25 I/O/T GPIO25
29 33 I/O/T GPIO33
30 GND GND Ground
31 26 I/O/T GPIO26
32 54 I/O/T GPIO54
33 48 I/O/T GPIO48
34 GND GND Ground
35 53 I/O/T GPIO53
36 46 I/O/T GPIO46
37 47 I/O/T GPIO47
38 27 I/O/T GPIO27
39 GND GND Ground
40 NC(45) I/O/T GPIO453
J1
Hardware Revision Details No previous versions available.
Related Documents Please download the following documents from the HTML version of esp-dev-kits Documen-
tation.
• ESP32-P4-Function-EV-Board v1.4 Schematic (PDF)
• ESP32-P4-Function-EV-Board v1.4 PCB Layout (PDF)
• ESP32-P4-Function-EV-Board v1.4 Dimensions (PDF)
• ESP32-P4-Function-EV-Board v1.4 Dimensions source file (DXF) - You can view it with Autodesk Viewer
online
• 1.0K-GT-15PB Specification (PDF)
• Camera Datasheet (PDF)
• Display Datasheet (PDF)
• Datasheet of display driver chip EK73217BCGA (PDF)
• Datasheet of display driver chip EK79007AD (PDF)
• LCD Adapter Board Schematic (PDF)
• LCD Adapter Board PCB Layout (PDF)
• Camera Adapter Board Schematic (PDF)
• Camera Adapter Board PCB Layout (PDF)
For further design documentation for the board, please contact us at sales@[Link].
1
P: Power supply; I: Input; O: Output; T: High impedance.
2
GPIO0 and GPIO1 can be enabled by disabling the XTAL_32K function, which can be achieved by moving R61 and R59 to R199 and R197,
respectively.
3 GPIO45 can be enabled by disabling the SD_PWRn function, which can be achieved by moving R231 to R100.
Espressif Systems 18 Release master
Submit Document Feedback
Chapter 2
ESP32-P4-EYE
ESP32-P4-EYE is a vision development board based on the ESP32-P4 chip, mainly targeting camera applications.
You can find examples for ESP32-P4-EYE by accessing Examples .
2.1 ESP32-P4-EYE
This user guide will help you get started with ESP32-P4-EYE and will also provide more in-depth information.
ESP32-P4-EYE is a vision development board based on the ESP32-P4 chip, mainly targeting camera applications.
ESP32-P4 features a dual-core RISC-V processor and supports up to 32 MB of PSRAM. In addition, ESP32-P4
supports USB 2.0 standard, MIPI-CSI/DSI, H264 Encoder, and various other peripherals. With all of its outstanding
features, the board is an ideal choice for developing low-cost, high-performance, low-power network-connected audio
and video products.
The board integrates the ESP32-C6-MINI-1U module for Wi-Fi and Bluetooth communication. It supports MIPI-
CSI camera interface and USB 2.0 High-Speed device mode. Rich onboard features include a camera, display,
microphone, and MicroSD card, enabling real-time monitoring of the environment and collection of image and audio
data. It is suitable for applications such as smart surveillance cameras, vision model detection, and edge computing
in IoT that require real-time image processing and wireless communication.
Most of the I/O pins are broken out to the pin header for easy interfacing. Developers can connect peripherals with
jumper wires.
This guide includes the following sections:
• Getting Started: Overview of ESP32-P4-EYE and hardware/software setup instructions to get started.
• Hardware Reference: More detailed information about the ESP32-P4-EYE s hardware.
• Hardware Revision Details: Revision history, known issues, and links to user guides for previous versions (if
any) of ESP32-P4-EYE.
• Related Documents: Links to related documentation.
2.1.1 Getting Started
This section provides a brief introduction to ESP32-P4-EYE, instructions on how to do the initial hardware setup and
how to flash firmware onto it.
19
Chapter 2. ESP32-P4-EYE
Fig. 1: ESP32-P4-EYE Front View (click to enlarge)
Espressif Systems 20 Release master
Submit Document Feedback
Chapter 2. ESP32-P4-EYE
Fig. 2: ESP32-P4-EYE Back View (click to enlarge)
Fig. 3: ESP32-P4-EYE PCB Top View (click to enlarge)
Espressif Systems 21 Release master
Submit Document Feedback
Chapter 2. ESP32-P4-EYE
Fig. 4: ESP32-P4-EYE Front View (click to enlarge)
Espressif Systems 22 Release master
Submit Document Feedback
Chapter 2. ESP32-P4-EYE
Description of Components
The key components of the top PCB are described in a clockwise direction. To facilitate use, these components or
interfaces are also marked on the ESP32-P4-EYE enclosure.
Key Component Description
MicroSD Card Slot Supports a MicroSD card through 4-line SD bus with SDIO protocol or SPI
protocol.
Test Points Provides access points for programming and testing the ESP32-C6-MINI-1U;
can be connected via Dupont wires.
USB 2.0 Device Port Connected to the USB 2.0 OTG High-Speed interface of ESP32-P4, compliant
with the USB 2.0 specification. When communicating with other devices via
this port, ESP32-P4 acts as a USB device connecting to a USB host. USB 2.0
Device Port can also be used for powering the board. Marked with USB 2.0
on the enclosure.
USB Debug Port Used for board power, firmware flashing, and connecting to USB-Serial-JTAG
interface of ESP32-P4. Marked with Debug on the enclosure.
Power Switch Flip to I to power on the board with 5 V input; flip to O to power off.
User-defined Buttons Customizable by user application.
LCD FPC Connector Connects to a 1.54-inch LCD screen.
LCD 1.54-inch LCD with 240 × 240 resolution and SPI interface, capable of display-
ing real-time images from the camera. For details, refer to Display Datasheet.
Charging Indicator When the battery is charging, the indicator light is red; once charging is com-
plete, the light turns green.
Fig. 5: ESP32-P4-EYE PCB Bottom View (click to enlarge)
The key components of the back PCB are described in a clockwise direction. To facilitate use, these components or
interfaces are also marked on the ESP32-P4-EYE enclosure.
Espressif Systems 23 Release master
Submit Document Feedback
Chapter 2. ESP32-P4-EYE
Fig. 6: ESP32-P4-EYE Back View (click to enlarge)
Espressif Systems 24 Release master
Submit Document Feedback
Chapter 2. ESP32-P4-EYE
Key Component Description
Rotary Encoder You can customize functions based on your application, such as using it to
control LCD interface or adjust camera zoom levels.
ESP32-C6-MINI-1U Serves as the Wi-Fi and Bluetooth communication module.
Fill Light Provides illumination for image capture and video recording.
Digital Microphone Used for voice recognition or audio recording.
MIPI CSI Connector Connects to the camera module.
Female Header 2 x 10P header, customizable based on application.
SPI flash 16 MB flash connected via the SPI interface.
ESP32-P4 High-performance MCU with large internal memory; supports advanced image
and voice processing.
Battery Connector Connects to a lithium battery.
Reset Button Resets the board. Marked with ↻ on the enclosure.
Boot Button Controls boot mode. Marked with on the enclosure. Press the Reset Button
while holding down the Boot Button to reset ESP32-P4 and enter firmware
download mode. Firmware can then be downloaded to SPI flash via the USB
Debug Port. In general applications, it can act as a confirmation button.
Camera 2 MP resolution with manually adjustable focal length. For details, refer to
Camera Datasheet.
Application Development
Before powering up your ESP32-P4-EYE, please make sure that it is in good condition with no obvious signs of
damage.
Required Hardware
• ESP32-P4-EYE
• USB cables
• Computer running Windows, Linux, or macOS
Note: Be sure to use a good quality USB cable. Some cables are for charging only and do not provide the needed
data lines nor work for programming the boards.
Optional Hardware
• MicroSD card
• Lithium battery
Hardware Setup Connect ESP32-P4-EYE to your computer using a USB cable. The board can be powered
through the USB 2.0 Device Port or USB Debug Port. The USB Debug Port is recommended
for flashing firmware and debugging.
Software Setup To set up your development environment and flash an application example onto your board, please
follow the installation instructions in ESP-IDF Get Started.
You can find examples for ESP32-P4-EYE by accessing Examples . To configure project options, enter [Link]
menuconfig in the example directory.
2.1.2 Hardware Reference
Espressif Systems 25 Release master
Submit Document Feedback
Chapter 2. ESP32-P4-EYE
Functional Block Diagram
The block diagram below shows the components of ESP32-P4-EYE and their interconnections.
Fig. 7: ESP32-P4-EYE Functional Block Diagram (click to enlarge)
Power Supply Options
ESP32-P4-EYE can be powered using the following methods:
1. Via the USB 2.0 Device Port or USB Debug Port
Connect ESP32-P4-EYE to a power source using a USB Type-C cable through either of the two ports.
If a lithium battery is already installed, it will be charged simultaneously.
2. Via the Battery Connector
To use this method, first open the enclosure, then connect the battery to the Battery Connector. The
lithium battery must not exceed 4 mm × 25 mm × 45 mm in size. It should use a 1.25 mm pitch
connector, and the polarity must match the markings on the PCB.
Female Header
USB 2.0 Device Port Circuit
LCD Circuit
Please note that this interface supports SPI displays. ESP32-P4-EYE features the ST7789, which uses the LCD_BL
pin (GPIO20) to control the backlight.
MicroSD Card Slot Interface Circuit
Please note that the MicroSD card interface supports:
Espressif Systems 26 Release master
Submit Document Feedback
Chapter 2. ESP32-P4-EYE
Fig. 8: Battery Connection (click to enlarge)
Fig. 9: Female Header (Click to Enlarge)
Espressif Systems 27 Release master
Submit Document Feedback
Chapter 2. ESP32-P4-EYE
Fig. 10: USB 2.0 Device Port Circuit (Click to Enlarge)
Fig. 11: LCD Circuit (Click to Enlarge)
Espressif Systems 28 Release master
Submit Document Feedback
Chapter 2. ESP32-P4-EYE
Fig. 12: MicroSD Card Slot Interface Circuit (Click to Enlarge)
• 1-bit and 4-bit SD bus configurations
• Communication via SDIO protocol or SPI protocol
Charging Circuit
Microphone Circuit
Camera Circuit
Rotary Encoder Circuit
ESP32-C6-MINI-1U Module Circuit
2.1.3 Hardware Revision Details
No previous versions available.
2.1.4 Related Documents
Please download the following documents from the HTML version of esp-dev-kits Documentation.
• ESP32-P4-EYE Schematic (PDF)
• ESP32-P4-EYE PCB Layout (PDF)
• Camera Datasheet (PDF)
• Display Datasheet (PDF)
• ST7789VW Datasheet (PDF)
• OV2710 Overview (PDF)
Espressif Systems 29 Release master
Submit Document Feedback
Chapter 2. ESP32-P4-EYE
Fig. 13: Charging Circuit (Click to Enlarge)
Fig. 14: Microphone Circuit (Click to Enlarge)
Espressif Systems 30 Release master
Submit Document Feedback
Chapter 2. ESP32-P4-EYE
Fig. 15: Camera Circuit (Click to Enlarge)
Fig. 16: Rotary Encoder Circuit (Click to Enlarge)
Espressif Systems 31 Release master
Submit Document Feedback
Chapter 2. ESP32-P4-EYE
Fig. 17: ESP32-C6-MINI-1U Module Circuit (Click to Enlarge)
Table 1: ESP32-P4 Development Boards
ESP32-P4-Function-EV-Board ESP32-P4-EYE
Espressif Systems 32 Release master
Submit Document Feedback
Chapter 3
Related Documentation and Resources
3.1 Developer Zone
• ESP-IDF Programming Guide for ESP32-P4 Extensive documentation for the ESP-IDF development frame-
work.
• ESP-IoT-Solution Programming Guide - Extensive documentation for the ESP-IoT-Solution development
framework.
• ESP-FAQ - A summary document of frequently asked questions released by Espressif.
• ESP-IDF and other development frameworks on GitHub.
[Link]
• ESP32 BBS Forum Engineer-to-Engineer (E2E) Community for Espressif products where you can post ques-
tions, share knowledge, explore ideas, and help solve problems with fellow engineers.
[Link]
• The ESP Journal Best Practices, Articles, and Notes from Espressif folks.
[Link]
• See the tabs SDKs and Demos, Apps, Tools, AT Firmware.
[Link]
3.2 Products
• ESP32-P4 Series SoCs Browse through all ESP32-P4 SoCs.
[Link]
• ESP32-P4 Series Modules Browse through all ESP32-P4-based modules.
[Link]
• ESP32-P4 Series DevKits Browse through all ESP32-P4-based devkits.
[Link]
• ESP Product Selector Find an Espressif hardware product suitable for your needs by comparing or applying
filters.
[Link]
3.3 Contact Us
• See the tabs Sales Questions, Technical Enquiries, Circuit Schematic & PCB Design Review, Get Samples
(Online stores), Become Our Supplier, Comments & Suggestions.
[Link]
33
Chapter 3. Related Documentation and Resources
Espressif Systems 34 Release master
Submit Document Feedback
Chapter 4
Disclaimer and Copyright Notice
Information in this document, including URL references, is subject to change without notice.
All third party s information in this document is provided as is with no warranties to its authenticity and accuracy.
No warranty is provided to this document for its merchantability, non-infringement, fitness for any particular purpose,
nor does any warranty otherwise arising out of any proposal, specification or sample.
All liability, including liability for infringement of any proprietary rights, relating to use of information in this doc-
ument is disclaimed. No licenses express or implied, by estoppel or otherwise, to any intellectual property rights are
granted herein.
The Wi-Fi Alliance Member logo is a trademark of the Wi-Fi Alliance. The Bluetooth logo is a registered trademark
of Bluetooth SIG.
All trade names, trademarks and registered trademarks mentioned in this document are property of their respective
owners, and are hereby acknowledged.
35