SYLT-FFT icon indicating copy to clipboard operation
SYLT-FFT copied to clipboard

[doc] How to upscale FFT input and avoid overflow?

Open puzrin opened this issue 3 years ago • 0 comments

Typical use case is to apply fft_fft() to ADC samples (8-12 bits). User should upscale input as much as possible, but avoid saturation/overflow.

CMSIS DSP uses Q31 input and downscale result automatically. As far as i understand, SYLT-FFT don't downscale result (to improve performance), and user should select proper input scale manually.

Is there a clear formula/table, how to select maximal possible input scale for concrete fft sizes (32-4096)?

puzrin avatar Oct 27 '21 10:10 puzrin