Other Parts Discussed in Thread: SYSBIOS, AM4372,
Tool/software: Linux
hi
we have a custom board and we are trying to connect a resistive touch screen to ACD0.
out linux kernel is 4.3.0.5
here is the quick schematic:
here is the section in the dts file (which is purely a guess, i have never set this up before):
&tscadc {
status = "okay";
compatible = "ti,am3359-tscadc";
tsc {
ti,wires = <4>;
ti,x-plate-resistance = <600>;
ti,coordinate-readouts = <5>;
ti,wire-config = <0x00 0x13 0x21 0x32>;
ti,charge-delay = <0x700>;
ti,alt_pins_conf;
};
adc {
ti,adc-channels = <0 1 2 3>;
ti,chan-step-opendelay = <0x098 0x3ffff 0x098 0x0>;
ti,chan-step-sampledelay = <0xff 0x0 0xf 0x0>;
ti,chan-step-avg = <16 2 4 8>;
};
};
our touch screen is an elpa, here is the datsheet:
when the kernel loads i see
[ 14.923063] input: ti-tsc as /devices/platform/44000000.ocp/44e0d000.tscadc/TI-am335x-tsc/input/input1
but when the matrix program loads there is no reaction to a touch event and since i have never calibrated the touch screen i would imagine that would be one of the first things it does but it doesn't. when i touch the panel nothing happens.
help?