ESP32S3 RGB LCD refresh while writing to SPI flash

marbalon
Posts: 23
Joined: Wed Dec 20, 2017 11:02 am

ESP32S3 RGB LCD refresh while writing to SPI flash

Postby marbalon » Tue Oct 18, 2022 7:51 am

Hi,

I have a project with ESP32S3 + LCD 800x480 over RGB + 8MByte PSRAM. ESP-IDF 5.0.

I had some problems with rotation but I found a combination where it is working, so there is only one hardware problem left:

How to keep LCD refreshed when SPI flash is written?

In manuconfig I marked all SPI, GDMA, and LCD ISR to be placed in IRAM, but nothing helped. Every time I try to write/erase even a small chunk of SPI flash LCD has some problems and LCD content is scrolling - see video below.

https://photos.app.goo.gl/ADEsUmmQ48gAaNz4A

Any idea how to keep LCD driver working when SPI flash writes need to be called in the background?

Who is online

Users browsing this forum: No registered users and 72 guests