Hello,
Now I'm testing FFT, but I think there's problem occured by the different Data Type.
The type of my recieved input signal(a counter up to 1024) is uint32_t, in the beginning I was using that "DSP_fft32x32" source code. but unfortunately there's NO output data. (to match with it, I used gen_twiddle_fft32x32). so now based on DSPF_fft_SPxSP modified my code. I stored all my input data into data[2*i], and set data[2*i +1]=0, my input data(32 bit int) is plotted correctly in the graph, just like sawtooth wave with zeros in the middle of 2 values, but when I transfered it into float(the data type needed in DSPF_fft_SPxSP), there came the problem. the figure seems like having a big distortion, at least the tendency of my values are totally different from the integer ones.
I wanna ask, is this proper that I change the data type directly? for example, int32_t A; float B; B=(float)A;
if its not, how can I make it work?
Thanks in advance