VAR-SOM-MX7 ADC: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{PageHeader|VAR-SOM-MX7 - ADC}} {{DocImage|category1=VAR-SOM-MX7|category2=Yocto}} __toc__ | {{PageHeader|VAR-SOM-MX7 - ADC}} {{DocImage|category1=VAR-SOM-MX7|category2=Yocto}} __toc__ | ||
ADC2 has 4 channels connected to pins 2, 4, 6, 8 on the J10 connector.<br> | ADC2 has 4 channels connected to pins 2, 4, 6, 8 on the J10 connector.<br> | ||
It is limited to '''1.8V''' ( | It is limited to '''1.8V''' (this is a limitation of the iMX7 SoC).<br> | ||
To read their values: | To read their values: | ||
<pre> | <pre> |
Revision as of 15:13, 22 September 2016
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