Re: [Freetel-codec2] Codec2 in real time on STM32

2023-12-11 Thread Don Reid
That looks like really old code from before we added 700 support to the SM1000 Don - W7DMR On 12/10/23 14:59, Mooneer Salem wrote: 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://gi

Re: [Freetel-codec2] Codec2 in real time on STM32

2023-12-10 Thread Mooneer Salem
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 wrote: > Hi, > I've progres

Re: [Freetel-codec2] Codec2 in real time on STM32

2023-12-10 Thread Jan Ropek
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 ode

Re: [Freetel-codec2] Codec2 in real time on STM32

2023-11-20 Thread glen english LIST
Hi Jan Just adding to the other two very good replies My experience with codec2 with STM32F4/F7 At O0, the performance may be down to 50% of -O2, and also, with O0, its likely the compiler is not exploiting any hardware speedups as with GCC there are some (invisible)  ties between -O level, a

Re: [Freetel-codec2] Codec2 in real time on STM32

2023-11-20 Thread david
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

Re: [Freetel-codec2] Codec2 in real time on STM32

2023-11-20 Thread Mooneer Salem
Hi Jan, In the Codec2 library, there are some flags that are turned on in order to get it to function on the SM1000 (which also uses a STM32F4 series MCU). You can find out more at https://github.com/drowe67/codec2/blob/main/stm32/CMakeLists.txt but the important ones are as follows: add_definiti