This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

why ADC fails working?

dear,

my work is to make ADC work in 8 general purpose ADC channels,but fail.

I have done according to tips in the AM335x ADC Driver's Guide, and the link is below:

http://processors.wiki.ti.com/index.php/AM335x_ADC_Driver's_Guide

unfortunately, debug result  is beyond my mind. the debug steps and results is below.

1, I have started ADC driver ti_adc.ko and find the director of "sys/bus/iio:device/in_voltage4_raw ...." , and the operation is successful to "sys/bus/iio:device/scan_elements/in_voltage4_en" and "sys/../mode" and so on .

the display of director is below:

buffer         in_voltage2_raw        in_voltage6_raw          power
dev         in_voltage3_raw        in_voltage7_raw          scan_elements
in_voltage0_raw                  in_voltage4_raw            mode                  subsystem
in_voltage1_raw               in_voltage5_raw             name                 uevent

it seems that the ADC driver ti_adc.ko run ok.

then I run the APP  /usr/generic_buffer -n tiadc -l 256 -c 3.

it spits out information like this:

iio device number being used is 0

Failed to find the trigger tiadc-dev0

what happens to this ? ths.