Hi Ricardo,
The test procedure for the ADC module can be found on Chapter 56 “ADC Driver” of “i.MX 6 Linux Reference Manual” (attached here). Although it is mentioned that only single conversion is supported (by the driver), it is also mentioned that the sample rate could be configured.
Additionally, in case that you have troubles for the interface to appear in /sys/devices/… , please make sure to enable the adc1 node in the dts file you are using. For a reference, take a look at arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2-adc.dts:
&adc1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_adc1>;
vref-supply = <®_vref_3v3>;
status = "okay";
};
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------