Look around in the following URL. It's site providing various software implementations of simple DSP applications. http://www.ti.com/sc/docs/general/dsp/programs/shareware/level_c5000.htm Cheers! Bose. On 7 Apr 2003 wrote: > _____________________________________ > Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. > > _____________________________________ > About this discussion group: > > To Join: Send an email to > > To Post: Send an email to > > To Leave: Send an email to > > Archives: http://www.yahoogroups.com/group/c54x > > Other Groups: http://www.dsprelated.com > > There is 1 message in this issue. > > Topics in this digest: > > 1. Problems whith a FIR implementation. > From: "narcispr" < > ________________________________________________________________________ > ________________________________________________________________________ > > Message: 1 > Date: Mon, 07 Apr 2003 11:07:34 -0000 > From: "narcispr" <> > Subject: Problems whith a FIR implementation. > > Hello people! > > I'm very new in DSP programing and I need to implement a FIR filter > with 5409 DSP. > > I try to do with C source (see at the bottom of the document) but > this solution is very slow. How can I do a simple passBand or highBand > filter? > > I see a fir function in some examples. Where can I find documentation > or examples about fir function? > > Thank you for all!! > A portion of my filter function: > > void Filtrar() > { > int index = -1; > int inici = -1; > int i; > int sum; > int index2; > > while (1) > { > while (NMostresADCNoves<=0); //Hope new data folling > ADC Interruption > > // CODI DEL FILTRE > index++; if(index>=NCoeff) index=0; > MeuBuf[index]esIn[MostraActualIn]; > sum = 0; > inici++; if(inici>=NCoeff) inici = 0; > index2 = inici; > for(i=0; i<NCoeff; i++) > { > index2++; if(index2>=NCoeff) index2 = 0; > sum = sum + MeuBuf[index2]*Coeff[i]; > } > > DadesOut[MostraActualOut] = sum; > > MostraActualIn++; > MostraActualOut++; > ... > > } > ________________________________________________________________________ > ________________________________________________________________________ > > ">http://docs.yahoo.com/info/terms/ -- Never argue with idiots. They drag you down to their level, then beat you with experience. |