@RobertCNelson I found BB-ADC-00A0.dts in
debian@beaglebone:/opt/source/bb.org-overlays/src/arm$
So if I wanted it to average 4 reads on channels 0, 1, 2 then I would change the line
ti,chan-step-avg = <16 16 16 16 16 16 16 16>;
to
ti,chan-step-avg = <4 4 4 16 16 16 16 16>;
save; make; sudo make install?
Also, the file is a little confusing. The one you referenced above has these lines…
Configure one or more (up to 8) steps for the adc to execute:
// For each step, the channel to sample.
// range: 0 .. 7
ti,adc-channels = <0 1 2 3 4 5 6 7>;
The ADC has 8 analog channels but the ability to have 16 steps.
So does ti,adc-channels = <0 1 2 3 4 5 6 7> just set up the 8 analog channels or is it relating a channel to 8 steps. For example, if I wanted to assign analog channel 1 to steps 0, 5 and 10 ( I don’t but bare with me) how would that be done? And if I only want three steps to execute, how is that done in this file?