PDA

View Full Version : Goertzel Optimizing


mahsad
08-30-2009, 11:53 AM
hi
i found my response,i must reset m and use more input samples.
i used 256 input samples,then my Algorithm was correct.
Now i would like to implement it with assembly language
can any one help me?

Tim Wescott
08-31-2009, 02:18 AM
On Sun, 30 Aug 2009 05:53:11 -0500, mahsad wrote:

> hi
> i found my response,i must reset m and use more input samples. i used
> 256 input samples,then my Algorithm was correct. Now i would like to
> implement it with assembly language can any one help me?

I'm not sure that assembly language programming is something that we can
coach you through via USENET. It's certainly not trivial to learn, even
with help. Worse, some of have been doing it so long (I learned it from
books with no help when I was 14) that all we can do is shrug and say
"read the instruction set and have a nice day".

But some essential questions that we need answered start with: What
processor? What toolchain? Do you want to do the whole app in assembly,
or just the Goertzel algorithm? What data type do you want to use
(integer, float, etc.)? What word size? What's the processor word size?

Answer, and then we can ask some more directed questions.

--
www.wescottdesign.com

Clay
09-01-2009, 06:03 PM
On Aug 30, 6:53*am, "mahsad" <[email protected]> wrote:
> hi
> i found my response,i must reset m and use more input samples.
> i used 256 input samples,then my Algorithm was correct.
> Now i would like to implement it with assembly language
> can any one help me? *

Some of the DSP chip manufacturers put out ap notes showing how to
implement the Goertzel algo in the assembly language of the particular
DSPs being hawked at the time. Try looking for these.

Clay