Other Parts Discussed in Thread: TSC2046, ADS7846
Tool/software:
Hi Expert,
Linux version: 5.10.184-cip36-yocto-standard
When a customer uses tsc2046, it needs to be pressed very hard to get a response.
Is there anything that can be adjusted?
Device tree setting:
&spi2 {
pinctrl-0 = <&rspi2_pins>;
pinctrl-names = "default";
status = "okay";
ads7846@0 {
compatible = "ti,ads7846";
vcc-supply = <®_3p3v>;
reg = <0>; /* CS0 */
spi-max-frequency = <1000000>;
interrupt-parent = <&pinctrl>;
interrupts = <RZG2L_GPIO(9, 3) IRQ_TYPE_LEVEL_LOW>;
pendown-gpio = <&pinctrl RZG2L_GPIO(9, 3) GPIO_ACTIVE_HIGH>;
ti,x-min = /bits/ 16 <0x0>;
ti,x-max = /bits/ 16 <0x0fff>;
ti,y-min = /bits/ 16 <0x0>;
ti,y-max = /bits/ 16 <0x0fff>;
ti,x-plate-ohms = /bits/ 16 <180>;
ti,pressure-max = /bits/ 16 <150>;
ti,debounce-max = /bits/ 16 <10>;
ti,debounce-tol = /bits/ 16 <15>;
ti,debounce-rep = /bits/ 16 <1>;
ti,keep-vref-on = /bits/ 16 <1>;
ti,vref-delay-usecs = /bits/ 16 <100>;
ti,vref-mv = /bits/ 16 <5000>;
ti,settle-delay-usec = /bits/ 16 <100>;
ti,penirq-recheck-delay-usecs = /bits/ 16 <100>;
wakeup-source;
};
};
Thanks
Daniel