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.

how to use fft function in TMS320C64xx

i have read DSPlib. and i want to use DSP_r4fft (complex forward fft (radix 4)).

but i still don't understand how to use that function.

and i still confuse about twiddle factor. in fact, twiddle factor is what?

can do you explain it?

and do you have some example programs to use DSP_r4fft?

thank you very much...

  • Syamsul,

    Which DSPLIB release are you using, and what device are you using it with?  I only found reference to that function name in the older C6400 DSPLIB release, and even there the function appears to be deprecated.  I recommend using the DSP_fft16x16 function instead.  If possible, I would also recommend moving to the newer C64+ DSPLIB.

    The C64+ DSPLIB includes usage examples for all algorithms.  Look in the following files (relative to the installation path):

    • src\DSP_fft16x16\DSP_fft16x16_d.c
    • src\DSP_fft16x16\gen_twiddle_fft16x16.c

    These files will show you how to generate the twiddle coefficients and call the FFT algorithm.

    Hope this helps.