FAQ_MA35_Family_Big Size Resistive Touch Accuracy

Post Reply
ytliu6
Posts: 95
Joined: 08 Nov 2022, 10:28

23 Apr 2024, 15:24

If you use a larger-sized touch screen, you may notice that the touch position is less accurate due to the higher resistance of larger resistive touch screens. To address this issue, it's necessary to reduce the ADC clock speed, allowing the ADC voltage sufficient time to charge.

Change the ADC0 clock rate in the device tree source (DTS) file you are working with. The default value is set at 20,000 Hz.

ma35d1-som-256.dts

Code: Select all

&adc0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_adc0>;
     clock-rate = <100000>;
};
#MA35 #Resistive Touch #Touch

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests