I’ve voltage dividers on the input of the AIN* with 68K-33K allow me the read 0-5v. When i measure the voltage on the inputs with a DVM of AIN0, AIN2 and AIN3 and all other ports the voltage will read forexample 1000mV, As soon I activate the AIN* ports with echo cape-bone-iio > /sys/devices/bone_capemgr./slots the voltages on AIN0 will change to about 1.23V and allmost zero on AIN 2 and 3 measuring with the DVM.
Reading the voltages with cat /sys/devices/ocp.2/helper.14/AIN (connecting same voltage 1000mV to all inputs) :
cat /sys/devices/ocp.2/helper.14/AIN*
1235
990
166
214
995
989
992
AIN0/2/3 give me strange readings, all other ports are doing fine.
Do i doing something wrong?, are ports AIN0/2/3 used for something else?
Thanks for the help
Nico
root@bb02:~# uname -a
Linux bb02.home.cuora.nl 3.8.13-bone20 #1 SMP Wed May 29 03:11:01 UTC 2013 armv7l GNU/Linux
root@bb02:~# cat /etc/os-release
PRETTY_NAME=“Debian GNU/Linux 7.0 (wheezy)”
NAME=“Debian GNU/Linux”
VERSION_ID=“7.0”
VERSION=“7.0 (wheezy)”
ID=debian
ANSI_COLOR=“1;31”
HOME_URL=“http://www.debian.org/”
SUPPORT_URL=“http://www.debian.org/support/”
BUG_REPORT_URL="http://bugs.debian.org/