ESP32P4 - Maximal supported resolution via MIPI-DSI?

Marc_H
Posts: 4
Joined: Wed Dec 22, 2021 6:07 pm

ESP32P4 - Maximal supported resolution via MIPI-DSI?

Postby Marc_H » Sun Dec 29, 2024 5:49 pm

Hello everyone,

i'm working on a little project. I want to use a LS055R1SX04 (used without backlight in UV 3D-Printers) LCD to expose pcb designs on raw pcbs.
Right now i use a HDMI to MIPI converter PCB but i hope that i can use the MIPI-DSI Interface of the ESP32-P4.
For my use case there is no need for fast fps i just need the resolution.
The LS055R1SX04 and LS055R1SX03 both have a resolution of 1440(H)×2560(V) Pixel.
I searched in the documentation but i could not find any information about the maximum supported resolution?

Demirug
Posts: 35
Joined: Fri May 28, 2021 12:54 pm

Re: ESP32P4 - Maximal supported resolution via MIPI-DSI?

Postby Demirug » Mon Dec 30, 2024 7:42 pm

I cannot speak for Espressif as I don't work for them. I am just reporting what I have seen in the header files,.

Code: Select all

struct {
        /** htotal : R/W; bitpos: [11:0]; default: 800;
         *  this field configures the total length of one line (by pixel num) for dpi output,
         *  must meet: reg_htotal > reg_hdisp+reg_hsync+reg_hbank
         */
        uint32_t htotal:12;
        uint32_t reserved_12:4;
        /** hdisp : R/W; bitpos: [27:16]; default: 640;
         *  this field configures the length of valid pixel data (by pixel num) for dpi output
         */
        uint32_t hdisp:12;
        uint32_t reserved_28:4;
    };

Code: Select all

struct {
        /** vtotal : R/W; bitpos: [11:0]; default: 525;
         *  this field configures the total length of one frame (by line) for dpi output, must
         *  meet: reg_vtotal > reg_vdisp+reg_vsync+reg_vbank
         */
        uint32_t vtotal:12;
        uint32_t reserved_12:4;
        /** vdisp : R/W; bitpos: [27:16]; default: 480;
         *  this field configures the length of valid line (by line) for dpi output
         */
        uint32_t vdisp:12;
        uint32_t reserved_28:4;
    };
So there are at least enough bits for this resolution, But there is no information in the headers if there is a valid range.

I am although not sure if there is a mode, like in the LCD module, where these parameters are ignored and it will just send whatever comes from the DMA channel.

Marc_H
Posts: 4
Joined: Wed Dec 22, 2021 6:07 pm

Re: ESP32P4 - Maximal supported resolution via MIPI-DSI?

Postby Marc_H » Mon Dec 30, 2024 8:17 pm

Hey and thanks a lot for the fast answer!
That is very good to know, but i struggle now after i received the datasheets for the displays.
Looks like both use 2 channel MIPI-DSI with 4 lanes per channel and it even looks like this is the only supported mode.
With a bit luck i find a mode in the 329 page driver specification to push the image in the gram over a single line.
Last possible option is to use a RGB to DSI converter ic and use a cheaper ESP32-S3.
More work for the next year...

chegewara
Posts: 2505
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP32P4 - Maximal supported resolution via MIPI-DSI?

Postby chegewara » Thu Jan 09, 2025 12:34 am

I believe espressif recently released drivers supporting mipi to hdmi converter which should support resolutions up to 1920x1080, so in theory this resolution is reachable.

johnboiles
Posts: 6
Joined: Thu Mar 03, 2022 6:31 am

Re: ESP32P4 - Maximal supported resolution via MIPI-DSI?

Postby johnboiles » Thu Mar 13, 2025 4:19 am

I'm having success with 1920x1080. It's definitely possible!

Who is online

Users browsing this forum: No registered users and 3 guests