How can I stop the tearing on my LCD Display?

vritzka
Posts: 22
Joined: Wed Sep 07, 2022 5:33 am

How can I stop the tearing on my LCD Display?

Postby vritzka » Tue Nov 01, 2022 3:51 am

Hi,

I am running a 7-inch LCD on an ESP32-S3 with LVGL.

I am running it through the RGB interface.

It works:
IMG_7376.JPG
IMG_7376.JPG (64.45 KiB) Viewed 3103 times
But, when ever any pixels get updated, it starts tearing:
IMG_7375.JPG
IMG_7375.JPG (110.97 KiB) Viewed 3103 times
I have tried all kinds of setups:

1 Buffer
2 Buffers
small buffer
large buffer
callback functions: esp_lcd_rgb_panel_frame_trans_done_cb_t

I can only make it work if I turn down the Display Clock Frequency (DCLK) to 14 MHZ.
But then the whole display flickers.

The tearing seems to happen during esp_lcd_panel_draw_bitmap().

On ESP-IDF, there is a callback .on_vsync. But its not available on Arduino.

Does someone have a suggestion on how I can fix this?

bidrohini
Posts: 202
Joined: Thu Oct 27, 2022 12:55 pm

Re: How can I stop the tearing on my LCD Display?

Postby bidrohini » Thu Nov 03, 2022 4:19 am

Hi, what power supply are you using in your project?

Who is online

Users browsing this forum: No registered users and 66 guests