****
Hi,
I'm using ESP32-S3 with LVGL and an ILI9488 SPI display. I'm trying to display a GIF from SD card:
```c
lv_gif_set_src(img, "A:/example.gif");
```
---
### Issue
With full buffer:
```c
static const size_t LV_BUFFER_SIZE = DISPLAY_HORIZONTAL_PIXELS * DISPLAY_VERTICAL_PIXELS;
```
I get:
```
spi transmit (queue) color failed
```
Reducing buffer size (e.g. 40 lines) avoids the SPI error, but the GIF (~300KB) does not display correctly.
---
### Question
Is this due to SPI/DMA limits or GIF decoding constraints in LVGL?
What is the recommended way to display large GIFs from SD card on ESP32-S3?
Thanks!
ESP32-S3 + LVGL + ILI9488: Reading .gif from SD card causes SPI transmit error (buffer size issue?)
-
phianhquan
- Posts: 1
- Joined: Fri Apr 10, 2026 10:03 am
-
MicroController
- Posts: 2669
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: ESP32-S3 + LVGL + ILI9488: Reading .gif from SD card causes SPI transmit error (buffer size issue?)
Or you're just running out of RAM?Is this due to SPI/DMA limits or GIF decoding constraints in LVGL?
Who is online
Users browsing this forum: ChatGPT-User, Google [Bot], PerplexityBot and 3 guests