2026-02-16 1:41 AM
Hello...
I wish to setup ADC oversampler but seems that i really dont understand if its capable to do what i want. this is what i wish to got:
ADC triggered
Sample adc0, 1 of 4 in oversampler
Sample adc1, 1 of 4 in oversampler
ADC triggered
Sample adc0, 2 of 4 in oversampler
Sample adc1, 2 of 4 in oversampler
ADC triggered
Sample adc0, 3 of 4 in oversampler
Sample adc1, 3 of 4 in oversampler
ADC triggered
Sample adc0, 4 of 4 in oversampler -> result to dma
Sample adc1, 4 of 4 in oversampler -> result to dma
next loop:
ADC triggered
Sample adc0, 1 of 4 in oversampler
Sample adc1, 1 of 4 in oversampler
ADC triggered
Sample adc0, 2 of 4 in oversampler
Sample adc1, 2 of 4 in oversampler
ADC triggered
Sample adc0, 3 of 4 in oversampler
Sample adc1, 3 of 4 in oversampler
ADC triggered
Sample adc0, 4 of 4 in oversampler -> result to dma
Sample adc1, 4 of 4 in oversampler -> result to dma
But whatever i try i fail. There is no clear statement if oversampler does that per adc channel, or it need to be locked whole time on single adc channel (cant oversample interleaced chanels)
Solved! Go to Solution.
2026-02-16 5:57 AM
The hardware oversampler is not able to do a scheme like this. There is a single DR data register for all channels, not one for each. It fully samples one channel before moving on. You will need to implement oversampling in software.
2026-02-16 5:57 AM
The hardware oversampler is not able to do a scheme like this. There is a single DR data register for all channels, not one for each. It fully samples one channel before moving on. You will need to implement oversampling in software.
2026-02-16 8:40 AM
Thanks, sadly already discovered that probably only one accumulator is present.