Skip to main content

ESP32-P4-WIFI6-DB

ESP32-P4-WIFI6-DB

ESP32-P4-WIFI6-DB is a multimedia development board based on the ESP32-P4, with an onboard ESP32-C5 wireless module that provides 2.4 GHz / 5 GHz dual-band Wi-Fi 6 and Bluetooth 5 (LE).

The board brings out MIPI-CSI, MIPI-DSI, USB 2.0 OTG, TF, audio, and GPIO interfaces, making it suitable for HMI, edge computing, and I/O expansion applications. Actual functionality is subject to the firmware and software resources provided with this model.

If you are looking for:

  • Coding with AI tools: Click Ask AI and select an AI tool to ask questions about this page, or choose Copy page to copy its content and paste it into an AI tool for coding assistance.
  • Schematics, datasheets, and example code: See Resources
  • Arduino development: See Working with Arduino
  • ESP-IDF development: See Working with ESP-IDF
  • Troubleshooting: See Product FAQ or contact Technical Support

Models and Kits​

This series is differentiated by antenna type, pin header soldering state, and accessory combination. The correspondence below is based on the ESP32-P4-WIFI6-DB Product Details and Configuration List.

SKUProductAntenna TypePin HeadersAccessory Combination
35800ESP32-P4-WIFI6-DBOnboard PCB antennaNot solderedDevelopment board
35796ESP32-P4-WIFI6-DB-MOnboard PCB antennaSolderedDevelopment board
35801ESP32-P4-WIFI6-DB-UExternal FPC antennaNot solderedDevelopment board
35806ESP32-P4-WIFI6-DB-UMExternal FPC antennaSolderedDevelopment board
35802ESP32-P4-WIFI6-DB-M-KIT-AOnboard PCB antennaSolderedKit A
35803ESP32-P4-WIFI6-DB-M-KIT-BOnboard PCB antennaSolderedKit B
35804ESP32-P4-WIFI6-DB-UM-KIT-AExternal FPC antennaSolderedKit A
35805ESP32-P4-WIFI6-DB-UM-KIT-BExternal FPC antennaSolderedKit B
  • The version without soldered pin headers includes two 20PIN pin headers; the external antenna version includes an FPC dual-band Wi-Fi antenna.
  • Kit A includes the development board with soldered pin headers, the RPi Camera (B) camera (OV5647, 5 megapixels, manual focus), an 8 Ω 2 W speaker, a camera cable, and an MX1.25 4PIN to USB cable.
  • Kit B adds a 10.1-DSI-TOUCH-A screen, a screen cable, and a copper pillar pack on top of Kit A.

The development board has an onboard microphone and speaker connector. The speaker is only included with Kits A / B, and the screen is only included with Kit B. When purchasing the development board separately, the external accessories required for the display, camera, and audio playback examples need to be prepared separately.

Features​

  • Processor
    • Equipped with a RISC-V 32-bit dual-core processor (HP system), with DSP and instruction set extensions and a floating-point unit (FPU), running at up to 400 MHz
    • Equipped with a RISC-V 32-bit single-core processor (LP system), running at up to 40 MHz
    • Equipped with an ESP32-C5 Wi-Fi / Bluetooth co-processor, expanding dual-band Wi-Fi 6 and Bluetooth 5 (LE) functionality via SDIO
  • Memory
    • 128 KB high-performance (HP) system read-only memory (ROM)
    • 16 KB low-power (LP) system read-only memory (ROM)
    • 768 KB high-performance (HP) L2 memory (L2MEM)
    • 32 KB low-power (LP) SRAM
    • 8 KB HP SPM (scratchpad memory)
    • 32 MB PSRAM packaged in the chip, and 32 MB onboard Nor Flash
  • Peripheral Interfaces
    • 2 × 20 pin headers onboard, exposing 27 remaining programmable GPIOs
    • Onboard speaker connector and microphone; audio capture and playback can be implemented using the codec chip and amplifier chip
    • Onboard MIPI-CSI HD camera interface, supporting Full HD 1080P image capture and encoding; integrated image signal processor (ISP) and H.264 video encoder, supporting H.264 and JPEG video encoding (1080P @30fps), suitable for computer vision, machine vision, and other fields
    • Onboard MIPI-DSI HD display interface, integrated pixel processing accelerator (PPA) and 2D graphics acceleration controller (2D DMA), supporting JPEG image decoding (1080P @30fps), suitable for smart home control panels, industrial control panels, vending machines, and other scenarios

Onboard Resources​

ESP32-P4-WIFI6-DB Onboard Resources

  1. ESP32-P4NRW32X: ESP32-P4 with 32 MB PSRAM packaged in the chip.
  2. ESP32-C5 Module: Communicates with the ESP32-P4 via an SDIO interface, providing 2.4 GHz / 5 GHz dual-band Wi-Fi 6 and Bluetooth 5 (LE).
  3. 32 MB Nor Flash.
  4. Display Interface: MIPI-DSI, 2‑lane. Compatible with 5 / 7 / 8 / 10.1-inch DSI screens.
  5. Camera Interface: MIPI-CSI, 2‑lane. Compatible with cameras such as the OV5647.
  6. Type-C Port: For power supply, program flashing, and serial debugging.
  7. Microphone: Onboard audio capture.
  8. Speaker Connector: MX1.25 2P connector, supports 8 Ω 2 W speakers.
  9. 4PIN USB Header Uses an MX1.25 4Pin connector and exposes the ESP32-P4's USB 2.0 High-Speed OTG signals, which can be used to connect USB peripherals or configure the development board as a USB device
  10. Wireless Module UART Pads: Exposes the serial port of the wireless co-processor.
  11. BOOT Button: Press during power‑on or reset to enter download mode.
  12. RESET Button: Resets the board.
  13. PWR: Power indicator.
  14. TF Card Slot: SDIO 3.0 interface protocol.

Peripheral Quick Reference​

ModuleDevice / FunctionInterfaceAddress / ParametersGPIO / Signals
LCDMIPI-DSI displayMIPI-DSI2‑lane; supports 5 / 7 / 8 / 10.1‑inch panel configurationsLCD reset not connected; backlight controlled via shared I2C
TouchScreen touch controllerI2CBSP tries 7-bit addresses 0x5D / 0x14 in sequenceSDA=GPIO7, SCL=GPIO8; RST / INT not connected
LCD BacklightBacklight controllerI2C7‑bit address 0x45; brightness register 0x96SDA=GPIO7, SCL=GPIO8
CameraMIPI-CSI camera interfaceMIPI-CSI + SCCB2‑lane; camera model and address depend on module documentationSCCB shared on GPIO7 / GPIO8; XCLK / RESET not connected
AudioES8311 codecI2C + I2S7-bit I2C address 0x18; single analog microphoneI2C: SDA=GPIO7, SCL=GPIO8; MCLK=GPIO13, SCLK=GPIO12, WS=GPIO10, DOUT=GPIO9, DIN=GPIO11
Amplifier ControlOnboard speaker amp enableGPIOHigh level to enableGPIO53
TF CardSDMMC 4‑bitSDMMC4‑bit modeCLK=GPIO43, CMD=GPIO44, D0=GPIO39, D1=GPIO40, D2=GPIO41, D3=GPIO42; power control=GPIO45
ESP32-C5ESP-Hosted communicationSDIOWi‑Fi 6 / Bluetooth 5 (LE) co‑processorCLK=GPIO18, CMD=GPIO19, D0=GPIO14, D1=GPIO15, D2=GPIO16, D3=GPIO17, RESET=GPIO54

Pin Definitions​

When using the GPIO headers on the ESP32-P4-WIFI6-DB, note the multiplexed functions marked on the pin diagram. Some GPIOs are already connected to onboard peripherals; before using them as general‑purpose I/O, confirm that the corresponding peripheral is not enabled.

ESP32-P4-WIFI6-DB Pinout

GPIO Allocation​

The table below lists the GPIOs already occupied by onboard circuits and those brought out to expansion headers.

GPIOSignal NameConnected ToRemarks
GPIO0GPIO0XTAL_32K_NXTAL_32K
GPIO1GPIO1XTAL_32K_PXTAL_32K
GPIO2GPIO2Reserved pad / pin headerExpansion header GPIO2
GPIO3GPIO3Reserved pad / pin headerExpansion header GPIO3
GPIO4GPIO4Reserved pad / pin headerExpansion header GPIO4
GPIO5GPIO5Reserved pad / pin headerExpansion header GPIO5
GPIO6GPIO6ESP32-C5 moduleESP32-C5 wake-up pin
GPIO7I2C SDAES8311, screen touch controller, LCD backlight, camera SCCB, expansion pin headersShared I2C SDA
GPIO8I2C SCLES8311, screen touch controller, LCD backlight, camera SCCB, expansion pin headersShared I2C SCL
GPIO9I2S DOUTES8311 DSDINAudio playback data
GPIO10I2S WSES8311 LRCKAudio frame sync
GPIO11I2S DINES8311 ASDOUTAudio capture data
GPIO12I2S SCLKES8311 SCLKAudio bit clock
GPIO13I2S MCLKES8311 MCLKAudio master clock
GPIO14GPIO14ESP32-C5 moduleC5 SDIO D0
GPIO15GPIO15ESP32-C5 moduleC5 SDIO D1
GPIO16GPIO16ESP32-C5 moduleC5 SDIO D2
GPIO17GPIO17ESP32-C5 moduleC5 SDIO D3
GPIO18GPIO18ESP32-C5 moduleC5 SDIO CLK
GPIO19GPIO19ESP32-C5 moduleC5 SDIO CMD
GPIO20GPIO20Reserved pad / pin headerExpansion header GPIO20
GPIO21GPIO21Reserved pad / pin headerExpansion header GPIO21
GPIO22GPIO22Reserved pad / pin headerExpansion header GPIO22
GPIO23GPIO23Reserved pad / pin headerExpansion header GPIO23
GPIO24GPIO24Reserved pad / pin headerGPIO24 / USB1P1_N0
GPIO25GPIO25Reserved pad / pin headerGPIO25 / USB1P1_P0
GPIO26GPIO26Reserved pad / pin headerGPIO26 / USB1P1_N1
GPIO27GPIO27Reserved pad / pin headerGPIO27 / USB1P1_P1
GPIO28GPIO28Reserved pad / pin headerExpansion header GPIO28
GPIO29GPIO29Reserved pad / pin headerExpansion header GPIO29
GPIO30GPIO30Reserved pad / pin headerExpansion header GPIO30
GPIO31GPIO31Reserved pad / pin headerExpansion header GPIO31
GPIO32GPIO32Reserved pad / pin headerExpansion header GPIO32
GPIO33GPIO33Reserved pad / pin headerExpansion header GPIO33
GPIO34GPIO34Solder padStrapping pin
GPIO35GPIO35BOOT keyStrapping pin
GPIO36GPIO36Solder padStrapping pin; external 3.3 V pull-up
GPIO37UART0_TXDCH343PUART0 TX; not recommended for general-purpose use
GPIO38UART0_RXDCH343PUART0 RX; not recommended for general-purpose use
GPIO39SD_D0TF cardSDMMC 4-bit data line
GPIO40SD_D1TF cardSDMMC 4-bit data line
GPIO41SD_D2TF cardSDMMC 4-bit data line
GPIO42SD_D3TF cardSDMMC 4-bit data line
GPIO43SD_CLKTF cardSDMMC clock line
GPIO44SD_CMDTF cardSDMMC command line
GPIO45SD_VDD_ENTF card power controlLow to enable
GPIO46GPIO46Reserved pad / pin headerExpansion header GPIO46
GPIO47GPIO47Reserved pad / pin headerExpansion header GPIO47
GPIO48GPIO48Reserved pad / pin headerExpansion header GPIO48
GPIO49GPIO49Reserved pad / pin headerExpansion header GPIO49
GPIO50GPIO50Reserved pad / pin headerExpansion header GPIO50
GPIO51GPIO51Reserved pad / pin headerExpansion header GPIO51
GPIO52GPIO52Reserved pad / pin headerExpansion header GPIO52
GPIO53PA_CTRLNS4150B CTRLAmplifier enable, active high
GPIO54C5_CHIP_PUESP32-C5 enableHigh to enable, low to reset
LCD and Touch Pins
SignalGPIO / SignalDescription
MIPI-DSIMIPI interface2‑lane display interface
LCD_RSTNot connectedNo dedicated GPIO for LCD reset
LCD_BLI2C 0x45Backlight controlled via register 0x96
TP_SCLGPIO8Screen touch I2C SCL, shared bus
TP_SDAGPIO7Screen touch I2C SDA, shared bus
TP_RSTNot connectedTouch reset signal is not connected to an ESP32-P4 GPIO
TP_INTNot connectedTouch interrupt signal is not connected to an ESP32-P4 GPIO
Audio and TF Card
Signal / PeripheralGPIO / SignalDescription
I2S_MCLKGPIO13ES8311 master clock
I2S_SCLKGPIO12ES8311 bit clock
I2S_WSGPIO10ES8311 frame sync
I2S_DOUTGPIO9ESP32-P4 output to ES8311
I2S_DINGPIO11ES8311 output to ESP32-P4
PA_CTRLGPIO53Amplifier enable, enabled at high level
SD_D0 / SD_D1GPIO39 / GPIO40SDMMC data lines
SD_D2 / SD_D3GPIO41 / GPIO42SDMMC data lines
SD_CLK / SD_CMDGPIO43 / GPIO44SDMMC clock and command lines
SD_VDD_ENGPIO45TF card power control, low to enable
I2C Device Summary
DeviceModel / FunctionI2C AddressI2C PinsNotes
Audio CodecES83117-bit I2C address 0x18GPIO7 / GPIO8Onboard audio capture and playback
TouchScreen touch controller0x5D / 0x14GPIO7 / GPIO8BSP uses the esp_lcd_touch_gt911 driver, trying both addresses in sequence; RST / INT not connected
LCD BacklightBacklight controller0x45GPIO7 / GPIO8Brightness register is 0x96
Camera SCCBExternal camera moduleDepends on moduleGPIO7 / GPIO8Shares bus with onboard I2C devices

Precautions​

  • GPIO7 / GPIO8 are the onboard shared I2C bus. When connecting external I2C devices, confirm that the addresses do not conflict.
  • GPIO45 is used for TF card power control, GPIO53 for the audio amplifier, and GPIO54 for ESP32-C5 communication reset; it is not recommended to use these as general‑purpose GPIO while the corresponding peripherals are active.
  • The LCD reset, touch reset, and interrupt signals are not connected to ESP32-P4 GPIOs. The BSP does not use a dedicated GPIO for reset, and touch reads via polling.

Dimensions​

ESP32-P4-WIFI6-DB Product Dimensions

Development Methods​

Arduino-ESP32 provides development interfaces through the Arduino API. ESP-IDF provides a development toolchain including a compiler, debugger, and flashing tools, and supports finer-grained system configuration and control.

warning

This model already provides board definitions and peripheral examples based on Arduino-ESP32 3.3.11, and the adaptation scope is subject to the Working with Arduino. Complex examples and different panel combinations still need to be verified individually; when you need to use this model's BSP and the Brookesia comprehensive application, ESP-IDF development is recommended.

  • ESP-IDF, short for Espressif IoT Development Framework, is Espressif's development framework for the ESP series of chips. It is developed using the C language, including a compiler, debugger, and flashing tool, etc., and can be developed via the command lines or through an integrated development environment (such as Visual Studio Code with the Espressif IDF plugin). The plugin offers features such as code navigation, project management, and debugging, etc. We recommend using VS Code for development. For detailed configuration steps, refer to the Working with ESP-IDF (VS Code), which also provides relevant example programs for reference.