2019-05-25 09:12 PM
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)
2019-05-25 09:47 PM
Some STM32 can plumb the ADC stream to DFSDM.
Some STM32 seems to have FMAC, maybe with DMA+ADC...
2019-05-26 01:40 AM
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