This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cc2538 + FPU

Other Parts Discussed in Thread: CC2538

Hello all,

Greeting for the day !!!!!!

1) i am using cc2538 SoC for my project.... but i want to know is cc2538 support FPU ? becoz i hav one small DSP algorithm code which need support of FPU...

2) so is this possible with cc2538 or not ?  

3) or is there any other way to support FPU on cc2538 like soft FPU etc....    plz help me to solve this issue.

my algorithm is working fine on STM32F4 micro-controller which is a Cortex -M4 with FPU 

Thanks & Regards,

Maneesh singh

  • Hi,

    CC2538 has a Cortex-M3 core which does not have a Floating-Point Unit (ref).

    The CC2538 should be able to do the calculations, but less efficiently than a core with FPU instruction set. You would have to verify whether the code generated for the Cortex-M3 is efficient enough for your needs.

    Br,
    TIABO

  • Hello TIABO,

    thanks for your reply..

    actually i am planning to port a audio codec on cc2538 for some experimental purpose. that's why i was asking for FPU. 

    1) do you any idea how to port audio codec on cc2538 ?

    2) can you provide any ref doc or sample code for same ?

    3) i used codec2 audio codec but it is working for STM32F4 micro-controller so do you hav any idea or knowledge of any audio codec which is compatible with cc2538.

    Any help will be appreciated....

     

    Thanks & Regards,

    Maneesh

  • Hi Maneesh, 

    We've had a lot of luck with ADPCM encoding for voice. You should be able to find plenty of M3 compatible implementations online. We've also done some more fancy algorithms on CC2538, but you quickly run out of MIPS if you have other application tasks going on at the same time. 

    Peder

  • Hello Peder,

    thanks for your reply...

    i am sorry but i didn't understand what u want to explain me..... will you plz explain it in some more detail... plz

    and if possible can you plz send me some link and / or few ref doc or code for it....it may be very helpful for me..

    if you provide me some links then it will be very helpful for me...

    Thanks & Regards,

    Maneesh 

  • Hello ,

    is there anyone who can reply to my previous post ?

     Hi Peder waiting for your reply sir......plz reply..

     

    Thanks & Regards,

    Maneesh singh

  • CC2538 doesn't support FPU. If your audio code use lots of floating operation, it would be very slow. You should try to optimize your audio codec to use integer operation to save computing power.