Rotate screen and dma

Description

I need to rotate my display. I read this comment about it, and as far as I understand we can’t do this with DMA, or even DMA2D. Am I right? Do we have any solution for it?

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

stm32f429igt6, GCC, stm32cubeide

What do you want to achieve?

Rotate the screen while using DMA too.

Some displays allow to change the mode from portrait to landscape and vice versa. This is normally done when initializing the display and would be independent of littlevgl. If your display supports this then you should still be able to use DMA etc. You wold have to tell littlevgl what the new size is i.e. if it was 320x240 then it would now be 240x320 .

Maybe look for data sheet or example code for ILI9341 and modify the the driver. Code will be in function such as
void ili9341_Init(void)
{
//Multiple register writes
}

Hope this helps

Also look here. There is a rotation function using ILI9341 registers:

Hmm, yeah thanks. I knew it. Unfortunately, my LCD doesn’t support it.