Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).
Post a new Thread
Multiprocessor FFT prblm - Syed Moinuddin - Apr 11 6:34:00 2005
Dear All,
am trying to do fft on ADSP TS201S Ezkit. The code provided by
Analog devices is as follows:
Processor B is in infinite loop (doing nothing setting only syscon
register)
Processor A is doing FFT's.
How can this code be modified so that both pocessors do fft on a given
signal from (audio port) or from File.
Regards
Syed Moinuddin

(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )
Re: Multiprocessor FFT prblm - Mike Rosing - Apr 11 8:59:00 2005
On Mon, 11 Apr 2005, Syed Moinuddin wrote:
> Dear All,
> am trying to do fft on ADSP TS201S Ezkit. The code provided by
> Analog devices is as follows:
>
> Processor B is in infinite loop (doing nothing setting only syscon
> register)
>
> Processor A is doing FFT's.
>
> How can this code be modified so that both pocessors do fft on a given
> signal from (audio port) or from File.
There are many ways to do that. The simplest is to break up the problem
so each processor does independent sections. For example, A does even
rows and B does odd rows on an image. If you want to do sonograms, then
let A do even times and B do odd times. If they get out of sync it won't
matter.
If it were me, I'd set up A to read in and process the first batch (even
offsets) and let B read in a process the second batch (odd offsets) and
send the results out to different blocks of ram. You need some way to see
the results, let that processor reconstruct things. That way each
processor has the same code except there are 2 different pointers in them.
Much easier to debug.
Patience, persistence, truth,
Dr. mike

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