Display artifacts on ESP32-S3 & ILI9341 LCD (Intel 8080 bus) with lvgl

stwirth
Posts: 9
Joined: Tue Nov 23, 2021 11:11 am

Display artifacts on ESP32-S3 & ILI9341 LCD (Intel 8080 bus) with lvgl

Postby stwirth » Tue Dec 21, 2021 1:01 pm

I have hooked up an ILI9341 to an ESP32S3 using the Intel 8080 interface, following the example at https://github.com/espressif/esp-idf/tr ... s/lcd/lvgl

When the screen animation is running, I see some artifacts occasionally.
When I additionally initialize an i2s interface (using esp-adf) with

Code: Select all

  i2s_stream_cfg_t i2s_cfg = I2S_STREAM_CFG_DEFAULT();
  i2s_cfg.type = AUDIO_STREAM_WRITER;
  audio_element_handle_t i2s_writer = i2s_stream_init(&i2s_cfg);
then the artifacts become much more frequent.
The artifacts seem to flash for a single frame in the area that gets re-drawn during animation. I have attached an example.

Any hints on what settings I could investigate or how to debug this further are greatly appreciated.

Thanks,
Stephan


Hardware:
ESP32-S3-DevKitC-1
Adafruit 2.4" TFT LCD with Touchscreen Breakout w/MicroSD Socket - ILI9341 (https://www.adafruit.com/product/2478)
Pinouts in 8-bit mode: https://learn.adafruit.com/adafruit-2-4 ... -2500743-7

Software:
esp-idf release/v4.4 branch (f23dcd3555cd59dfd44f4d7fbf2242c9827f91f1)
esp-adf main branch (c4e5b1a9acab182be792fbcd27351c4cd6bd0b8a)
lvgl (as managed component) v8.1.0
Attachments
artifacts.png
artifacts.png (310.87 KiB) Viewed 5176 times

ESP_Sprite
Posts: 9770
Joined: Thu Nov 26, 2015 4:08 am

Re: Display artifacts on ESP32-S3 & ILI9341 LCD (Intel 8080 bus) with lvgl

Postby ESP_Sprite » Wed Dec 22, 2021 2:36 am

Possibly corruption in your clock/data lines. You could try to lower the clock speed to your LCD.

stwirth
Posts: 9
Joined: Tue Nov 23, 2021 11:11 am

Re: Display artifacts on ESP32-S3 & ILI9341 LCD (Intel 8080 bus) with lvgl

Postby stwirth » Wed Dec 22, 2021 9:36 am

Awesome, thanks!
Lowering pclk_hz from 10M to 5M solved it!

Who is online

Users browsing this forum: Bing [Bot] and 50 guests