Skip to main content
JJ.Lin
Associate III
July 5, 2021
Question

How to reverse the LCD display up down by configuring LTDC or DMA2D regester

  • July 5, 2021
  • 6 replies
  • 1434 views

Hi,

How to reverse the LCD display up down by configuring LTDC or DMA2D regester? Is it feasible?

/JJ.Lin

This topic has been closed for replies.

6 replies

waclawek.jan
Super User
July 5, 2021

No.

JW

MSale.1
Senior
July 6, 2021

@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

ST Technical Moderator
July 6, 2021

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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Tesla DeLorean
Guru
July 6, 2021

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.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
waclawek.jan
Super User
July 6, 2021

> So perhaps DMA with memory address decrementing rather than incrementing.

You mean, utilizing MDMA? That might be viable, but only in the 'H7.

JW