DMA with External RAM (PSRAM)
Posted: Wed Jun 07, 2023 1:40 pm
Hi all,
i'm currently working on a project in which i am driving a tft display via SPI using an ESP32-S2-WROVER module. I am using LVGL as a graphical tool to build the UI. At the moment i am using a frame buffer in internal memory to draw the screen and then, its content is transferred to the display controller with DMA. However the internal memory is not large enaugh to contain a screen-sized frame buffer so i can only use a partial frame-buffer. I am facing some problems such as tearing effects so it would be very useful to place the the frame-buffer in the external SPIRAM which is big enaugh for this purpose but it is not DMA capable.
I have read in the documentation the following sentence:
"Note, although ESP32-S2 has hardware support for DMA to/from external RAM, this is not yet supported in ESP-IDF."
Is it going to be implemented soon?
Has someone some advice to overcome this problem?
i'm currently working on a project in which i am driving a tft display via SPI using an ESP32-S2-WROVER module. I am using LVGL as a graphical tool to build the UI. At the moment i am using a frame buffer in internal memory to draw the screen and then, its content is transferred to the display controller with DMA. However the internal memory is not large enaugh to contain a screen-sized frame buffer so i can only use a partial frame-buffer. I am facing some problems such as tearing effects so it would be very useful to place the the frame-buffer in the external SPIRAM which is big enaugh for this purpose but it is not DMA capable.
I have read in the documentation the following sentence:
"Note, although ESP32-S2 has hardware support for DMA to/from external RAM, this is not yet supported in ESP-IDF."
Is it going to be implemented soon?
Has someone some advice to overcome this problem?