Skip to main content

ESP32-P4-Core

ESP32-P4-Core 16 MB Flash core module photo

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.

SKUProduct
36096ESP32-P4-Core
36097ESP32-P4-Core-32MB

Version Selection​

ModelNOR Flash CapacityPSRAM Capacity
ESP32-P4-Core16 MB32 MB
ESP32-P4-Core-32MB32 MB32 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.

ESP32-P4-Core pin definition diagram

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.

ESP32-P4-Core product dimensions diagram

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 NumberSignal NameDescriptionMultiplexed Function
1ESP_ENMain controller enable pin, corresponding to CHIP_PU; high level enables, low level disables, must not be left floating-
2GPIO0Connected to the onboard 32.768 kHz crystal oscillator, used together with GPIO1XTAL_32K_N
3GPIO1Connected to the onboard 32.768 kHz crystal oscillator, used together with GPIO0XTAL_32K_P
4GPIO2General-purpose input/output, can be used as touch inputTouch sensing
5GPIO3General-purpose input/output, can be used as touch inputTouch sensing
6GPIO4General-purpose input/output, can be used as touch inputTouch sensing
7GPIO5General-purpose input/output, can be used as touch inputTouch sensing
8GPIO6General-purpose input/output, can be used as touch inputTouch sensing
9GPIO7General-purpose input/output, can be used as touch inputTouch sensing
10GPIO8General-purpose input/output, can be used as touch inputTouch sensing
11GPIO9General-purpose input/output, can be used as touch inputTouch sensing
12GPIO10General-purpose input/output, can be used as touch inputTouch sensing
13GPIO11General-purpose input/output, can be used as touch inputTouch sensing
14GPIO12General-purpose input/output, can be used as touch inputTouch sensing
15GPIO13General-purpose input/output, can be used as touch inputTouch sensing
16GPIO20General-purpose input/output, can be used as ADC1 analog inputADC1_CHANNEL4
17GPIO21General-purpose input/output, can be used as ADC1 analog inputADC1_CHANNEL5
18GPIO22General-purpose input/output, can be used as ADC1 analog inputADC1_CHANNEL6
19GPIO23General-purpose input/output, can be used as ADC1 analog inputADC1_CHANNEL7
20GNDGround-
21DSI_D1_PMIPI-DSI data lane 1 positive terminal-
22DSI_D1_NMIPI-DSI data lane 1 negative terminal-
23DSI_CLK_NMIPI-DSI clock differential pair negative terminal-
24DSI_CLK_PMIPI-DSI clock differential pair positive terminal-
25DSI_D0_PMIPI-DSI data lane 0 positive terminal-
26DSI_D0_NMIPI-DSI data lane 0 negative terminal-
27GNDGround-
28CSI_D0_NMIPI-CSI data lane 0 negative terminal-
29CSI_D0_PMIPI-CSI data lane 0 positive terminal-
30CSI_CLK_PMIPI-CSI clock differential pair positive terminal-
31CSI_CLK_NMIPI-CSI clock differential pair negative terminal-
32CSI_D1_NMIPI-CSI data lane 1 negative terminal-
33CSI_D1_PMIPI-CSI data lane 1 positive terminal-
34GNDGround-
35USBD_NUSB 2.0 high-speed differential signal negative terminal, corresponding to main controller DM-
36USBD_PUSB 2.0 high-speed differential signal positive terminal, corresponding to main controller DP-
37USB1P1_NUSB 2.0 full-speed differential signal negative terminal, corresponding to GPIO24USB1P1_N0
38USB1P1_PUSB 2.0 full-speed differential signal positive terminal, corresponding to GPIO25USB1P1_P0
39GPIO27General-purpose input/output-
40GPIO28General-purpose input/output-
41GPIO29General-purpose input/output-
42GPIO30General-purpose input/output-
43GPIO31General-purpose input/output-
44GPIO32General-purpose input/output-
45GPIO33General-purpose input/output-
46GPIO34General-purpose input/output-
47GPIO35Boot configuration pin; if GPIO35 is low and GPIO36 is high at reset, download mode can be enteredBOOT
48GPIO36Boot configuration pin; already pulled up through R46 inside the moduleBOOT_EN
49GPIO37General-purpose input/output; its level at reset participates in boot mode configuration-
50GPIO38General-purpose input/output; its level at reset participates in boot mode configuration-
51ESP_LDO_VO1Main controller power regulation related pin, marked as VFB/VO1 in the schematic-
52ESP_LDO_VO2Main controller power regulation related pin, marked as VFB/VO2 in the schematic-
53ESP_LDO_VO3Main controller power regulation related pin, marked as VFB/VO3 in the schematic-
54ESP_LDO_VO4Main controller power regulation related pin, marked as VFB/VO4 in the schematic-
55GNDGround-
56GPIO26General-purpose input/output-
57GPIO39General-purpose input/output-
58GPIO40General-purpose input/output-
59GPIO41General-purpose input/output-
60GPIO42General-purpose input/output-
61GPIO43General-purpose input/output-
62GPIO44General-purpose input/output-
63GPIO45General-purpose input/output-
64GPIO46General-purpose input/output-
65GPIO47General-purpose input/output-
66GPIO48General-purpose input/output-
67GPIO49General-purpose input/output, can be used as ADC2 analog inputADC2_CHANNEL0
68GPIO50General-purpose input/output, can be used as ADC2 analog inputADC2_CHANNEL1
69GPIO51General-purpose input/output, can be used as ADC2 analog inputADC2_CHANNEL2
70GPIO52General-purpose input/output, can be used as ADC2 analog inputADC2_CHANNEL3
71GPIO53General-purpose input/output, can be used as ADC2 analog inputADC2_CHANNEL4
72GPIO54General-purpose input/output, can be used as ADC2 analog inputADC2_CHANNEL5
73GNDGround-
74VBATLow-power system power pin, with the schematic net being ESP_VBAT-
75ESP_3V33.3 V power input-
76ESP_3V33.3 V power input-
Pin Usage Restrictions

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.