Too large data for Esp32 spi dma buffer

Hi Everyone!

I’m trying to run LVGL 9.2 on a Heltec Vision Master T190 board. It equiped with esp32s3. Unfortunately, I found that porting LVGL to esp32 is stopped after v7.0 or something.

So I try to implment the necessary functions mainly for SPI communication, but it seems that LVGL wants to send more data at once what the buffer of esp32 DMA could handle.

Did some of you faced with this issue? If yes, how did you solved it? I’m trying to implement a solution with DMA spi communication, where I split the buffer and send the parts after each others. But it’s not working yet.

Thanks.

Janos

lvgl happyly works with display drivers that ship with ESP-IDF, partial updates and double buffering supported. The number of supported display driver chips is a bit limited though.

You can check out my example here, that draws a few simple objects on Liligo T-Display dev board with st7789 display controller.

I have my own driver for a newer chip, rm67162 that comes with Lilygo T-Display-S3-AMOLED in an adjacent repo on github, in case you need it.

Best regards,

Eugene

Hello Eugene,

Many thanks for your answer. It helps lot. Just one question. Which version of LVGL do you use?

Thanks.

Janos

9.2, the current one

Perfect. Thanks again.

1 Like