Hi,
I am currently working on 5 wire resistive touchscreen on customer's AM335x platform. Both Linux SDK 05.07 and 06.00 were tested. the associated SW changes were done in "board-am335xevm.c". As below:
* TSc controller */
static struct tsc_data am335x_touchscreen_data = {
.wires = 5,
.x_plate_resistance = 200,
.steps_to_configure = 5,
};
static struct adc_data am335x_adc_data = {
.adc_channels = 3,
};
Apart from the above, I had also found a touch screen issue in AM335x's errata. the work around given is to set the "charge config" to same as "idle config". This is also done in the file "ti_tsc.c"
With the changes done on both "board-am335xevm.c" and "ti_tsc.c", TI's "evtest" utility is used to test the touchscreen. From the log output from "evtest", I see a continuous data/interrupt (with pretty much same values) without pressing the touch screen.
Anyone seen this issue before?
Regards,