Skip to main content
Juan Delgado
Associate II
April 9, 2020
Solved

Change the pixel (0,0)

  • April 9, 2020
  • 5 replies
  • 1585 views

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,

This topic has been closed for replies.
Best answer by Juan Delgado

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

5 replies

Martin KJELDSEN
Principal III
April 9, 2020

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

Juan Delgado
Associate II
April 9, 2020

It is a STM32F746G MCU and the display is DET043WVNMCMIS-4A using the ILI9806E TFT driver IC

Martin KJELDSEN
Principal III
April 9, 2020

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.

Juan Delgado
Associate II
April 9, 2020

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?

Juan Delgado
Juan DelgadoAuthorBest answer
Associate II
April 9, 2020

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