I’m entertaining a true rms computation on MSPM0G3507 for the 10Hz…100KHz range.
The MCU is limited to 32K RAM, so I’d change the sampling frequency if I can determine the signal is periodic and in the lower frequency range.
Is there any algorithm that aims capture N periods of a periodic signal?
Should I be better of by going into frequency domain with a proper window function, and possibly trying multiple sampling rates to choose the proper range?