|
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
|
▷ |