VAR-SOM-MX7 ADC

From Variscite Wiki
Revision as of 15:13, 22 September 2016 by Eran (talk | contribs)
VAR-SOM-MX7 - ADC

ADC2 has 4 channels connected to pins 2, 4, 6, 8 on the J10 connector.
It is limited to 1.8V (this is a limitation of the iMX7 SoC).
To read their values:

# cd /sys/bus/iio/devices/iio:device1
# cat in_voltage[0-3]_raw