cancel
Showing results for 
Search instead for 
Did you mean: 

How to interface TSC2007 touch controller

radioman
Associate II

I am integrating a TSC2007 touch controller on a Nucleo H7A3 board. I have created a simple test screen with TouchGFX. I also created a driver that senses touch from the TSC2007 via a GPIO pin and added the X and Y state values to the STM32TouchController:sampleTouch function. When the display button is touched it calls the sampleTouch function but hangs there. If I put a break in that function and then run after the button tap it works as expected. I think it has to do with the touch detect pin being active before the first detect is finished processing. Is there a way to check that the first button tap has been processed before enabling the touch sense again?

0 REPLIES 0