Dear Don, Dear Ammar, That's a great news. It means 288KB ram and 100MHz clock would be enough. The code I was running on the MCU was base on the rate of 2500. This can be the reason and it seems I need to change it to slower bit rates; however, As far I looked through the source code, ( https://github.com/piratfm/codec2_m4f) in codec2.h, the available modes are 2500, 1500, 1400, and, 1200; I never saw 1600 and 700D. Am I working are the right source code?
On Sat, Nov 2, 2019 at 3:39 PM Don <[email protected]> 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 > -- Sam
_______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
