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.

Linux/AM3358: SDK 6.0 kernel 3.2 ADC

Part Number: AM3358


Tool/software: Linux

Hi all,

SDK:6.0

MCU:AM3358

I am using the AM335x SDK6.0 ,there is a question about the ADC. 8 channels in AM3358 ,refered the AM335x ADC Driver's Guide the ADC is run ,.

Data can print int the console by runing the generic_buffer(int the /diver/staging/iio/Document).

Now I have two question:

1   How can I get the data of different channel (I will use the AIN0 AIN2 AIN3) and know the data is from which channel.

2   When I compile the ti_adc into kernel ,there is not a node (/dev/iio:device0), but in the KO module ,the node is made. I have tried many times.

My company has using AM3358 for many years ,please give me some suggentions as soon as possible, especially the question one.

Thankyou !!!!