Tool/software: Linux
Hi Ti,
I am trying to integrate a 4-wire resistive touch panel with my AM3358 custom board based on BBB.The board can boot up and Matrix-Gui launched successfully.
But I got a problem when I tried to calibrate the touch screen.I can see the cross on the screen after using weston-calibrator,however there's a wrong result after fininshing the calibration :
root@am335x-evm:/usr/bin# weston-calibrator
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
Calibration values: 0.000000 -388.560181 -nan 0.000000 -182.137589 -nan
The touch panel doesn't work. Testing with evtest showed that the the X-Y coordinates are now changed but the values looks not right.I have checked the connecting wires on touchscreen which is correct.Here is the relative node configuration in the dts file:
&tscadc {
status = "okay";
tsc {
ti,wires = <4>;
ti,x-plate-resistance = <610>;
ti,coordinate-readouts = <5>;
ti,wire-config = <0x00 0x11 0x22 0x33>;
};
adc {
ti,adc-channels = <4 5 6 7>;
};
};
The screen size is 10.1'.
The SDK version : ti-processor-sdk-linux-am335x-evm-04.00.00.04.
Any assistance will be grateful!
