How to user two display framebuffer?


i use stm32f746 , I imitate the f7 example (use dma2d & dma) to driver my display(1024*600),when i use benckmark,I click the wallpaper button, i can find the display refreshing that from top to bot slowly brush.

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


What do you want to achieve?

I want use two framebuffer, When the all data are ready, I switch ltdc base framebuffer addr to switch the diplay context directly, without slowly brush effect.

What have you tried so far?

Code to reproduce

The code block(s) should be formatted like:

/*You code here*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

Take a look at this:

I test two full size buffer,but I still see the brush effect.
Can i change directly the ltdc base addr ? Lvgl provide this API?

And i find ,If data is all in Ram(not in flash),Use two 10 line buffer in internal Ram which is faster than two full buffer in external SDram when switch total screen Data.

Is the D-Cache enabled? Without it, I think SDRAM will be very slow compared to SRAM.