English
Language : 

TLC32040C Datasheet, PDF (18/33 Pages) Texas Instruments – ANALOG INTERFACE CIRCUITS
TLC32040C, TLC32040I, TLC32041C, TLC32041I
ANALOG INTERFACE CIRCUITS
SLAS014E – SEPTEMBER 1987 – REVISED MAY 1995
correction results
Table 4 below shows the optimum p values and the corresponding correction results for 8000-Hz and 9600-Hz
sampling rates.
Table 4. Correction Results
f (Hz)
300
600
900
1200
1500
1800
2100
2400
2700
3000
ERROR (dB)
fs = 8000 Hz
p1 = – 0.14813
p2 = 0.9888
– 0.099
– 0.089
– 0.054
– 0.002
0.041
0.079
0.100
0.091
– 0.043
– 0.102
ERROR (dB)
fs = 9600 Hz
p1 = – 0.1307
p2 = 0.9951
– 0.043
– 0.043
0
0
0
0.043
0.043
0.043
0
– 0.043
TMS320 software requirements
The digital correction filter equation can be written in state variable form as follows:
Y = k1 × Y + k2 × U
where
k1 = p1
k2 = (1 – p1) × p2
Y = filter state
U = next I/O sample
The coefficients k1 and k2 must be represented as 16-bit integers. The SACH instruction (with the proper shift)
will yield the correct result. With the assumption that the TMS320 processor page pointer and memory
configuration are properly initialized, the equation can be executed in seven instructions or seven cycles with
the following program:
ZAC
LT K2
MPY U
LTA K1
MPY Y
APAC
SACH (dma), (shift)
18
• POST OFFICE BOX 655303 DALLAS, TEXAS 75265