hardware FFT on the esp32



  • I noticed that some stm32 have very accelerated FFT and even the Klei library has one included. I was wondering if the esp32 had something good, (Arduino FFT doesn't count)



  • Interesting point : never thought about that since using Motorola (yes, long time ago) and TI DSP with ASM programming for folding memory pages by microcode for FFT.
    What are you trying to do? Audio analysis or lower / higher frequencies?



  • @m5mpy microcode is very low level, I like how these MCU bring back old memories and old hacks like I used to do on Amiga. And how in general they force into better programming habits.
    So what I'm trying to do is general purpose signal camera. At the moment, a sound camera will do. From what I was told on eevblog, I need one FFT per microphone to calculate inter-mic delay. So far Arduino FFT switched to uint32 (faster on esp32 than uin8 I'm told) I'm getting 512 bins at 12 ms, which is't very zippy as I'll need 4 cameras at least. Not that big a deal because I don't need 60fps refresh but ... well, that would be nice :D
    As for the frequency, at the moment I'm interested in detecting the origin of low frequency sound as they're notoriously difficult to locate by ear. Eventually I'd like to expand into an EMF camera.