Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 148978

Forum Post: RE: let me ask how to use "generic_buffer" exactly in order for adc value(am335x)

$
0
0

i think you misunderstood whati i asked.

actually, i found the index of buffer,

have you acted generic_buffer program??

i let 2 channels(4, 5) enabled 

when i acted "./generic_buffer -n tiadc - l 120 -c 1, it prints 456 adc values by using printf in the program.

the login is included in the program how to get a value.

but i don't know which adc value is channel 4 and channel 5.

i know the index. index 0 is channel 4 and index 1 is chennel.

But i don't know how to catch exact adc value from same buffer.

all values is mixed. the program shows only values, not the value from where.

Do you understand what i have problem with it ?   :( 


Viewing all articles
Browse latest Browse all 148978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>