Use https://github.com/drowe67/codec2

On the SM1000 we also place constant tables in flash, so they won't be
loaded into RAM.

The SM1000 actually runs the full FreeDV stack - so there is a modem and
FEC in there too, plus speech I/O drivers with large buffers.  If you
just want the speech codec, I'd guess < 64k run time RAM, although I
haven't measured it stand alone.

- David

On 3/11/19 8:54 am, Don wrote:
> The CPU on the SM1000 is an STM32F405 with 192k of SRAM.
> 
> It will not hold a full Codec2 build with all of the modes enabled!
> If you look at stm32/CMakeLists.txt in tge source you will see this:
> 
> add_definitions(-DFREEDV_MODE_EN_DEFAULT=0 -DFREEDV_MODE_1600_EN=1 
> -DFREEDV_MODE_700D_EN=1 -DCODEC2_MODE_EN_DEFAULT=0 -DCODEC2_MODE_1300_EN=1 
> -DCODEC2_MODE_700C_EN=1)
> 
> which disables all of the modes except 1600 and 700D.
> 
> Don
> 
> 
> On Sat, Nov 02, 2019 at 03:12:24PM -0700, Sam Shoja wrote:
>> Dear Ammar,
>>
>> Codec2 in the project SM1000 is implemented on STM32F MCU family, which
>> have between 96KB and 386KB of Ram and CPU clock of 96MHz to 180MHz.
>> The question can be, does SM1000 have external RAM? If no, how much Ram
>> does the MCU have inside?
>>
>> On Sat, Nov 2, 2019 at 3:06 PM Ammar Ahmad Khan <[email protected]> wrote:
>>
>>> Hi there Sam. I think your properties are not enough . I tried this on DSP
>>> DSK6713 Kit also. I came to conclusion that it will require something with
>>> minimum 1GB RAM with a good speed. And If you want real time action, using
>>> interrupts is an option
>>>
>>> On Sun, Nov 3, 2019 at 3:03 AM Sam Shoja <[email protected]> wrote:
>>>
>>>> Hi All Codec2 developers!
>>>> I am trying to port Codec2 on Cypress PSOC 6 with 288KB of RAM and 100MHz
>>>> clock on Arm cortex M4; however, it seems codec2 is running out of memory
>>>> on this MCU. I was wondering what the minimum requirement of RAM and CPU
>>>> are for codec2? On the project SM1000 it was mentioned that the MCU is
>>>> STM32F and as I searched this is family of MCUs with different sizes of RAM
>>>> and CPU clock. I am wondering which MCU from STM32F family is being used in
>>>> SM1000.
>>>>
>>>> Thanks for you time and consideration.
>>>>
>>>> --
>>>> Sam
>>>> _______________________________________________
>>>> Freetel-codec2 mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>>>
>>> _______________________________________________
>>> Freetel-codec2 mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>>>
>>
>>
>> -- 
>> Sam
> 
> 
>> _______________________________________________
>> Freetel-codec2 mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
> 
> 
> 
> _______________________________________________
> Freetel-codec2 mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
> 


_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to