cancel
Showing results for 
Search instead for 
Did you mean: 

Rotate screen 180 degrees

cb.7
Associate III

I would like to rotate my screen 180 degrees, I know that Touchgfx does not support this option but it is possible to do so by modifying the internal registers of the display controller.
In my case the display has a resolution of 480x272 and the controller is an HX8247-A and I only have the RGB interface available, I do not have access to the pins for screen rotation but I saw that I have to set the UD and LR bits of the 'Driver Data Control' register to a low level.
Do you think it is possible to modify the internal registers via the LTDC peripheral of the microcontroller (STM32H7)?
Thanks

1 REPLY 1
SofLit
ST Employee

Hello,

Check if these threads can help you:

https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/touchgfx-screen-rotation-180-degrees/td-p/313897

https://community.st.com/t5/stm32-mcus-touchgfx-and-gui/i-want-to-rotate-screen-90-degree-in-touchgfx/td-p/97787

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.
PS:
1 - This is NOT an online support (https://ols.st.com) but a collaborative space.
2 - Please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help.