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.

beaglebone black 配置ADC用于触摸屏



前提:

SDK版本:ti-processor-sdk-linux-am335x-evm-04.03.00.05-Linux-x86-Install.bin
硬件:BBB板REVC+4.3寸电阻触摸屏

硬件连接:
Y- ----> AIN3
Y+ ----> AIN2
X- ----> AIN1
X+ ----> AIN0

设备树配置:
tscadc {
compatible = "ti,am3359-tscadc";
status = "okay";

tsc {
ti,wires = <4>;
ti,x-plate-resistance = <200>;
ti,coordinate-readouts = <5>;
ti,wire-config = <0x00 0x11 0x22 0x33>;
ti,charge-delay = <0x400>;
};

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>;
};
};

参考了这篇文章配置内核:processors.wiki.ti.com/.../AM335x_Touchscreen_Driver's_Guide

运行官方的matirx APP,触摸不能用。。。。  应该怎么测试,或者现场的官方文档?

谢谢!