zidean007
Newbie level 2
tap of fir filter
I created a coefficent file .flt from dspic lite. In this file that has two part.
From 0.3540039062500000E and below are obviously coefficients, but what are from 116 74 /* coefficient of tap 0 */ to 116 74 /* coefficient of tap 63 */? How can I define them from coeffiecients?
Here is my .flt file
FILTER COEFFICIENT FILE
FIR DESIGN
SAMPLING FREQUENCY 0.800000E+04 HERTZ
64 /* number of taps in decimal */
40 /* number of taps in hexadecimal */
16 /* number of bits in quantized coefficients (dec) */
10 /* number of bits in quantized coefficients (hex) */
0 /* shift count in decimal */
0 0.100000000E+01 /* shift count (hex), gain multiplier */
116 74 /* coefficient of tap 0 */
143 8F /* coefficient of tap 1 */
170 AA /* coefficient of tap 2 */
198 C6 /* coefficient of tap 3 */
....
116 74 /* coefficient of tap 63 */
0.3540039062500000E-02 3F6D000000000000/* coefficient of tap 0 */
0.4364013671875000E-02 3F71E00000000000/* coefficient of tap 1 */
0.5187988281250000E-02 3F75400000000000/* coefficient of tap 2 */
0.6042480468750000E-02 3F78C00000000000/* coefficient of tap 3 */
...
0.4364013671875000E-02 3F71E00000000000/* coefficient of tap 62 */
0.3540039062500000E-02 3F6D000000000000/* coefficient of tap 63 */
I created a coefficent file .flt from dspic lite. In this file that has two part.
From 0.3540039062500000E and below are obviously coefficients, but what are from 116 74 /* coefficient of tap 0 */ to 116 74 /* coefficient of tap 63 */? How can I define them from coeffiecients?
Here is my .flt file
FILTER COEFFICIENT FILE
FIR DESIGN
SAMPLING FREQUENCY 0.800000E+04 HERTZ
64 /* number of taps in decimal */
40 /* number of taps in hexadecimal */
16 /* number of bits in quantized coefficients (dec) */
10 /* number of bits in quantized coefficients (hex) */
0 /* shift count in decimal */
0 0.100000000E+01 /* shift count (hex), gain multiplier */
116 74 /* coefficient of tap 0 */
143 8F /* coefficient of tap 1 */
170 AA /* coefficient of tap 2 */
198 C6 /* coefficient of tap 3 */
....
116 74 /* coefficient of tap 63 */
0.3540039062500000E-02 3F6D000000000000/* coefficient of tap 0 */
0.4364013671875000E-02 3F71E00000000000/* coefficient of tap 1 */
0.5187988281250000E-02 3F75400000000000/* coefficient of tap 2 */
0.6042480468750000E-02 3F78C00000000000/* coefficient of tap 3 */
...
0.4364013671875000E-02 3F71E00000000000/* coefficient of tap 62 */
0.3540039062500000E-02 3F6D000000000000/* coefficient of tap 63 */