What do you want to achieve?
Smooth animation on larger display
What have you tried so far?
Different buffer size, buffering mode, screen refresh rate, external RAM clock and timig
Code to reproduce
/*You code here*/
Screenshot and/or video
Environment
- MCU/MPU/Board: custom board STM32H7B3
- LVGL version: 9.3
I’m using my custom STM32H7B3 board with external frame buffer, OctoSPI flash and 10.1" 1024x600 display. I set partial buffer (1/3 display rows) rendering into the MCU’s internal RAM as the external double buffering slowes down the animation or I have crashes. I use ARGB888 color mode, I need to move images on a background picture. MCU runs at 280MHz, flushing by DMA2D. I don’t know, the LVGL or some kind of setup is the reason, but moving for example a 100x100 pixels image is not smooth enough, there’re short stops in animation. Maybe this hardware is not enough for such size of display/color mode? Another interesting thing is when I place a label with built-in Montserrat font, I can rotate it, but if I use my custom font (generated by the LVGL fontconverter) it works till it is below a certain size. My custom font with size 250 can be displayed only without rotation. Similarly, I can move or set opacity of a 100x100 pixels image, but can’t do it with a 250x300 pixels image. Interesting, that in both problematic cases, the background image doesn’t appear at all and the program freezes. What should be the reason? Is my setup too large to LVGL (this screen size with ARGB mode)? Or is there a kind of limit somewhere? Does anyone use similar size of display without issue?