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 | problems with fft routines in the dsplib of the dsk 5402

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

problems with fft routines in the dsplib of the dsk 5402 - radato1 - Jun 3 15:08:00 2002



hi,

i am implementing a simple program on the dsk 5402, which involves a fourier
transform.
Reading the application notes i have found out that there are some functions in
the dsplib
that do the hard work ('rfft256' and 'cbrev' for example).

When i have tested them and compared the results with the matlab outputs, i have
found out
that the results are WRONG: the real part is quite the same (differences of 2-3
can be
explained by the rounding error) but in the imaginary part, there is a block of
indexes in
the middle of the output buffer that are completely wrong (while the first
indexes, and the
last ones obviously, are o.k.). I found that in any length of the fft there is a
block in
the middle of the imaginary part which is wrong, and its size increases as the
fft length
goes larger.

i must emphasize that i have been careful in the alignment needed, and i used
cbrev as
specified in the notes.

Did any one met the same problems ?
Where can i find any updated versions of the dsplib ?

Thanks,
Raffaele DaTo
Italy.




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