cancel
Showing results for 
Search instead for 
Did you mean: 

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?

FFont.18
Associate II

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

1 REPLY 1
FFont.18
Associate II

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