rzeldent / esp32-smartdisplay

PlatformIO library LVGL Drivers for Sunton Smart display boards (CYD Cheap Yellow Display). This library supports these boards without any effort. ESP32-2432S024N/R/C, ESP32-2432S028R/C, ESP32-3248S035R/C, ESP32_8048S070N/C
https://github.com/rzeldent/platformio-espressif32-sunton
358 stars 67 forks source link

esp32-4848S040CIY3 flickering screen will performing update #161

Open d4rkdpg opened 3 months ago

d4rkdpg commented 3 months ago

Im using esp32-4848S040CIY3, whilst performing an update the screen is flickering. Im using LVGL and calling a function to do OTA. I also get a slight flicker when connecting to wifi, or it seems so, not sure whats causing this.

Thanks

rzeldent commented 3 months ago

Think interrupts are disabled during wifi, or running on the same core as wifi?

d4rkdpg commented 3 months ago

im not pinning connect to wifitask to a core, the update is running on core0 as a task that gets deleted when update found.

d4rkdpg commented 2 months ago

tired a few things nothing seems to work, any pointers.

rzeldent commented 2 months ago

Tweaking the PCLK might also help reducing the flicker..

d4rkdpg commented 2 months ago
  "'-D ST7701_PANEL_CONFIG_TIMINGS_PCLK_HZ=(12.5*1000000)'",  here? what should I reduce it to.
rzeldent commented 2 months ago

Any progress?

d4rkdpg commented 2 months ago

didnt get anywhere still flickering....

rzeldent commented 1 month ago

The screen is refreshed using I2S. I suspect wifi influences the timing and causes flickering...

d4rkdpg commented 1 month ago

ok thanks, anything i can do i tried a few things still the same.

xperiments commented 1 week ago

I have found the same problem

Here is explained and solved but needs changes in ESP IDF

https://forum.lvgl.io/t/display-glitching-while-connecting-to-wifi-esp32s3-8048s043/12075/33

@rzeldent Do you think we can integrate this? checked for bounce_buffer_size_bytes in current version but I imagine the used IDF version is 4.4