ESP32S3 LCD controller picture shift

maddis
Posts: 4
Joined: Mon Oct 07, 2019 6:32 pm

ESP32S3 LCD controller picture shift

Postby maddis » Sat Feb 10, 2024 1:48 pm

I have couple ESP32S3 based hardwares. One has 4.3" LCD and other one 7.0" LCD.

Both had similar problems of picture shifting to right. For 4.3" display it was fixed by setting correct pixel clock (was set to 12MHz and needed to be 9MHz)

For 7.0" display no such clock. Hardware is ESP32S3-8048S070C and I haven't found datasheet for the display itself, but I did found example how to setup the display and they used 16MHz pixel clock and it seems to be best one. Any lower and screen starts flickering too much and higher didn't do any better stabilizing picture.

My software uses LVGL to draw the screen, but seem to happen even if I use screen without LVGL so something in ESP-side causes that.

What could cause that and another thing is that is there a way to reset the LCD picture to be correct position again? Do I need to re-initilaize the whole screen?

Here is picture of the issue. All stuff on the screen should be aligned to the left side of the screen, but they end up in the middle (not always in the same position). Screen is also updated ok but the offset is wrong.
Image

Who is online

Users browsing this forum: Baidu [Spider] and 110 guests