Sign in

username:

password:



Not a member?

Search c54x



Search tips

Subscribe to c54x



c54x by Keywords

5409 | 5416 | AD5 | ADC | BIOS | Boot | Booting | Bootloader | C540 | C5402 | C5409 | C5416 | CCS | Codec | DMA | Dmad | DSK | DSKPlus | Dsplib | EVM | FFT | FIR | Flash | GPIO | HPI | Initialization | Interrupt | JTAG | LOG_printf | MCBSP | RFFT | RTDX | Sampling | STLM | UART | VC540


Discussion Groups

Discussion Groups | TMS320C54x | dsplib rifft: can't get it working

Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).

  

Post a new Thread

dsplib rifft: can't get it working - lolo_mk1 - Jun 20 1:21:00 2005



Hi,

I've read past posts on this topic but I can't make the dsplib
inverse fft work properly.

I put it in a 360Hz sine wave @ 8kHz sampling rate. I get the
desired spike in the magnitude spectrum via

cbrev(*in, *out, FFTORDER/2);
rfft1024(*out, 1);
//my little magnituding finding function goes here

so I'm sure thats working. then...

unpacki_1024(*out);
cbrev(*out, *in, FFTORDER/2);
rifft1024(*in, 1);

the resulting amp/time graph is completely distorted with very high
frequency components introduced.

I checked and I do have the latest dsplib files. I've also tried
applying a hann window on the initial data to avoid spectral
widening. in and out are also aligned to 2048.

Can anyone see whats wrong here??

Thanks
Aaron





(You need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )