TI-dspc28xfilter

所属分类:其他嵌入式/单片机内容
开发工具:C/C++
文件大小:340KB
下载次数:29
上传日期:2011-05-09 16:18:08
上 传 者txd19
说明:  TI公司提供的基于c28x系列的FIR和IIR算法实现程序。主程序用C编写,滤波算法采用汇编语言,执行速度高效且简洁。对开发DSPc28X系统工程师非常有用。
(Provided by TI c28x series based on FIR and IIR algorithm program. Main program written using C, assembly language filtering algorithm, the execution speed efficient and simple. Systems engineer on the development DSPc28X very useful.)

文件列表:
filter\clib\build\build.bat (1081, 2002-05-12)
filter\clib\include\dlog4ch.h (3037, 2002-08-01)
filter\clib\include\filter.h (664, 2002-08-01)
filter\clib\include\fir.h (4816, 2011-05-06)
filter\clib\include\iir.h (7017, 2002-08-01)
filter\clib\include\sgen.h (8208, 2002-08-01)
filter\clib\include\stb.h (498, 2002-08-01)
filter\clib\lib\filter.lib (3118, 2004-04-06)
filter\clib\lib\stb.lib (3434, 2002-05-07)
filter\clib\lst\fir16.lst (10145, 2004-04-06)
filter\clib\lst\iir16.lst (8078, 2004-04-06)
filter\clib\lst\iir32.lst (8338, 2004-04-06)
filter\clib\obj\fir16.obj (947, 2004-04-06)
filter\clib\obj\iir16.obj (890, 2004-04-06)
filter\clib\obj\iir32.obj (916, 2004-04-06)
filter\clib\src\fir16.asm (5274, 2004-04-06)
filter\clib\src\iir16.asm (4783, 2003-11-05)
filter\clib\src\iir32.asm (4679, 2002-11-14)
filter\cstb\fir16\build\2808_eZdsp_RAM_lnk.cmd (4115, 2006-01-26)
filter\cstb\fir16\build\build.CS_\FILE.CDX (3072, 2011-05-06)
filter\cstb\fir16\build\build.CS_\FILE.DBF (352, 2011-05-06)
filter\cstb\fir16\build\build.CS_\FILE.FPT (729, 2011-05-06)
filter\cstb\fir16\build\build.CS_\SYMBOL.CDX (26112, 2011-05-06)
filter\cstb\fir16\build\build.CS_\SYMBOL.DBF (15040, 2011-05-06)
filter\cstb\fir16\build\build.CS_\SYMBOL.FPT (28512, 2011-05-06)
filter\cstb\fir16\build\build.map (5959, 2011-05-06)
filter\cstb\fir16\build\build.paf (1522, 2004-04-06)
filter\cstb\fir16\build\build.paf2 (3427, 2011-05-06)
filter\cstb\fir16\build\build.pjt (1449, 2011-03-28)
filter\cstb\fir16\build\build.sbl (3097, 2011-05-06)
filter\cstb\fir16\build\build.wks (14477, 2002-05-12)
filter\cstb\fir16\build\c28x.cmd (1957, 2002-05-12)
filter\cstb\fir16\build\cc_build_Debug.log (1680, 2011-05-06)
filter\cstb\fir16\build\Debug\build.out (13573, 2011-05-06)
filter\cstb\fir16\build\Debug\DLOG4CHC.obj (1780, 2011-05-06)
filter\cstb\fir16\build\Debug\fir16.obj (1327, 2011-05-06)
filter\cstb\fir16\build\Debug\fir16d.obj (5799, 2011-05-06)
filter\cstb\fir16\build\Debug\sgti1c.obj (1125, 2011-05-06)
filter\cstb\fir16\build\Debug\SINTB360.obj (1437, 2011-05-06)
filter\cstb\fir16\build\Debug.lkf (780, 2011-05-06)
... ...

;************************************************************************************* ;*********************** SECTION 1: FILTER LIBRARY *********************************** ;************************************************************************************* Thank you for trying C28x Software Collateral. Filter Library is installed in C:\TIDCS\C28\DSP_TBOX\FILTER directory. Digital filters are a common requirement for digital signal processing systems. There are two types of digital filters: Finite impulse response (FIR) and infinite impulse response (IIR) filters. Both the filter modules are available in the filter library. We have made available an ezFIR filter design package (MATLAB script) to interactively generate filter coefficients for the required frequency response characteristics. IIR filter uses the cascade configuration of direct form II structured Second order section (SOS) that reduces sensitivity to coefficient quantization. The SOS’s are commonly referred to as Biquads. The SOS coefficients generated by the MATLAB for given set of filter specification provides unity gain in the pass-band and attenuates the remaining frequency component. Though the input to output gain does not peak above unity, the intermediate node gain in the biquad sections would vary significantly depending on the filter characteristics. Hence, we have made a available a ezIIR filter design package (MATLAB script) that generates scaled second order coefficients without overflow issues in the intermediate nodes. The following table summarizes the set of modules that are available in this library. FILTER LIBRARY |===============|======================================================================| | Module Name | Description | |===============|======================================================================| | FIR16 | Generic FIR Filter (16-bit implementation) | |---------------|----------------------------------------------------------------------| | IIR5BIQ16 | Cascade IIR filter (16-bit implementation) | |---------------|----------------------------------------------------------------------| | IIR5BIQ32 | Cascade IIR filter (32-bit implementation) | |======================================================================================| DOCUMENTATION: |===============|======================================================================| | DOC | DIRECTORY LOCATION | |===============|======================================================================| | MODULE DOC | C:\TIDCS\C28\DSP_TBOX\FILTER\DOC\FILTER_MDL.PDF | |---------------|----------------------------------------------------------------------| | ezFIR DOC | C:\TIDCS\C28\DSP_TBOX\FILTER\DOC\EZFIR.PDF | |---------------|----------------------------------------------------------------------| | ezIIR DOC | C:\TIDCS\C28\DSP_TBOX\FILTER\DOC\EZIIR.PDF | |======================================================================================| Version History: ================ Version 0.9c dated 01/12/2002 ============================= 1. Corrected comments in the files Version 0.9b dated 04/07/2004 ============================= 1. 2 Const(PosSatVal:,NegSatVal) are defined in fir16.asm If they are linked in different Pages, the Filter does not work. Fixed this bug Version 0.9a dated 12/06/2003 ============================= 1. Some the math function had .ref being used in the *.asm, it is changed to .def Because of this bug, compiler was reporting that the function name is not available. 2. Most of the functions did not clear the OVM flag at the end, it is modified. 3. ASP & NASP is been used within functions, we should not disturb the ASP bit. It is meant for only interrupt handler. Called function should not change this bit.

近期下载者

相关文件


收藏者