4DCAPE-70T display blocks all analog inputs

When the 4DCAPE-70T display is connected to BBB, ALL the analog inputs are made unavailable, even thought the 4DCAPE-70T documentation claims that only ain 0-3 are used.

The 4DCAPE-70T uses the same driver as the LCD7 Cape from Circuitco.

Has anyone figured out how to access the analog inputs 4, 5, 6 that are supposedly unused?

Hi,

Has anyone figured out how to access the analog inputs 4, 5, 6 that are
supposedly unused?

I am using the 4DCAPE-70T.

What do you have in /sys/devices/ocp.3/44e0d000.tscadc/tiadc/iio:device0 ?

I see:
in_voltage4_raw
in_voltage5_raw
in_voltage6_raw
in_voltage7_raw

Everytime I cat these files, their values change:

debian@hmi2:/sys/devices/ocp.3/44e0d000.tscadc/tiadc/iio:device0$ cat
in_voltage*
531
1472
2069
3812
debian@hmi2:/sys/devices/ocp.3/44e0d000.tscadc/tiadc/iio:device0$ cat
in_voltage*
448
1289
2067
3824

Cheers,

Alex

Hi,

if it claims to use the same driver as Circuitco, it will depends on which version.
The LCD7 rev A3 seems to use i2c, and rev A3 uses adc chanels 4-5-6-7 as per dts:
adc {
ti,adc-channels = <4 5 6 7>;
};

You should be able to use chans 0 to 3.

Cedric