[music-dsp] Problems with ADI C runtime function
greg.hurst at clydebroadcast.com
Fri Jul 6 12:23:54 EDT 2001
I'm trying to get a FIR to work on an EZ-Kit 21160M. I'm using ADI's fir C runtime library function. I'm following the instructions in the VDSP documentation to the letter, but all I get is zeros back. I'm using a 128-element floating point array as an input, containing all zeros and a 1 in
the fifth element, i.e. a simulated impulse.
As stated in the docs, I've initialised the state array to zeros and made it one element longer than the coeffs array. The 128 coefficients were generated in SystemView. I have not reversed the order of the coefficients
as stated, but as they're symmetrical I can't see this is a problem. I use a for loop to call the function, storing the return values in float output, but as I say all I get is zeros.
Anyone else had problems using this function? Sorry if this is a basic
question, but I can't see what I'm doing wrong.
Thanking you in advance for any help,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the music-dsp