RPi touch display 2 with ESP32-P4

yasirkq
Posts: 7
Joined: Fri Nov 18, 2022 12:04 am

RPi touch display 2 with ESP32-P4

Postby yasirkq » Fri Sep 05, 2025 9:18 am

Hi,

Has anyone tried to interface Raspberry Pi touch display 2 with ESP32-P4 devkit? Does it work?
https://www.raspberrypi.com/documentati ... ifications

Please help me configure this display with ESP32-P4.

/Yasir

ahsrabrifat
Posts: 201
Joined: Sat Jan 18, 2025 2:31 pm

Re: RPi touch display 2 with ESP32-P4

Postby ahsrabrifat » Sun Sep 07, 2025 10:26 am

The Raspberry Pi Touch Display 2 is expressly designed for Raspberry Pi boards, connecting via the DSI (Display Serial Interface) port and drawing power directly from the Pi’s GPIO pins. The ESP32-P4 (like other ESP32 variants) lacks both a DSI connector and the required display controller drivers, making direct compatibility impossible. Use a Display with SPI/I²C Interface Instead.

Sprite
Espressif staff
Espressif staff
Posts: 10599
Joined: Thu Nov 26, 2015 4:08 am

Re: RPi touch display 2 with ESP32-P4

Postby Sprite » Mon Sep 08, 2025 2:42 am

That's just not true, the ESP32-P4 has MIPI-DSI. I'm not sure if anyone bothered to make sure the physical connectors line up or write the required driver code, though.

yasirkq
Posts: 7
Joined: Fri Nov 18, 2022 12:04 am

Re: RPi touch display 2 with ESP32-P4

Postby yasirkq » Mon Sep 08, 2025 11:39 am

The Raspberry Pi Touch Display 2 is expressly designed for Raspberry Pi boards, connecting via the DSI (Display Serial Interface) port and drawing power directly from the Pi’s GPIO pins. The ESP32-P4 (like other ESP32 variants) lacks both a DSI connector and the required display controller drivers, making direct compatibility impossible. Use a Display with SPI/I²C Interface Instead.
:shock:
I think you are either not familiar or not updated with the latest ESP32-P4 controller and it's long list of peripherals. ESP32-P4 suppports both MIPI DSI and CSI. And both of these interfaces are directly compatible with standard CSI and DSI products in the market. I have tested some displays produced by Waveshare and they seems to work but I am having a little hard time with Raspberry Pi touch Display v2.
Have a look at the Espressif's ESP32-P4-Function-EV-Board:
https://docs.espressif.com/projects/esp ... guide.html

yasirkq
Posts: 7
Joined: Fri Nov 18, 2022 12:04 am

Re: RPi touch display 2 with ESP32-P4

Postby yasirkq » Mon Sep 08, 2025 11:48 am

That's just not true, the ESP32-P4 has MIPI-DSI. I'm not sure if anyone bothered to make sure the physical connectors line up or write the required driver code, though.

There are some drivers already available at Espressif component registry website but none of them support the bridged DSI controllers used in the most RPi supported displays. And interestingly, they seem to hide the details about the actual design of the these displays.

yasirkq
Posts: 7
Joined: Fri Nov 18, 2022 12:04 am

Re: RPi touch display 2 with ESP32-P4

Postby yasirkq » Mon Sep 22, 2025 12:23 am

If you're seeking robust DPI/DSI support for ESP32-P4, I've developed a dedicated GitHub repository to streamline integration with various DSI displays.

Explore it here: https://github.com/embenix/ESP32P4-DSI-Support-Hub

The project is actively under development, with ongoing additions for new display vendors as I acquire them—contributions welcome!

nasq86
Posts: 3
Joined: Mon Mar 17, 2025 8:40 pm

Re: RPi touch display 2 with ESP32-P4

Postby nasq86 » Tue Sep 23, 2025 10:41 am

Heya,

first: Yes, ESP32-P4 has MIPI DSI as well as MIPI CSI peripherals.

However:
Although MIPI-DSI is a common standard, it only standardizes the electrical PHY layer, as well als low level protocols how to read/write data over the lines.

What it does explicitely NOT standardizes is: Connectors and their pinouts or any other panel specifics like which commands it knows etc.

example:
I have a MIPI-CSI camera delivered with my STM32-MP135F-DK and I also have the MIPI-CSI camera that came with my ESP32-P4-Function-EV-Board. If I dare to to swap the cameras to the respective other board, they get damn hot and would be probably killed if I did not disconnect quickly.

Long story short:
MIPI-(C/D)SI neither specifies the pinout, nor the commands used by the devices. MIPI-DSI displays are not compatible with any implementation, just because it is MIPI-DSI.

The Raspberry Pi MIPI-DSI display will not work with the ESP32-P4 and vice versa. (I tried it the other way round, connect a Raspberry Pi with the touch display that comes with the Function-EV-Board)

Who is online

Users browsing this forum: PerplexityBot, PetalBot and 2 guests