This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem with DSP_fir_cplx() from DSPLIB 3.2.0.1

Hi Andrzej,

i have also a problem with this function maybe you have managed to solve the issue? I have copied your data and tested it with my dsp and i can paste you in here my results:
Name : [0]
    Default:2480
    Hex:0x09B0
    Decimal:2480
    Octal:04660
    Binary:0000100110110000b

Name : [1]
    Default:-1
    Hex:0xFFFF
    Decimal:-1
    Octal:0177777
    Binary:1111111111111111b

Name : [2]
    Default:498
    Hex:0x01F2
    Decimal:498
    Octal:0762
    Binary:0000000111110010b

Name : [3]
    Default:-1
    Hex:0xFFFF
    Decimal:-1
    Octal:0177777
    Binary:1111111111111111b

Name : [4]
    Default:-562
    Hex:0xFDCE
    Decimal:-562
    Octal:0176716
    Binary:1111110111001110b

Name : [5]
    Default:0
    Hex:0x0000
    Decimal:0
    Octal:00
    Binary:0000000000000000b

Name : [6]
    Default:-346
    Hex:0xFEA6
    Decimal:-346
    Octal:0177246
    Binary:1111111010100110b

Name : [7]
    Default:0
    Hex:0x0000
    Decimal:0
    Octal:00
    Binary:0000000000000000b

Name : [9]
    Default:-1
    Hex:0xFFFF
    Decimal:-1
    Octal:0177777
    Binary:1111111111111111b

Name : [10]
    Default:189
    Hex:0x00BD
    Decimal:189
    Octal:0275
    Binary:0000000010111101b

Name : [8]
    Default:134
    Hex:0x0086
    Decimal:134
    Octal:0206
    Binary:0000000010000110b

Name : [11]
    Default:-1
    Hex:0xFFFF
    Decimal:-1
    Octal:0177777
    Binary:1111111111111111b

Name : [12]
    Default:12
    Hex:0x000C
    Decimal:12
    Octal:014
    Binary:0000000000001100b

Name : [13]
    Default:0
    Hex:0x0000
    Decimal:0
    Octal:00
    Binary:0000000000000000b

Name : [14]
    Default:-58
    Hex:0xFFC6
    Decimal:-58
    Octal:0177706
    Binary:1111111111000110b

Name : [15]
    Default:0
    Hex:0x0000
    Decimal:0
    Octal:00
    Binary:0000000000000000b


This are the results for  DSP_fir_cplx(x, h, result, 16, 8); but if i use DSP_fir_cplx(x + 30, h, result, 16, 8); than i get the result as you x = { 1, 0, 1, 0, ... , 1, 0}. I really dunno how to use this function. I have my code in matlab and i want to get the same result using DSP_fir_cplx function but so far with no luck.