Other Parts Discussed in Thread: ADS7846
Hi,
we are using an ADS7845 touch screen controller in our NXP iMX8MP board.
We are using Linux kernel version 5.15 with the in-tree ads7846 driver (which supports ADS7845 as well).
Driver source code is located in drivers/input/touchscreen/ads7846.c.
With some efforts we managed to get it working.
The problem is that, sometimes, the touch screen controller detects a "spurious" touch that is very far from the coordinates been actually touched.
This can produce very bad results (imagine that, for example, you have a push button at that point).
The problem is particularly visible when the touch pressure is low. If the surface is touched using heavy pressure there aren't any problems.
Using the software debounce filter is not helping here because (analyzing the touch coordinates produced by the controller) the spurious touch is not produced by a single touch but by a long series of wrong readings.
Are there any workarounds to avoid this problem?
Thanks
Best regards
Luca Ellero