ESP32-P4-Core
ESP32-P4-Core is a dual-core RISC-V core module designed by Waveshare based on the ESP32-P4NRW32X, integrating 32 MB PSRAM (Pseudo-Static Random Access Memory) in the package, with onboard 16 MB or 32 MB NOR Flash.
The module uses a stamp hole interface with a 1 mm pitch, exposing GPIO, MIPI-CSI camera signals, MIPI-DSI display signals, and USB signals, and can be used for baseboard designs in applications such as display, image capture, and peripheral control. For the hardware connection of the 16 MB version, see ESP32-P4-Core 16 MB Version Schematic.
| SKU | Product |
|---|---|
| 36096 | ESP32-P4-Core |
| 36097 | ESP32-P4-Core-32MB |
Version Selection
| Model | NOR Flash Capacity | PSRAM Capacity |
|---|---|---|
| ESP32-P4-Core | 16 MB | 32 MB |
| ESP32-P4-Core-32MB | 32 MB | 32 MB |
The Flash capacity can be distinguished by the marking on the shield. The schematic provided on the resources page corresponds to the 16 MB Flash version.
To evaluate the module functions with the matching development board, see ESP32-P4-Core-DEV-KIT Product Documentation.
Features
- Processor
- RISC-V 32-bit dual-core high-performance processor, with a clock speed of up to 400 MHz.
- RISC-V 32-bit single-core low-power processor, with a clock speed of up to 40 MHz.
- Memory
- Integrated 32 MB PSRAM in the package.
- Onboard 16 MB or 32 MB NOR Flash.
- Peripheral Interfaces
- Exposes GPIO0-GPIO13, GPIO20-GPIO23, and GPIO26-GPIO54, for a total of 47 GPIOs. GPIO0 and GPIO1 are connected to the onboard 32.768 kHz crystal oscillator.
- Exposes dual-data-lane MIPI-DSI display signals and dual-data-lane MIPI-CSI camera signals.
- Exposes USB 2.0 high-speed and full-speed differential signals.
- Uses a stamp hole interface with a 1 mm pitch.
- Power Supply and Clock
- Operating voltage is 3.3 V.
- Onboard 40 MHz main crystal oscillator and 32.768 kHz low-speed crystal oscillator.
Pinout
The figure below shows the module pin definitions. For pin-by-pin functions, see Pin Description. When designing the baseboard, the pad positions and orientations need to be confirmed with the package drawing.

Product Dimensions
The module dimensions are 24 mm × 20 mm, with a stamp hole pitch of 1 mm. The unit in the figure below is mm, and the illustration shows the 32 MB Flash version.

Pin Description
The pin numbers correspond to the module symbol U1 in the schematic, and the signal names correspond to the module pin diagram. The table lists multiplexed functions such as clock, touch, ADC, and USB. For other multiplexed functions, see the ESP32-P4 Datasheet.
| Pin Number | Signal Name | Description | Multiplexed Function |
|---|---|---|---|
| 1 | ESP_EN | Main controller enable pin, corresponding to CHIP_PU; high level enables, low level disables, must not be left floating | - |
| 2 | GPIO0 | Connected to the onboard 32.768 kHz crystal oscillator, used together with GPIO1 | XTAL_32K_N |
| 3 | GPIO1 | Connected to the onboard 32.768 kHz crystal oscillator, used together with GPIO0 | XTAL_32K_P |
| 4 | GPIO2 | General-purpose input/output, can be used as touch input | Touch sensing |
| 5 | GPIO3 | General-purpose input/output, can be used as touch input | Touch sensing |
| 6 | GPIO4 | General-purpose input/output, can be used as touch input | Touch sensing |
| 7 | GPIO5 | General-purpose input/output, can be used as touch input | Touch sensing |
| 8 | GPIO6 | General-purpose input/output, can be used as touch input | Touch sensing |
| 9 | GPIO7 | General-purpose input/output, can be used as touch input | Touch sensing |
| 10 | GPIO8 | General-purpose input/output, can be used as touch input | Touch sensing |
| 11 | GPIO9 | General-purpose input/output, can be used as touch input | Touch sensing |
| 12 | GPIO10 | General-purpose input/output, can be used as touch input | Touch sensing |
| 13 | GPIO11 | General-purpose input/output, can be used as touch input | Touch sensing |
| 14 | GPIO12 | General-purpose input/output, can be used as touch input | Touch sensing |
| 15 | GPIO13 | General-purpose input/output, can be used as touch input | Touch sensing |
| 16 | GPIO20 | General-purpose input/output, can be used as ADC1 analog input | ADC1_CHANNEL4 |
| 17 | GPIO21 | General-purpose input/output, can be used as ADC1 analog input | ADC1_CHANNEL5 |
| 18 | GPIO22 | General-purpose input/output, can be used as ADC1 analog input | ADC1_CHANNEL6 |
| 19 | GPIO23 | General-purpose input/output, can be used as ADC1 analog input | ADC1_CHANNEL7 |
| 20 | GND | Ground | - |
| 21 | DSI_D1_P | MIPI-DSI data lane 1 positive terminal | - |
| 22 | DSI_D1_N | MIPI-DSI data lane 1 negative terminal | - |
| 23 | DSI_CLK_N | MIPI-DSI clock differential pair negative terminal | - |
| 24 | DSI_CLK_P | MIPI-DSI clock differential pair positive terminal | - |
| 25 | DSI_D0_P | MIPI-DSI data lane 0 positive terminal | - |
| 26 | DSI_D0_N | MIPI-DSI data lane 0 negative terminal | - |
| 27 | GND | Ground | - |
| 28 | CSI_D0_N | MIPI-CSI data lane 0 negative terminal | - |
| 29 | CSI_D0_P | MIPI-CSI data lane 0 positive terminal | - |
| 30 | CSI_CLK_P | MIPI-CSI clock differential pair positive terminal | - |
| 31 | CSI_CLK_N | MIPI-CSI clock differential pair negative terminal | - |
| 32 | CSI_D1_N | MIPI-CSI data lane 1 negative terminal | - |
| 33 | CSI_D1_P | MIPI-CSI data lane 1 positive terminal | - |
| 34 | GND | Ground | - |
| 35 | USBD_N | USB 2.0 high-speed differential signal negative terminal, corresponding to main controller DM | - |
| 36 | USBD_P | USB 2.0 high-speed differential signal positive terminal, corresponding to main controller DP | - |
| 37 | USB1P1_N | USB 2.0 full-speed differential signal negative terminal, corresponding to GPIO24 | USB1P1_N0 |
| 38 | USB1P1_P | USB 2.0 full-speed differential signal positive terminal, corresponding to GPIO25 | USB1P1_P0 |
| 39 | GPIO27 | General-purpose input/output | - |
| 40 | GPIO28 | General-purpose input/output | - |
| 41 | GPIO29 | General-purpose input/output | - |
| 42 | GPIO30 | General-purpose input/output | - |
| 43 | GPIO31 | General-purpose input/output | - |
| 44 | GPIO32 | General-purpose input/output | - |
| 45 | GPIO33 | General-purpose input/output | - |
| 46 | GPIO34 | General-purpose input/output | - |
| 47 | GPIO35 | Boot configuration pin; if GPIO35 is low and GPIO36 is high at reset, download mode can be entered | BOOT |
| 48 | GPIO36 | Boot configuration pin; already pulled up through R46 inside the module | BOOT_EN |
| 49 | GPIO37 | General-purpose input/output; its level at reset participates in boot mode configuration | - |
| 50 | GPIO38 | General-purpose input/output; its level at reset participates in boot mode configuration | - |
| 51 | ESP_LDO_VO1 | Main controller power regulation related pin, marked as VFB/VO1 in the schematic | - |
| 52 | ESP_LDO_VO2 | Main controller power regulation related pin, marked as VFB/VO2 in the schematic | - |
| 53 | ESP_LDO_VO3 | Main controller power regulation related pin, marked as VFB/VO3 in the schematic | - |
| 54 | ESP_LDO_VO4 | Main controller power regulation related pin, marked as VFB/VO4 in the schematic | - |
| 55 | GND | Ground | - |
| 56 | GPIO26 | General-purpose input/output | - |
| 57 | GPIO39 | General-purpose input/output | - |
| 58 | GPIO40 | General-purpose input/output | - |
| 59 | GPIO41 | General-purpose input/output | - |
| 60 | GPIO42 | General-purpose input/output | - |
| 61 | GPIO43 | General-purpose input/output | - |
| 62 | GPIO44 | General-purpose input/output | - |
| 63 | GPIO45 | General-purpose input/output | - |
| 64 | GPIO46 | General-purpose input/output | - |
| 65 | GPIO47 | General-purpose input/output | - |
| 66 | GPIO48 | General-purpose input/output | - |
| 67 | GPIO49 | General-purpose input/output, can be used as ADC2 analog input | ADC2_CHANNEL0 |
| 68 | GPIO50 | General-purpose input/output, can be used as ADC2 analog input | ADC2_CHANNEL1 |
| 69 | GPIO51 | General-purpose input/output, can be used as ADC2 analog input | ADC2_CHANNEL2 |
| 70 | GPIO52 | General-purpose input/output, can be used as ADC2 analog input | ADC2_CHANNEL3 |
| 71 | GPIO53 | General-purpose input/output, can be used as ADC2 analog input | ADC2_CHANNEL4 |
| 72 | GPIO54 | General-purpose input/output, can be used as ADC2 analog input | ADC2_CHANNEL5 |
| 73 | GND | Ground | - |
| 74 | VBAT | Low-power system power pin, with the schematic net being ESP_VBAT | - |
| 75 | ESP_3V3 | 3.3 V power input | - |
| 76 | ESP_3V3 | 3.3 V power input | - |
GPIO0 and GPIO1 are connected to the onboard 32.768 kHz crystal oscillator and cannot be used as idle GPIOs for connecting peripherals. GPIO35-GPIO38 participate in boot mode configuration, and external circuits must not cause these pins to enter an incorrect boot level at reset.
The pin diagram labels the touch channels of GPIO2~GPIO13 as TOUCH_CHANNEL0-TOUCH_CHANNEL11, while the ESP32-P4 Datasheet v0.7 labels them as TOUCH_CHANNEL1-TOUCH_CHANNEL12. Before using the touch function, verify the channel mapping of the actual chip version and the development framework in use.
VBAT is exposed separately. The baseboard design needs to connect power according to the power supply scheme and power-up timing requirements in the ESP32-P4 Datasheet; the configuration and load of ESP_LDO_VO1~ESP_LDO_VO4 also need to be designed according to that manual.
The power supply and peripheral circuits for the camera, display, and USB connectors need to be designed on the baseboard.
Development Resources
ESP-IDF (Espressif IoT Development Framework) is Espressif's chip development framework. For environment configuration, see the ESP-IDF Development Environment Setup Tutorial.
For entry points to the schematic and component specifications, see ESP32-P4-Core Resources and Documents.

