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
RPi touch display 2 with ESP32-P4
-
ahsrabrifat
- Posts: 201
- Joined: Sat Jan 18, 2025 2:31 pm
Re: RPi touch display 2 with ESP32-P4
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.
Re: RPi touch display 2 with ESP32-P4
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.
Re: RPi touch display 2 with ESP32-P4
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.
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
Re: RPi touch display 2 with ESP32-P4
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.
Re: RPi touch display 2 with ESP32-P4
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!
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!
Re: RPi touch display 2 with ESP32-P4
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)
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: Barkrowler, Google [Bot], PerplexityBot, PetalBot and 2 guests
