Problem Using greater than 4096 samples for FFT using MichielfromNL's FFT library

I want frequency spectrum of my live data and for that I am using MichielfromNL's FFT Library on GitHub: Turned your code into a Class / library · Issue #1 · yash-sanghvi/ESP32 · GitHub
When I give samples greater than 4096, I always get core dumped error. I am using ESP32-WROVER and its PSRAM for allocating arrays.
I can highlight the error:

Please post you sketch here, using code tags when you do. Errors are also more convenient to read if copied to the clipboard and posted here in code tags rather than posting screenshots

May be this will be useful for you

Probably memory issue?
As I remember, the samples number must be power of two for FFT, so "greater than 4096" means 8192. Thus, sketch memory increases twice...

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.