Digital Signal Processing Reference
In-Depth Information
if (out_type == 1) //slider position for adapt FIR
output_sample(adaptfir_out); //output of adaptive FIR
filter
else if (out_type == 2) //slider position for fixed FIR
output_sample(fir_out); //output of fixed FIR filter
return;
}
void main()
{
int T=0, i=0;
for (i = 0; i < WLENGTH; i++)
w[i] = 0.0;
//init coeff for adaptive FIR
dly_adapt[i] = 0;
//init buffer for adaptive FIR
}
for (T = 0; T < N; T++)
dly_fix[T] = 0;
//init buffer for fixed FIR
sreg.regval=0xFFFF; //initial seed value
fb = 1;
//initial feedback value
comm_intr();
//init DSK, codec, McBSP
while (1);
//infinite loop
}
References
1.
2.
Texas Instruments homepage, http://www.ti.com .
TMS320C6000 Programmer's Guide, SPRU198D, Texas Instruments, Dallas, TX,
2000.
3.
CPU and Instruction Set Reference Guide, SPRU189F, Texas Instruments, Dallas,
TX, 2000.
4.
Chassaing, R., DSP Applications Using C and the TMS320C6x DSK , Wiley, New
York, 2002.
5.
TMS320C6000 Peripherals, SPRU190D , Texas Instruments, Dallas, TX, 2001.
6.
Kehtarnavaz, N. and Keramat, M., DSP System Design Using the TMS320C6000 ,
Prentice Hall, Upper Saddle River, NJ, 2001.
7.
TMS320C6000 Code Composer Studio User's Guide, SPRU328B , Texas Instru-
ments, Dallas, TX, 2001.
 
Search WWH ::




Custom Search