Page 1 of 1

How can I stop the tearing on my LCD Display?

Posted: Tue Nov 01, 2022 3:51 am
by vritzka
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 3105 times
But, when ever any pixels get updated, it starts tearing:
IMG_7375.JPG
IMG_7375.JPG (110.97 KiB) Viewed 3105 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?

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

Posted: Thu Nov 03, 2022 4:19 am
by bidrohini
Hi, what power supply are you using in your project?