DSPRelated.com
Forums

FFT on C6711 DSK & audio daughter card

Started by pnic007 March 12, 2005


Dear all,

I'm trying to implement an FFT on the C6711. I'm using the Audio
daughter card TMDX326040A (PCM3003) to send data to the DSK and they
are connected through the McBSP1. I have successfully configured the
EDMA to perform reading and writing of data between the two
hardwares and now want to use it to perform an FFT on an audio
signal (mp3) that I'm sending in. I tried combining the FFTs
provided by TI with my coding but it does not seem to work. The
codes compile fine (no errors) but when it is loaded on to the DSK,
nothing is received back through the output of the audio daughter
card. The original TI code is written to work on the DSK only, hence
uses the McBSP0.

I was wondering if any of you guys would be able to provide some
help and may be the coding to implement an FFT because I do not have
much time to finish this project.
Nic


Nic-

> I'm trying to implement an FFT on the C6711. I'm using the Audio
> daughter card TMDX326040A (PCM3003) to send data to the DSK and they
> are connected through the McBSP1. I have successfully configured the
> EDMA to perform reading and writing of data between the two
> hardwares and now want to use it to perform an FFT on an audio
> signal (mp3) that I'm sending in. I tried combining the FFTs
> provided by TI with my coding but it does not seem to work. The
> codes compile fine (no errors) but when it is loaded on to the DSK,
> nothing is received back through the output of the audio daughter
> card. The original TI code is written to work on the DSK only, hence
> uses the McBSP0.
>
> I was wondering if any of you guys would be able to provide some
> help and may be the coding to implement an FFT because I do not have
> much time to finish this project.

Have you tested your FFT by itself, without any code for the audio daughtercard?
What if you pass this sequence to the FFT:

x: 1, 0, 0, 0, 0, 0, 0, 0
y: 0, 0, 0, 0, 0, 0, 0, 0

Then run with length = 8? What are the results? Do you know what to expect? If
that works, then add the audio codec code, but don't feed it to the FFT -- just
repeat the same test again. Then take another step, then another...

Ya I know, sounds simple. But the whole problem you're having is you're trying to
debug too much at once. Hope you get my point.

-Jeff