AnsweredAssumed Answered

Consuming the FFTA radix steps results Is it possible to activate the FFT accelerator and to consume its output after a predefined number of radix steps? For example to call the accelerator to perform Fft on an input vector of 2048 complex points and to r

Question asked by shaul on May 18, 2016
Latest reply on May 19, 2016 by Mitesh

Consuming the FFTA radix steps results

Is it possible to activate the FFT accelerator and to consume its output after a predefined number of radix steps? For example to call the accelerator to perform Fft on an input vector of 2048 complex points and to return with the results of three radix steps that were performed on the input vector? Can this be done using FFTA_CTL.STEPEN and FFTA_CTL.EN? Any other way?

Regards

Shaul Boyer

An example to the function call

 

#define N_FFT 2048

#pragma align 32

complex_float input[N_FFT];

#pragma align 32

complex_float output[N_FFT];

int twiddle_stride = 1;

int number_of_radix_steps = 3;

/* Compute Fast Fourier Transform for a predefined number of radix steps */

complex_float *result = accel_radix_cfft(input, output, accel_twiddles_4096, twiddle_stride, 1.0,

N_FFT, number_of_radix_steps);

if (!result)

return 1; /* error! */

Outcomes