Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LCD display corruption caused by Wi-Fi activities (IDFGH-11174) #12342

Open
3 tasks done
GaryChan-work opened this issue Oct 3, 2023 · 2 comments
Open
3 tasks done

LCD display corruption caused by Wi-Fi activities (IDFGH-11174) #12342

GaryChan-work opened this issue Oct 3, 2023 · 2 comments
Labels
Status: Opened Issue is new

Comments

@GaryChan-work
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Hi,

We found that the LCD display screen may be corrupted (see link below) if Wi-Fi is connected and has some activities (e.g. communicating with host, performing OTA update, etc). If Wi-Fi is turned off, the display works fine. Besides, the LCD display buffer is placed in the PSRAM (Octal mode@80MHz). If we temporarily change it to internal RAM, it seems the problem can be avoided.

https://drive.google.com/file/d/1J46mps4F4HuG6tB0qJbvmQMnisdy4Jf3/view?usp=sharing

Here is the IDF information:
IDF version: v4.4.4 (patched with commit "3cec3a00260")
LVGL version: v7.11
Display Buffer: PSRAM (Octal Mode@80MHz)
ESP LCD I/F: i80 bus, 8-bit bus width, 16-bit RGB, 10MHz pixel CLK

Can anyone help to see how to fix this issue or know the root cause?
Thanks for your help!

Gary

@espressif-bot espressif-bot added the Status: Opened Issue is new label Oct 3, 2023
@github-actions github-actions bot changed the title LCD display corruption caused by Wi-Fi activities LCD display corruption caused by Wi-Fi activities (IDFGH-11174) Oct 3, 2023
@suda-morris
Copy link
Collaborator

It's due to a hardware limitation in the MEM_SPI bandwidth. We recommend you to enable these default Kconfig options: https://github.com/espressif/esp-idf/blob/master/examples/peripherals/lcd/i80_controller/sdkconfig.defaults.esp32s3

Also can you see the problem on the master branch?

You may also get some hints in this FAQ (although different LCD model, but same root cause): https://docs.espressif.com/projects/espressif-esp-faq/en/latest/software-framework/peripherals/lcd.html#does-esp32-s3-require-an-external-psram-to-use-the-rgb-screen

@puddletowntom
Copy link

Hi,

I have a similar issue. I made changes to the config as you mention here but it didnt work. Did you make any progress with this? Is there a way of switching PSRAM off for Wi-Fi while having PSRAM on for the LCD.

The similar issue i raised can be found here,

#13169

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new
Projects
None yet
Development

No branches or pull requests

4 participants