Hi Daniele

I looked at the AT32UC3B0512 manuals

I think you will would be able to run CODEC2 on the versions with the 
hardware FPU, there is enough horsepower I think, but you may need to 
spend time on generating compiler optimizations. And not waste ANY 
memory, and if you try and run freeRTOS, which I am well familiar with, 
this will probably consume up the valuable memory you need. I would 
recommend you try without the RTOS, and really, if the codec is all you 
are running, there is no benefit, only disadvantage.

It is certainly worth a shot if you want to learn a few things. Might 
depend on how well the compiler mates to the CPU. Hence the need to 
examine the generated assembler.


regards



On 29/08/2016 11:44 PM, Daniele Barzotti wrote:
> Hi,
>
> First of all, I'm new to codec2.
>
> I'm developing on a proprietary board based on ATMEL AT32UC3B0512, a
> 8MByte Spansion Flash and FreeRTOS.
>
> What I need to do is to store 8 hours of voice into the flash.
> My input stream is a PCM 16 bit 8Khz and I got 20 dword (1 frame) every
> 2.5 msec.
> Here I have to compress it to a 2 kilobit/second stream. (So here I need
> only the encoder part)
>
> I added the codec2 source to my project and it compile with no problems
> but, when I run, it hangs on codec2_create().
>
> I tried to create the CODEC2 structure on the stack but with no success.
>
> My question is: someone known if is possible to run codec2 into a 32-bit
> RISC?
>
> Thanks in advance,
> Daniele.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> 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