Hi Jan, Can you confirm which version of Codec2 that you're using? I was trying to find where that code is and it doesn't appear to be in the latest ( https://github.com/drowe67/codec2/tree/main/src).
Thanks, -Mooneer K6AQ On Sun, Dec 10, 2023 at 12:56 PM Jan Ropek <ropek...@gmail.com> wrote: > Hi, > I've progressed and the Codec 2 on STM32F4 already works somehow. Now I > wanted to use mode 700 b/sec, but found this *#ifndef*: I can see > CORTEX_M4 can not be defined - I am not able to run MODE_700 on STM32? Or > what should I do? thank you. Jan. > [image: image.png] > > > > po 20. 11. 2023 v 21:27 odesílatel david <da...@rowetel.com> napsal: > >> Hi Jan, >> >> We run Codec 2 half duplex (along with a bunch of other modem and FEC >> code) on a 180 MHz stm32 and it works just fine in real time. So your >> expectations are quite realistic. >> >> The build system we use for the stm32 is in >> codec2/stm32/CMakeLists.txt, including C compiler flags (looks like we >> use -O3). We also use -O2 and -O3 on the build system for larger >> machines and don't have any problems. >> >> So it's probably some sort of configuration issue on your build system. >> A good approach is to start with something that works (e.g. our stm32 >> build system), then maybe move to the IDE. >> >> - David >> >> On Mon, 2023-11-20 at 14:21 +0100, Jan Ropek wrote: >> > 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 >> >> >> >> _______________________________________________ >> Freetel-codec2 mailing list >> Freetel-codec2@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/freetel-codec2 >> > _______________________________________________ > Freetel-codec2 mailing list > Freetel-codec2@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freetel-codec2 >
_______________________________________________ Freetel-codec2 mailing list Freetel-codec2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freetel-codec2