VAR-SOM-MX7 ADC

From Variscite Wiki
Revision as of 18:45, 6 June 2023 by Alex (talk | contribs) (Add category Debian)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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