ESP32-S3 RGB LCD maximum throughput

weili_an
Posts: 18
Joined: Sat Feb 05, 2022 8:16 am

Re: ESP32-S3 RGB LCD maximum throughput

Postby weili_an » Thu Nov 03, 2022 8:09 am

cool!

eidetech
Posts: 4
Joined: Mon Feb 28, 2022 12:58 pm

Re: ESP32-S3 RGB LCD maximum throughput

Postby eidetech » Mon Feb 06, 2023 1:36 pm

Hi everyone at this topic,

In the past two months I have been trying to fine tune the parameters in the RGB LCD example in the esp-idf repo (https://github.com/espressif/esp-idf/tr ... /rgb_panel) to suit my panel, but I can not seem to find parameters that makes the display stop flickering. I can find parameters that makes it stand still and not scroll/shift, but then it will show a visible flicker.

I have tried to read the datasheet for the LCD, could anyone here tell me what parameters I should use according to the attached image?

When I use the following parameters, the screen does not shift (although they don't look anything like the datasheet):

Code: Select all

                // The following parameters should refer to LCD spec
                .hsync_back_porch = 800,
                .hsync_front_porch = 200,
                .hsync_pulse_width = 48,
                .vsync_back_porch = 31,
                .vsync_front_porch = 13,
                .vsync_pulse_width = 1,
                .flags.pclk_active_neg = true,
and pixel clock:

Code: Select all

#define EXAMPLE_LCD_PIXEL_CLOCK_HZ     (12 * 1000 * 1000)
Would love some input on what values to try according to the datasheet, and also how to get rid of the flickering issue.
Attachments
Screenshot_20230206_013210.png
Screenshot_20230206_013210.png (59.56 KiB) Viewed 4012 times

tulipcc
Posts: 8
Joined: Wed Oct 25, 2017 3:28 pm

Re: ESP32-S3 RGB LCD maximum throughput

Postby tulipcc » Tue Feb 14, 2023 4:30 pm

Just a FYI, thanks for the help on the bounce buffers. I'm able to get a stable 30FPS at RGB332 on a 1024x600 RGB dot clock display. It's all to service a little computer running on just a ESP32-S3 running Micropython, with support for "hardware" sprites and scrolling. All the code and hardware specs are here:

https://github.com/bwhitman/tulipcc
IMG_0395.jpeg
IMG_0395.jpeg (2 MiB) Viewed 3950 times

MasterExploder
Posts: 26
Joined: Wed Feb 08, 2023 6:17 pm

Re: ESP32-S3 RGB LCD maximum throughput

Postby MasterExploder » Tue Apr 04, 2023 9:30 am

Did you find any solution to this? i am experiecing the same issue with different LCD screen.
With 12 Mhz it works perfectly, but when i try to go with more than 14.6, i see the same problems you had on your screen.

MasterExploder
Posts: 26
Joined: Wed Feb 08, 2023 6:17 pm

Re: ESP32-S3 RGB LCD maximum throughput

Postby MasterExploder » Sun Apr 09, 2023 6:14 am

Did you manage to solve this? I have the same problem with my project, if so, how did you do It?

Who is online

Users browsing this forum: No registered users and 35 guests