cancel
Showing results for 
Search instead for 
Did you mean: 

Resistive touch calibration

sanjeev majumdar
Associate III

HI,

I have a stm32f769 custom board having 800*480 resolution RGB LCD. i am using tsc2003 touchscreen driver. i am able to port touchgfx and coulkd generate screens which are getting displayed without any issue. now i am trying to configure the touchscreen driver. i am getting the raw adc values using my driver and able to poll them in sampletouch(). Now i need to calibrate the touch and i used the touchcalibration class methods namely setCalibrationMatrix(). I provided the necessary lcd calib points and raw touch values to set the matrix but i could see the y axis values are coming reverse after calling translatePoint(). Can you please assist me to resolve the same. i have provided proper lcd calib points as well as touch points as per the general rule of /* 10%, 10% */ - /* 90%, 50% */ - /* 50%, 90% */ but always the y axis has issue.

i am using 4.12.3 version of touchgfx came with stm32cubemx 5.5 ()

10 REPLIES 10

I responded in more detail in your other post :)