hi,
we found that the config of 4-wires and 8-wires is exactly the same:(in ti_tscadc.c fun tsc_step_config) BSP-04.06.00.08
switch (ts_dev->wires) {
case 4:
stepconfigx |= TSCADC_STEPCONFIG_INP |
TSCADC_STEPCONFIG_XNN;
break;
case 5:
stepconfigx |= TSCADC_STEPCONFIG_YNN |
TSCADC_STEPCONFIG_INP_5 | TSCADC_STEPCONFIG_XNN |
TSCADC_STEPCONFIG_YPP;
break;
case 8:
stepconfigx |= TSCADC_STEPCONFIG_INP |
TSCADC_STEPCONFIG_XNN;
break;
}
...
switch (ts_dev->wires) {
case 4:
stepconfigy |= TSCADC_STEPCONFIG_YPP;
break;
case 5:
stepconfigy |= TSCADC_STEPCONFIG_XPP | TSCADC_STEPCONFIG_INP_5 |
TSCADC_STEPCONFIG_XNP | TSCADC_STEPCONFIG_YPN;
break;
case 8:
stepconfigy |= TSCADC_STEPCONFIG_YPP;
break;
}
is it correct that the config is same?
in our board, we want to use 4-wire tsc and other 4 ADC channels. but now we detected that the other 4 ADC channels has some power pluse