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.

C28335 FFT Library undesirable behavior

Other Parts Discussed in Thread: CONTROLSUITE

Hello,

 

I am using the DSP FFT library for C2000 series (tms320c28335). Its is ‘v101’. My intention is to compute fixed point FFT of an input sine wave.

When I try to compile, it gives errors in the example code provided – 2833x_FixedPoint_RFFT/source/rfft.c

Here, I m unable to get basic files linked to the project like CodeStartBranch.asm and others, so I have provided the driver library downloaded for c28335.

And now it gets compiled.

-          But the ‘rfft.c’ gets hung while generating the sine wave itself, and I’m unable to generate any FFT computations.

-          Also, when I tried to reuse this code in my environment it again behaves in an unpredicted way, jumps to some out of scope memory locations.

Is somebody using this FFT library for C2000 series. If so please provide me with the same, I’ll try to use your copy of FFT library.

Can you please help with any modifications/suggestions..?

Thanks in advance.

Warm Regards,

Arpan Sadhankar

  • Hi,

     

    Is anybody having latest version of FFT library for 28335 (c2000 series). Please share..

     

    - arpan

  • Arpan Sadhankar said:

    Hi,

     

    Is anybody having latest version of FFT library for 28335 (c2000 series). Please share..

     

    - arpan

    Arpan,

    The latest version can be found within controlSUITE (www.ti.com/controlsuite).  In the default install location, the library will be found here:

    C:\TI\controlSUITE\libs\dsp\FPU\

    There are examples for the real FFT included in the examples_ccsv4 directory.  These should import into CCS v5.1 as well.

    Regards

    Lori

  • Arpan Sadhankar said:
    When I try to compile, it gives errors in the example code provided – 2833x_FixedPoint_RFFT/source/rfft.c

    What are the errors?  This will provide clues to the problem.

    Arpan Sadhankar said:

    -          But the ‘rfft.c’ gets hung while generating the sine wave itself, and I’m unable to generate any FFT computations.

    -          Also, when I tried to reuse this code in my environment it again behaves in an unpredicted way, jumps to some out of scope memory locations.

    This sounds like a memory allocation issue and not a problem with the FFT itself.  I would suggest starting with the example provided - take a look at the linker command file to see how memory is allocated.

    More on linking and how memory allocation is performed by the linker:

    http://processors.wiki.ti.com/index.php/C28x_Compiler_-_Understanding_Linking

    Regards

    Lori