2021-07-05 03:43 AM
Hi,
How to reverse the LCD display up down by configuring LTDC or DMA2D regester? Is it feasible?
/JJ.Lin
2021-07-05 10:24 AM
No.
JW
2021-07-06 09:15 AM
Hello @JJ.Lin ,
Do you mean Layer position configuration ?
You can have a look at this AN4861, this may help you on the configuration, as contains an example of LTDC layer parameters configuration using STM32CubeMX..
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Imen
2021-07-06 11:43 AM
I think the question relates to mapping the frame buffer backward, presumably because it is easier to flip that than orientate the display correctly for the application. Pretty sure all the painting and drawing code could be flipped, it's more about the HW abilities/limitations.
So perhaps DMA with memory address decrementing rather than incrementing.
2021-07-06 12:02 PM
@Community member
You really dont like the DMA2D cause of this limitation and i too:face_with_tears_of_joy:. it really should be able to rotate
2021-07-06 12:24 PM
> So perhaps DMA with memory address decrementing rather than incrementing.
You mean, utilizing MDMA? That might be viable, but only in the 'H7.
JW
2021-07-06 07:42 PM
Thank you for your reply, I just mean I want to rotate the display direction by 180 degree for the reason of structure. I try to do it by configuring the STM32 registers. But if it is not feasible, I have to change my UI framework for rotating 180 degree is not supported.