ESP32-P4: How to connect VDD_MIPI_DPHY?

The VDD_MIPI_DPHY pin on the ESP32-P4 microcontroller is used to power the MIPI CSI (camera) and MIPI DSI (display) physical layer (DPHY) interfaces.

NEVER CONNECT THIS PIN TO 3.3V OR 5V DIRECTLY!

If you do not intend to use the MIPI CSI or MIPI DSI interfaces, you can leave the VDD_MIPI_DPHY pin unconnected (floating).

This is a 2.5V pin with a voltage range pf 2.25V to 2.75V (absolute maximum rating of 2.75V). Supplying a higher voltage may destroy the chip.

The hardware design manual recommends connecting the VDD_MIPI_DPHY pin to the internal LDO. That means, you can connect it either to the VDDO_3 or the VDDO_4 pins, and you need to configure the LDO in software to output 2.5V.

Code based on the the ESP-IDF v5.5.2 MIPI DSI example

configure_ldo_mipi_dphy.cpp
#include <esp_ldo_regulator.h>

esp_ldo_channel_handle_t ldo_mipi_phy = NULL;
esp_ldo_channel_config_t ldo_mipi_phy_config = {
    .chan_id = 3, // 3 == VO3 == VDDO_3 pin
    .voltage_mv = 2500,
};
ESP_ERROR_CHECK(esp_ldo_acquire_channel(&ldo_mipi_phy_config, &ldo_mipi_phy));

You must place 10nF, 100nF, and 1µF capacitors as close as possible to the VDD_MIPI_DPHY pin (all connected between VDD_MIPI_DPHY and ground) to ensure stable operation of the MIPI DPHY.

Source: ESP32-P4 datasheet, ESP32-P4 hardware design manual


Check out similar posts by category: ESP32-P4, Electronics, Embedded