2020-04-09 01:49 AM
Hello,
I developed an application in touchgfx and it is working perfectly.
It is 480x800 resolution and the display is oriented in landscape mode.
When I installed the display in the device I realize that the base only fits in one way and therefore the screen is displayed backwards.
The base of the device where I am going to install the display cannot be changed, so I need help to know how to put the pixel (0,0) in the opposite corner to the one that is now and thus be able to view the app correctly.
***************************************************
*=================================================*
*=================================================*
*=================================================*
*=================================================*
*=================================================*
*===============================pixel(0,0) actual *
***************************************************
**************************************************
* pixel(0,0) desired==============================*
*=================================================*
*=================================================*
*=================================================*
*=================================================*
*=================================================*
***************************************************
Thank you,
Solved! Go to Solution.
2020-04-09 06:06 AM
The display orientation problem was solved by implementing the page 0 command set of the ILI9806E IC driver.
Specifically the command is:
Display Access Control (36h)
This solution is efficient and does not require processing overhead in the MCU.
I hope this help you community!
Bests
2020-04-09 01:57 AM
Which MCU is this? Maybe it's psosible for you to configure the display to do this - It's not something TouchGFX can help you do effeciently. It's possible to create a widget that sits on top of everything and swaps the pixels but this is very ineffecient.
/Martin
2020-04-09 02:02 AM
It is a STM32F746G MCU and the display is DET043WVNMCMIS-4A using the ILI9806E TFT driver IC
2020-04-09 02:22 AM
What do you think about the other parts of my answer? Can you configure the display? Would you be satisfied with an inefficient solution? etc.
2020-04-09 02:47 AM
I am reading the display commands and I think that it can be set by it.
I would like an inefficient solution while prototyping and read the display driver documentation next.
How can I create the widget sits on top of everything?
2020-04-09 06:06 AM
The display orientation problem was solved by implementing the page 0 command set of the ILI9806E IC driver.
Specifically the command is:
Display Access Control (36h)
This solution is efficient and does not require processing overhead in the MCU.
I hope this help you community!
Bests