Skip to main content
Associate III
Question

TouchGFX touch coordinate mismatch on STM32H7B3 hardware

Hello ST Community,

I am using STM32H7B3 + TouchGFX + 7-inch 800×480 TFT with GT911/GT9111 touch controller.

In the TouchGFX PC simulator, all buttons and toggle switches work correctly. But after flashing to hardware:

  • TFT display is working properly.
  • Touch is detected.
  • Actual touch point and detected touch point are different.
  • Touch is detected on the same horizontal line, but the vertical coordinate is shifted/wrong.

I want to know the correct solution for touch coordinate mapping/calibration. Should this correction be done.

 

Please guide me on the correct method for touch calibration and hardware control/status display in TouchGFX.

Thank you.

    1 reply

    Osman SOYKURT
    ST Technical Moderator

    Hello ​@vijayajangam ,

    Which version of TouchGFX do you use? Which version of the firmware do you use (STM32Cube_FW_H7_VX.XX.X)?
    Could you share what you do in your sampleTouch() function?

    ST Software Developer | TouchGFX