Skip to main content
JJ.Lin
Associate III
May 29, 2021
Question

How do I flip the screen up and down

  • May 29, 2021
  • 4 replies
  • 1215 views

There ia need to flip the display screen up and down, can I change the direction by config the TouchGFX designer proj or the STM32 LTDC or DMA2D parameters? Thanks

This topic has been closed for replies.

4 replies

MM..1
Super User
May 29, 2021

No STM cant flip image i know only two ways:

  1. set registers on display controller to flip
  2. create graphics in designer upside down
Romain DIELEMAN
ST Employee
May 31, 2021

Hi,

As MM said you can either do it through the hardware (with user code or through STM32CubeMX) or by reverting all the graphics. The second option is quite annoying but is the "easiest".

/Romain

JJ.Lin
JJ.LinAuthor
Associate III
June 1, 2021

Well, thank you for your reply, but how to flip the dynamic value in text if I tried the second scheme?And in the first option do you mean the display driver IC register or the STM32 module : LTDC/DMA2D?

Romain DIELEMAN
ST Employee
June 1, 2021

Hi,

You can set the rotation angle of the text in the textArea widgets settings. By setting it to 180 you will have the text "upside down".

For the second option it depends on your display but it should/could be doable through the display driver.

/Romain