Hi,
I am using the C28x fixed point FFT library ( http://focus.ti.com/docs/toolsw/folders/print/sprc081.html ) to do a correlation using 4096 point FFT and I am not getting correct results. I am pretty sure that the FFT and my implementation of IFFT (using the complex FFT) is working (I have tested it with an impulse input), but I wonder if I am getting overflow.
I am initialising my FFT structure as follows for the 4096 point FFT:
CFFT32 fft = { (long *)NULL,
(long *)NULL,
4096,
12,
(long *)NULL,
(long *)NULL,
0,
0,
1, /* ratio - what's this? */
(void (*)(void *))CFFT32_init,
(void (*)(void *))CFFT32_izero,
(void (*)(void *))CFFT32_calc,
(void (*)(void *))CFFT32_mag,
(void (*)(void *))CFFT32_win};
What should the 'ratio' parameter be? There doesn't seem to be anything that describes it in the documentation.
regards,
Charles