This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

FFT taking too much time - resolution?

Other Parts Discussed in Thread: TMS320C5535

Hi,

First some specs:
Board:  eZdsp TMS320C5535 
CCS Version: 4.2.4
CSL Version:  3.01 

I am writing a C program for the 5535 that is supposed to repeatedly take in audio data at a rate of 48 kHz (and immediately output it), perform a 1024 point FFT on the incoming data, and do a little bit of processing on the FFT result. I want to repeat the process indefinitely. Right now, the FFT takes too much time to process, so I hear audible gaps in the outgoing audio - meaning that the processing is taking too long. Anyone have any resolutions to this problem? It seems like a common problem that anyone wanting to process an FFT would run into, so it seems like there should be a simple solution.

The only thing I can think of is to have two audio and FFT buffers (all of size 1024), and fill the first buffer, and while the second audio buffer is being filled, calculate the FFT on the first filled buffer. Then calculate the FFT on the second audio buffer while refilling the first with new samples. But I have no idea how to do this parallel type processing because C code is sequential and this DSP processor runs sequentially.

Anyone have any ideas? I can post my source code if needed. 


Thanks,
Nate