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.

TMS320F28379D: To get to know about FFT example in Inbuilt examples

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hi,

I've been using FFT example of TMS320F28379D from where I get to know about that RFFT_f32(RFFT_F32_STRUCT_Handle hndRFFT_F32) function which performs FFT consist real and imaginary value in such fashion

// OutBuf[0] = real[0]
// OutBuf[1] = real[1]
// OutBuf[2] = real[2]
// ………
// OutBuf[N/2] = real[N/2]
// OutBuf[N/2+1] = imag[N/2-1]
// ………
// OutBuf[N-3] = imag[3]
// OutBuf[N-2] = imag[2]
// OutBuf[N-1] = imag[1]

If this is true then is this is valid for RFFT_adc_f32(RFFT_ADC_F32_STRUCT_Handle hndRFFT_ADC_F32) function or any other FFT function? That this functions also stores real and imaginary value in such fashion like RFFT_f32(RFFT_F32_STRUCT_Handle hndRFFT_F32.

  • Hello,

    If you would like to compare what each of these functions do, you can find the function definitions for RFFT_f32() and RFFT_adc_f32 in the RFFT_f32.asm and RFFT_adc_f32.asm files respectively. They are located in file path: [C2000ware install]/libraries/dsp/FPU/c28/source/fpu32/fft.

    Best Regards,

    Delaney