Thanks for the suggestion. I'll keep that in mind if I need higher sampling rates. However, I did find a way to read ADC through IIO so that it doesn't hang.
First set up the channels and the buffer through sysfs: echo 1 > /sys/bus/iio/devices/iio\:device0/scan_elements/in_voltage0_en echo 256 > /sys/bus/iio/devices/iio\:device0/buffer/length echo 1 > /sys/bus/iio/devices/iio\:device0/buffer/enable and then read from /dev/iio:device0. This way I can achieve about 8 kHz sampling rate with a single channel, 4 kHz with two channels and down to ~300 Hz with all eight channels. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
