cancel
Showing results for 
Search instead for 
Did you mean: 

Change the pixel (0,0)

Juan Delgado
Associate III

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,

1 ACCEPTED SOLUTION

Accepted Solutions
Juan Delgado
Associate III

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

View solution in original post

5 REPLIES 5
Martin KJELDSEN
Chief III

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 III

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

Martin KJELDSEN
Chief III

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 III

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
Associate III

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