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.

Real number (single precision) FFT algorithm library for TMS320C6745

Other Parts Discussed in Thread: TMS320C6745

Hi,

In one of the project, I want to use FFT with real number input having single precision floating point. I could not locate library for real number in DSPLIB for TMS320C674X. FFT library in for TMS320C674X has complex number FFT, but I need real number FFT only

Please can you help in locating real number FFT for TMS320C6745.

Regards,

Manoj Mulajkar

  • Hi,

    Thanks for your post.

    Please update the DSPF_sp_fftSPxSP.asm and DSPF_sp_ifftSPxSP from the latest version of C674x DSPLIB. You can download this from here http://focus.ti.com/docs/toolsw/folders/print/sprc900.html.

    This code has been verified to compute single precision FFT upto 64K samples. Refer to c674x/dsplib/src/DSPF_sp_FFTSPxSP for example code. Also, kindly check the below wiki:

    http://processors.wiki.ti.com/index.php/Efficient_FFT_Computation_of_Real_Input

    Please  try out the example code provided on the above wiki.

    Kindly check the below E2E post which would hopefully addresses your request:

    http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/t/64079.aspx

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    -------------------------------------------------------------------------------------------------------

     

  • Hi Sivaraj,

    I have downloaded library. Although it has FFT of single precision, I could not locate FFT with Real Inputs (not complex). 

    My application need FFT on real number input and not complex number. Please if you can guide me to locate API and library function for FFT on real number input, that would be helpful.

    Regards,

    Manoj Mulajkar

  • Hi,

    Thanks for your update.

    Have you checked the below application report which implements FFT of real valued sequences and basically, FFT algorithms are designed to perform complex multiplications and additions, but however, the input sequence can be real numbers.

    http://www.ti.com/lit/an/spra291/spra291.pdf

    Have you downloaded the Example C Code from the below wiki which include the FFT demo which computes real and complex FFT & IFFT seperately but with  generating real input sequence of lenght N. Please find attached the FFT demo code with real input sequence and compute real FFT.

    8535.Real_fft_demo_c674x.zip

    Thanks & regards,
    Sivaraj K

    ------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question

    -------------------------------------------------------------------------------------------------------