Display touch issue FT7311
I bought NHD-43-800480EZ-ASXP-CTP display for my application. I connected the i2c interface of FT7311 with Teensy 4.1. I can read/write its register values. When I try to get touch point for TOUCH1 coordinates it always gives (255,4095) no matter where I touch. On the other hand if I try to read from TOUCH10 it throws some random values which changes as I move my finger on panel.
Connections are correct as I can read at 0x02h which tells touch count and other registers also.
Here 4.7k resistors are used for i2c pullup.
I am expecting the touch point values as follows: X = {0,800}, Y = {0,480}. Am I correct?
Following is the product link.
https://newhavendisplay.com/4-3-inch-ips-ez-grip-capacitive-tft/
Please help me.
-
Hi,
Thank you for your question, we are happy that you were able to resolve your issue over email.
The expected touch point values listed for X and Y are correct when functioning properly.
When the touch registers are being set to the maximum values X = (0 or 255), Y = (0 or 4095), it indicates that the register data is not being properly received. In this case, a shifting error in the code regarding the most significant bits of X & Y Touch points was the cause of the problem.
0
Please sign in to leave a comment.
Comments
1 comment