FFT-CCS

所属分类:DSP编程
开发工具:C/C++
文件大小:813KB
下载次数:28
上传日期:2011-05-25 23:38:22
上 传 者xuyuc12345
说明:  DSP 中FFT的各种代码,包含各种文档,很值得参考,欢迎下载……
(In all sorts of FFT for DSP, includes various documents,and code is worth reference, welcome to download... )

文件列表:
fft (0, 2004-10-29)
fft\clib (0, 2004-10-29)
fft\clib\build (0, 2004-10-29)
fft\clib\build\build.bat (2326, 2002-02-28)
fft\clib\include (0, 2004-10-29)
fft\clib\include\fft.h (38623, 2002-03-01)
fft\clib\lib (0, 2004-10-29)
fft\clib\lib\fft.lib (16198, 2003-11-07)
fft\clib\lst (0, 2004-10-29)
fft\clib\lst\cfft32aq.lst (4182, 2003-11-07)
fft\clib\lst\cfft32br1.lst (6340, 2003-11-07)
fft\clib\lst\cfft32br2.lst (5323, 2003-11-07)
fft\clib\lst\cfft32c.lst (58157, 2003-11-07)
fft\clib\lst\cfft32i.lst (67065, 2003-11-07)
fft\clib\lst\cfft32m.lst (5606, 2003-11-07)
fft\clib\lst\cfft32w.lst (4402, 2003-11-07)
fft\clib\lst\cfft32z.lst (4268, 2003-11-07)
fft\clib\lst\rfft32aq.lst (4735, 2003-11-07)
fft\clib\lst\rfft32br.lst (5230, 2003-11-07)
fft\clib\lst\rfft32m.lst (5544, 2003-11-07)
fft\clib\lst\rfft32s.lst (17117, 2003-11-07)
fft\clib\lst\rfft32w.lst (5367, 2003-11-07)
fft\clib\obj (0, 2004-10-29)
fft\clib\obj\cfft32aq.obj (643, 2003-11-07)
fft\clib\obj\cfft32br1.obj (935, 2003-11-07)
fft\clib\obj\cfft32br2.obj (822, 2003-11-07)
fft\clib\obj\cfft32c.obj (2769, 2003-11-07)
fft\clib\obj\cfft32i.obj (3733, 2003-11-07)
fft\clib\obj\cfft32m.obj (734, 2003-11-07)
fft\clib\obj\cfft32w.obj (664, 2003-11-07)
fft\clib\obj\cfft32z.obj (554, 2003-11-07)
fft\clib\obj\rfft32aq.obj (699, 2003-11-07)
fft\clib\obj\rfft32br.obj (818, 2003-11-07)
fft\clib\obj\rfft32m.obj (718, 2003-11-07)
fft\clib\obj\rfft32s.obj (1284, 2003-11-07)
fft\clib\obj\rfft32w.obj (748, 2003-11-07)
fft\clib\src (0, 2004-10-29)
fft\clib\src\cfft32aq.asm (2234, 2002-02-27)
fft\clib\src\cfft32br1.asm (3602, 2002-02-27)
fft\clib\src\cfft32br2.asm (2968, 2002-02-27)
... ...

;************************************************************************************* ;*********************** SECTION 1: FFT LIBRARY *********************************** ;************************************************************************************* Thank you for trying C28x Software Collateral. FFT Library is installed in C:\TIDCS\C28\DSP_TBOX\FFT directory. Fast Fourier Transforms are an efficient class of algorithms for the digital computation of the N-point Fourier transform (DFT). In general, their input sequence are assumed to be complex. In many real applications, the data sequences to be processed are real valued. Even though the data is real, complex-valued DFT algorithm can still be used. One simple approach creates a complex sequence from the real sequence; that is, real data for the real components and zeros for the imaginary components, The complex FFT can then be =applied directly. However, this method is not efficient as it consumes 2N memory locations (Real & Imaginary) for N point sequence. When input is purely real, their symmetric properties compute DFT very efficiently. One such optimized real FFT algorithm for 2N-point real data sequence is packing algorithm. The original 2N-point sequence is packed as N-point complex sequence and N -point complex FFT is performed on the complex sequence. Finally the resulting N -point complex output is unpacked into another N+1 point complex sequence, which corresponds to spectral bin 0 to N of 2N-point real input sequence. Spectral bin 0 to N is sufficient, as the remaining bins N+1 to 2N-1 are complex conjugates of spectral bins N-1 to 1. The real FFT requires 2N+2 memory locations to compute the FFT for 2N-point real valued sequence, which is highly preferable in contrast to the complex FFT that consumes 4N-locations for 2N-point real valued sequence. Moreover using this strategy, the complex FFT size can be reduced by half, at the FFT cost function of O(N) operations to pack the input and unpack the output. Hence, the real FFT algorithm computes the FFT of a real input sequence almost twice as fast as the general FFT algorithm. This FFT library contains generic FFT module (32-bit implementation) for real/complex FFT. FFT LIBRARY |===============|======================================================================| | Module Name | Description | |===============|======================================================================| | CFFT32 | 32-bit complex FFT module | |---------------|----------------------------------------------------------------------| | RFFT32 | 32-bit Real FFT module | |======================================================================================| DOCUMENTATION: |===============|======================================================================| | DOC | DIRECTORY LOCATION | |===============|======================================================================| | MODULE DOC | C:\TIDCS\C28\DSP_TBOX\FFT\DOC\FFT_MDL.PDF | |======================================================================================| Version History: ================ 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. 4. RFFT_acq function routine required on more call to clear the "acqflag" after the "count" reaches "0" and all the data is stored in the "ipcb" buffer. Fixed this bug such that "acqflag" is cleared when the last data is aquired.

近期下载者

相关文件


收藏者