Need support for hardware rotation

Hello @kisvegabor
I’m using software rotation in my app but with slow performance.
I was going through the lvgl doc and read below-

LVGL supports rotation of the display in 90 degree increments. You can select whether you’d like software rotation or hardware rotation

I want to know how hardware rotation can be implemented. By the way, my display driver doesn’t support rotation feature.

Keshav Aggarwal


What kind of MCU do you use? The frame buffer is stored in the MCU’s SRAM or external RAM, or do you use an external display controller?

Thanks for replying.
I’m using STM32H7A3VI with LTDC peripheral, frame buffer is in the internal RAM.

You need to configure LVGL into partial refreshing mode and enable sw_rotation.