There is a part in the driver (ti_am335x_tsc.c):

    config = STEPCONFIG_MODE_HWSYNC |
            STEPCONFIG_AVG_16 | ts_dev->bit_yp |
            ts_dev->bit_xn | STEPCONFIG_INM_ADCREFM |
            STEPCONFIG_INP(ts_dev->inp_xp);
    titsc_writel(ts_dev, REG_STEPCONFIG(end_step), config);
    titsc_writel(ts_dev, REG_STEPDELAY(end_step),
            STEPCONFIG_OPENDLY);

    end_step++;
*    config |= STEPCONFIG_INP(ts_dev->inp_yn);*

There is possible bug, with using "OR". It does not show up when XP -> AN0 
and YN -> AN3 because 0 is ORed to 3 (fortunately). With other X/Y plate 
connections, z2 might be totally wrong. 

Regards, 
Piotr.



  


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to