;*********************************************************** ; This coefficient file is created by ElecFilDes for use ; with the Freescale MC56F84789 digital signal controller. ;*********************************************************** ; ; V0 P2 * Z^(-2) + P1 * Z^(-1) + P0 ; Cascades are -- = --------------------------------- ; Vin D2 * Z^(-2) + D1 * Z^(-1) + 1 ; ;ntaps is the number of quadratic sections (cascades) ;the number at the end of each coefficient set is the ;number of times the coefficients had to be divided by 2 ;in order to avoid overflow. ;This number is repeated to preserve long coefficient boundaries. ;FILTERTYPE = 2 means that this is an IIR filter ;FILTERTYPE = 3 means that this is a synthesized sine wave ;*********************************************************** ; Coefficients of the IIR filter ;*********************************************************** ; ntaps equ $3 org x: states ds 12*ntaps ; T0PRELOAD EQU 999 T1PRELOAD EQU 0 FILTERTYPE EQU 2 ; coef dc $1C74 ; LEAST SIGNIFICANT WORD OF P2/2 dc $0109 ; MOST SIGNIFICANT WORD OF P2/2 dc $1946 ; LEAST SIGNIFICANT WORD OF P1/2 dc $FDFB ; MOST SIGNIFICANT WORD OF P1/2 dc $1C74 ; LEAST SIGNIFICANT WORD OF P0/2 dc $0109 ; MOST SIGNIFICANT WORD OF P0/2 dc $0572 ; LEAST SIGNIFICANT WORD OF -D2/2 dc $C24A ; MOST SIGNIFICANT WORD OF -D2/2 dc $650E ; LEAST SIGNIFICANT WORD OF -D1/2 dc $7DA8 ; MOST SIGNIFICANT WORD OF -D1/2 dc 1 dc 1 ; dc $9F9E ; LEAST SIGNIFICANT WORD OF P2/2 dc $133D ; MOST SIGNIFICANT WORD OF P2/2 dc $FCB2 ; LEAST SIGNIFICANT WORD OF P1/2 dc $D9AF ; MOST SIGNIFICANT WORD OF P1/2 dc $9F9E ; LEAST SIGNIFICANT WORD OF P0/2 dc $133D ; MOST SIGNIFICANT WORD OF P0/2 dc $48AC ; LEAST SIGNIFICANT WORD OF -D2/2 dc $C116 ; MOST SIGNIFICANT WORD OF -D2/2 dc $D7B2 ; LEAST SIGNIFICANT WORD OF -D1/2 dc $7EBB ; MOST SIGNIFICANT WORD OF -D1/2 dc 1 dc 1 ; dc $31C8 ; LEAST SIGNIFICANT WORD OF P2/2 dc $2948 ; MOST SIGNIFICANT WORD OF P2/2 dc $C098 ; LEAST SIGNIFICANT WORD OF P1/2 dc $ADAD ; MOST SIGNIFICANT WORD OF P1/2 dc $31C8 ; LEAST SIGNIFICANT WORD OF P0/2 dc $2948 ; MOST SIGNIFICANT WORD OF P0/2 dc $08D9 ; LEAST SIGNIFICANT WORD OF -D2/2 dc $C044 ; MOST SIGNIFICANT WORD OF -D2/2 dc $95A3 ; LEAST SIGNIFICANT WORD OF -D1/2 dc $7F7B ; MOST SIGNIFICANT WORD OF -D1/2 dc 1 dc 1 ;