Skip to main content
patrickschneider9
Associate III
April 25, 2022
Solved

TouchGFX 180 degree orientation?

  • April 25, 2022
  • 3 replies
  • 2722 views

Hi everyone,

is it somehow possible to "flip" the screen for a 180 degree rotation?

Either on TouchGFX, LTDC or DMA2D level?

We are using CubeMX to generate the whole project and everything works smoothly, but we need to rotate the screen.

Cheers,

Patrick

This topic has been closed for replies.
Best answer by Peter BENSCH

Unfortunately, it is not yet possible to realise this in TouchGFX. As a rule, users have so far developed the graphic interface for a static system and in such a case simply rotated the entire display by 180 degrees, i.e. mechanically. You may be able to do the rotation at driver level because some displays allow that. 

However, there is a thread here in the community in which a software solution with all its disadvantages has already been discussed.

Good luck!

Regards

/Peter

3 replies

Peter BENSCH
Peter BENSCHBest answer
Technical Moderator
April 25, 2022

Unfortunately, it is not yet possible to realise this in TouchGFX. As a rule, users have so far developed the graphic interface for a static system and in such a case simply rotated the entire display by 180 degrees, i.e. mechanically. You may be able to do the rotation at driver level because some displays allow that. 

However, there is a thread here in the community in which a software solution with all its disadvantages has already been discussed.

Good luck!

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
patrickschneider9
Associate III
April 25, 2022

Hello Peter,

thanks for pointing me to this thread!

MSale.1
Senior
August 29, 2023

@patrickschneider9 

The main problem in 90 degree rotation with DMA2D is that it lacks the ability to decrement the destination address. there is an optimized way to rotate an image 90 degree with much better performance compared to software version.

for 180 degree you can use MDMA. they have an example for it.

Regards

M.Salem