Can I use DMA when use one buffer


What MCU/Processor/Board and compiler are you using?


What do you want to achieve?

I want to use DMA in my project but I’m confused about some problems.

What have you tried so far?

Two buffers
If two buffers are used LVGL can draw into one buffer while the content of the other buffer is sent to the display in the background. DMA or other hardware should be used to transfer data to the display so the MCU can continue drawing. This way, the rendering and refreshing of the display become parallel operations.

In two buffer section, it says that you can use DMA. I wonder whether I can use DMA to transfer data to the display if I register one buffer in lv_port_disp_init.

I am no expert at all but why do you want to use Dma with one buffer? I think the only benifit of the DMA is to transfer pixels to their destination while the processor working on the next frame and fills the second buffer.