TS-4100 ADC

From embeddedTS Manuals

This board supports two 12-bit, 0-3.3 V, ADC inputs using the i.MX6UL CPU's integrated ADC.

These ADCs are accessed through the Linux Industrial I/O Subsystem (IIO), which provides sample rates up to 6ksps across all inputs. The simplest API it offers for slow speed acquisition is via sysfs (/sys):

cat /sys/bus/iio/devices/iio:device0/in_voltage{1,9}_raw

The pin assignments and names for accessing each ADC input are:

Schematic Name i.MX6UL ADC Signal CN2 Terminal Pin IIO name
GPIO_1_ADC ADC1_IN1 12 voltage1
GPIO_9_ADC ADC1_IN9 91 voltage9