Hello, my goal was to get Codec2 (encoding and decoding) working on STM32F446 running on 180MHz. So, I created a new project for Nucleo with F446RE and added Codec2 libraries to it. I compile with GCC (using STM32CubeIDE - based on Eclipse).
I have GCC optimization turned off and encoding and decoding works, but the problem is that encoding one 40ms frame (320 B) takes about 47 ms, so I am not able to use Codec2 in real-time. So, I am asking whether my requirements are unrealistic, or have I implemented Codec2 incorrectly? - I tried comparing CMSIS FFT and KISS FFT, it takes roughly the same time. - When I turned on GCC optimization to O1 - encoding sped up to about 15 ms, but during decoding, a HardFault always occurred. Can you please suggest what I might be doing wrong? Many thanks! Best regards, Jan.
_______________________________________________ Freetel-codec2 mailing list Freetel-codec2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freetel-codec2