Skip to main content
FFont.18
Associate II
February 20, 2019
Question

I am developping a GUI with STM32F746G-DISCO. How can I get the information of the position where the interruption occured when the user touches the screen?

  • February 20, 2019
  • 1 reply
  • 649 views

Also, what position does the LTDC current position status register (LTDC_CPSR) return? Is it the position of the touch interrupt?

This topic has been closed for replies.

1 reply

FFont.18
FFont.18Author
Associate II
February 21, 2019

Answer if someone needs it: LTDC_CPSR register has no link with position of touch interrupt. In order to find touch position, you need to read the I2C memory of the touch screen pannel (http://www.newhavendisplay.com/app_notes/FT5x06_registers.pdf). Using peripheral I2C3 of uC. Default device adress is 0x70. Interesting registers for position are 0x3:0x6