Skip to main content
Associate
February 16, 2026
Solved

G071RB oversampler

  • February 16, 2026
  • 1 reply
  • 137 views

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)

 

Best answer by TDK

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.

 

1 reply

TDK
TDKBest answer
Super User
February 16, 2026

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.

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
eslavkoAuthor
Associate
February 16, 2026

Thanks, sadly already discovered that probably only one accumulator is present.