Other Parts Discussed in Thread: AM4379
Hi,
We connect touchscreen 5 pins to AM4379 ADC0 5 input channels as following:
AIN0-XP, AIN1-XN, AIN2-YP, AIN3-YN, AIN4-WIPER
Then modified tscadc in DT file as:
&tscadc {
status = "okay";
tsc {
ti,wires = <5>;
ti,x-plate-resistance = <80000>;
ti,coordinate-readouts = <5>;
ti,wire-config = <0x00 0x11 0x22 0x33>;
ti,charge-delay = <0xf000000>;
};
adc {
ti,adc-channels = <5 6 7>;
};
};
When click the screen, the cursor position can move following the click with ts_test. but it can sometimes give a false cursor position except the click position(one click, give two positions, as if quickly click two times).
If click the screen quickly , it give the false position more often. It appear about 1 false position every 40 times click under normal click operation with above tscadc setting.
We change the x-plate-resistance from 300 to 100000 and chrge-delay from 800 to f00000, but we can not get a desired result.
We test the touchscren with USB driver, it is stable..
Our SDK is sdk-05.01.00.11. linux version is 4.14.67,
Best Regards,
Dudechao