This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

5 wire resistive touchscreen on AM335x

Other Parts Discussed in Thread: AM3358, TMDXEVM3358

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,