I'm having a problem with using the convol function of the dsplib.h

because every time I build my project in CCS it would note that the

symbol convol is undefined. why is so? Is there something wrong on

how I called the convol function? Are my input parameters right? Are

there any more problems that you can find in code?

Here is a portion of my codes where I called the convol function:

input-Int16

output-Int16

H-DATA

convol (&input, H, &output, 19, 19);

*Because I wish to filter (Low Pass Filter) my input signal using

the convol function H holds the filter coefficients.

*Here are my filter coefficients for a low pass filter with a cut

off frequency of 2kHz:

DATA H[19]={-0.033637, -0.023387, 0.026728, 0.050455, 0.000000,

0.075683, -0.062366, 0.093549, 0.302731, 0.400000, 0.302731,

0.093549, -0.062366, 0.075683, 0.000000, 0.050455, 0.026728, -

0.023387, -0.033637};

Best regards,

Dexter

m...@yahoo.com

# Code Composer: symbol undefined "convol" (Dsplib.h was already imported)

Started by ●August 26, 2006

Reply by ●August 27, 20062006-08-27

Dexter J-

> I'm having a problem with using the convol function of the dsplib.h

> because every time I build my project in CCS it would note that the

> symbol convol is undefined. why is so? Is there something wrong on

> how I called the convol function? Are my input parameters right? Are

> there any more problems that you can find in code?

Have you listed dsplib.lib in your linker command (.cmd) file?

-Jeff

> Here is a portion of my codes where I called the convol function:

>

> input-Int16

> output-Int16

> H-DATA

>

> convol (&input, H, &output, 19, 19);

>

> *Because I wish to filter (Low Pass Filter) my input signal using

> the convol function H holds the filter coefficients.

> *Here are my filter coefficients for a low pass filter with a cut

> off frequency of 2kHz:

>

> DATA H[19]={-0.033637, -0.023387, 0.026728, 0.050455, 0.000000,

> 0.075683, -0.062366, 0.093549, 0.302731, 0.400000, 0.302731,

> 0.093549, -0.062366, 0.075683, 0.000000, 0.050455, 0.026728, -

> 0.023387, -0.033637};

>

> Best regards,

>

> Dexter

> m...@yahoo.com

>

> I'm having a problem with using the convol function of the dsplib.h

> because every time I build my project in CCS it would note that the

> symbol convol is undefined. why is so? Is there something wrong on

> how I called the convol function? Are my input parameters right? Are

> there any more problems that you can find in code?

Have you listed dsplib.lib in your linker command (.cmd) file?

-Jeff

> Here is a portion of my codes where I called the convol function:

>

> input-Int16

> output-Int16

> H-DATA

>

> convol (&input, H, &output, 19, 19);

>

> *Because I wish to filter (Low Pass Filter) my input signal using

> the convol function H holds the filter coefficients.

> *Here are my filter coefficients for a low pass filter with a cut

> off frequency of 2kHz:

>

> DATA H[19]={-0.033637, -0.023387, 0.026728, 0.050455, 0.000000,

> 0.075683, -0.062366, 0.093549, 0.302731, 0.400000, 0.302731,

> 0.093549, -0.062366, 0.075683, 0.000000, 0.050455, 0.026728, -

> 0.023387, -0.033637};

>

> Best regards,

>

> Dexter

> m...@yahoo.com

>