Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

PROCESSOR-SDK-AM335X: ADC buffer enable fails

$
0
0

Part Number:PROCESSOR-SDK-AM335X

To enable continuous mode adc in AM3354BZCZ80  I tried to do the following

echo 1 > /sys/bus/iio/devices/iio\:device0/scan_elements/in_voltage7_en

echo 100 > /sys/bus/iio/devices/iio\:device0/buffer/length

echo 1 > /sys/bus/iio/devices/iio\:device0/buffer/enable

But the third command threw an error as    buffer not started buffer parameter update failed (-22)

 

How can this error be solved? The driver included is TI's AM335X ADC driver


Viewing all articles
Browse latest Browse all 262198