摘要
在TMS320C54x系统开发环境CCS(Code Composer Studio)下对FIR滤波器的DSP实现原理进行了讨论。利用Matlab中的FIR数字滤波器的函数设计相应的滤波器,对得到的滤波器系数采用Q15格式表示,并用C语言产生模拟输入信号。将获取的系数和输入信号通过相应的指令调到DSP芯片的数据存储器中,运用MAC指令、循环缓冲寄存器、块循环寄存器实现已知混合信号的滤波。通过实验仿真,从输入信号和输出信号的时域和频域曲线可看出在DSP上实现的FIR滤波器能完成预定的滤波任务。
This paper discusses how to implement FIR digital filter in the Code Composer Studio (CCS) environment of TMS320C54x system. The design of FIR digital filter is performed in the Matlab. We represent the produced coefficients in Q15 form. C program helps to produce analog input signal,which,as well as system coefficients,are transferred into RAM of DSP chip. Then using MAC instructions,circular buffer registers and block circular registers to implement filtering of known signal. From the simulation, we can conclude the FIR filter implemented on the DSP chip can satisfy required tasks.
出处
《现代电子技术》
2007年第1期85-87,共3页
Modern Electronics Technique