cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way to accumulate (summation/integration) ADC results using DMA or similar?

norlesh
Associate III

I am collecting a stream of ADC samples that are being integrated (added together and multiplied by the time period) at regular intervals during an ISR but was hoping there may be a way to offload this so I could just read and reset the accumulated value during the ISR... Or is this just wishful thinking?

(i'm using a STM32F446 but assume the answer will apply across the range)

2 REPLIES 2
S.Ma
Principal

Some STM32 can plumb the ADC stream to DFSDM.

Some STM32 seems to have FMAC, maybe with DMA+ADC...

There's no such hardware in STM32F446.

Some other STM32 families (e.g. the 'L4) have so called oversampling mode in ADC, which adds up N samples.

JW