Has anyone managed to program a touchscreen with a CST816S touchscreen controller so that the interrupt pin TP_INT goes low ONLY when a gesture is detected? Currently this pin goes low whenever I touch the touchscreen regardless of whether a gesture is detected.
I’ve tried writing numerous values to the register 0xFA but this has not changed how the interrupt pin operates. This register is IrqCt1 according to the register declaration document downloaded from this website:
Some of the other registers do work (for example writing to IrqPluseWidth (0xED) does change the width of the low pulse on the interrupt pin when the screen is touched).
Unfortunately there’s discrepancies throughout the register list including for the IrqCt1 register and in general the registers are poorly explained.
The CST816S chip on my Waveshare 1.28" Touch LCD has the following details:
chip ID - 181 (from register 0xA7)
project ID - 56 (from register 0xA8)
firmware version - 1 (from register 0xA9)
Let me know if it’s helpful and I’ll post the code.
Thanks,
James