cancel
Showing results for 
Search instead for 
Did you mean: 

What FMAC can do?

HDaji.1
Senior

I want to do averaging, and finding peak value of about 1k ADC readings. I wonder if I can use FMAC to do it to offload MCU .

2 REPLIES 2

Which STM32?

FIR with coefficients all 1/N is a sliding average. You can make simple average from sliding average by simply throwing away N-1 results and using only Nth; and then average M such results to get average of MxN, but given the rather limited output range of the FMAC, at 1k samples the resolution loss would be probably unacceptable.

I don't see any way to find maximum/minimum ("peak") using FIR or IIR.

JW

HDaji.1
Senior

I am using G4 chip, developing with Nucleo-G431RB board.

It seems CORDIC is also not able to help.