Tool/software:
Dear TI,
I am trying to read data from the TI-am335x-adc by using libiio but I always get a timeout error (-110). The same is true if i use the program iio_readdev.
The device is shown in my sysfs and I can read some data there:
cat /sys/bus/iio/devices/iio:device0/in_voltage4_raw
1397
But when using libiio in c or the tool iio_readdev, I get this error:
iio_readdev --samples 1 iio:device0 voltage4
WARNING: High-speed mode not enabled
Unable to refill buffer: Connection timed out (110)
After trying that command, the interrupts for the device get increased:
cat /proc/interrupts
...
264: 19337 0 0 0 GICv3 892 Level TI-am335x-adc.0.auto
...
The device tree is configured like this:
&tscadc0 {
What could I do next to figure out the solution for this problem?
Thanks and regards
igmogo