Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
puzrin opened this issue Oct 27, 2021 · 0 comments
Open

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

puzrin opened this issue Oct 27, 2021 · 0 comments

Comments

@puzrin
Copy link

puzrin commented Oct 27, 2021

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)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant