FIR

所属分类:其他
开发工具:Visual C++
文件大小:81KB
下载次数:4
上传日期:2017-07-11 06:23:20
上 传 者枫叶丶回忆
说明:  用DSP实现 FIR,IIR等4种滤波器滤波功能,已经有硬件仿真
(Using DSP to achieve FIR, IIR and other 4 filter filtering function)

文件列表:
FIR (0, 2017-06-07)
FIR\21489 AD1939 C Block-Based Talkthru 48 or 96 kHz.dpj (20507, 2017-06-07)
FIR\21489 AD1939 C Block-Based Talkthru 48 or 96 kHz.mak (6650, 2017-06-07)
FIR\21489 AD1939 C Block-Based Talkthru 48 or 96 kHz.pcf (9725, 2017-06-22)
FIR\ad1939.h (7717, 2014-09-17)
FIR\ADDS_21489_EzKit.h (1380, 2017-05-31)
FIR\blockProcess_audio.c (9795, 2017-06-07)
FIR\data.txt (2816, 2017-06-07)
FIR\Debug (0, 2017-06-07)
FIR\Debug\21489 AD1939 C Block-Based Talkthru 48 or 96 kHz.dxe (179288, 2017-06-07)
FIR\Debug\21489 AD1939 C Block-Based Talkthru 48 or 96 kHz.ldr (34366, 2003-05-05)
FIR\Debug\21489 AD1939 C Block-Based Talkthru 48 or 96 kHz.log (2679, 2017-06-07)
FIR\Debug\blockProcess_audio.doj (101920, 2017-06-07)
FIR\Debug\init1939viaSPI.doj (14132, 2017-06-07)
FIR\Debug\initSPORT01_TDM_mode.doj (38360, 2017-06-07)
FIR\Debug\initSRU.doj (13488, 2017-06-07)
FIR\Debug\init_PLL_SDRAM.doj (6916, 2017-06-07)
FIR\Debug\linker_log.xml (3176, 2017-06-07)
FIR\Debug\Main.doj (4976, 2017-06-07)
FIR\Debug\multiply.doj (3856, 2017-06-07)
FIR\Debug\SPORT1_isr.doj (5504, 2017-06-07)
FIR\init1939viaSPI.c (7416, 2014-09-17)
FIR\initSPORT01_TDM_mode.c (4493, 2014-09-17)
FIR\initSRU.c (8448, 2014-09-17)
FIR\init_PLL_SDRAM.c (4404, 2014-09-17)
FIR\input.dat (9945, 2017-05-26)
FIR\Main.c (3812, 2017-06-07)
FIR\multiply.c (310, 2017-06-07)
FIR\output.dat (12685, 2017-05-26)
FIR\SPORT1_isr.c (1564, 2014-09-17)

------------------------------------------------------------------------------- Example: C Block-based talkthrough (using 48kHz or 96 kHz sample rates) Target: ADSP-21489 Date: February 23,2010 Tools: VisualDSP++ 5.0 ADSP-21479 and 21489 EZ-Boards, VisualDSP++5.0 Update8, and above Hardware: ADSP-21489 EZ-board ------------------------------------------------------------------------------- This project contains a talkthrough example using the onboard AD1939 to acquire and output an audio stream. The digital audio data is available for processing in the file SPORT1_isr.c. The block size is 256 samples per audio channel. The AD1939 can be set up for 48/96/192 Khz Sampling rate. The ADC is connected to SPORT 0A. DAC1 is connected to SPORT 1A, DAC2 to SPORT 1A, DAC3 to SPORT1A, and DAC4 (Headphone output) to SPORT1A. All channels of the codec are accessed in TDM mode. See initSRU.c for the details of which DAI pins are used to access the codec. ------------------------------------------------------------------------------- Instructions: Apply an input signal to J4/J5 bottom rows on the ADSP-21489 EZ-board, and attach an output device to the selected middle or top row channels of J4/J5. Input to ADC IN 1 gives output on DAC OUT1 and DAC OUT2 and Input to ADC IN2 gives output on DAC OUT3 and DAC OUT4. Input/Output combinations: J4 bottom row RCA connectors - ADC IN 1 Left/Right Channels - J4 middle row RCA connectors - DAC OUT 1 Left/Right Channel - J5 middle row RCA connectors - DAC OUT 2 Left/Right Channels J5 bottom row RCA connectors - ADC IN 2 Left/Right Channels - J4 top row RCA connectors - DAC OUT 3 Left/Right Channels - J5 top row RCA connectors - DAC OUT 4 Left/Right Channels - Headphone jack (H) | J8 | J4 | J5 | --------------------------------------- | | *O3l* | *O3r* | *O4l* | *O4r* | | | +O1l+ | +O1r+ | +O2l+ | +O2r+ | | *H* | +I1l+ | +I1r+ | *I2l* | *I2r* | --------------------------------------- Switch settings for rev 0.2 EZ-Board: SW1 ON, ON, ON, ON, ON, ON, ON, ON SW2 ON, ON, ON, ON, OFF, OFF, ON, ON SW3 ALL ON SW15-18 ON, OFF, ON, OFF, ON, OFF SW23 ALL ON SW24 ALL OFF SW25 ALL OFF NOTE: If the application is halted within the VDSP system, the executable should be reloaded to the target to ensure proper operation. ------------------------------------------------------------------------------- Source Files contained in this directory: 21489 AD1939 C Block-Based Talkthru 48 or 96 kHz.dpj VisualDSP project file ad1939.h Macro Definitions for AD1939 registers ADDS_21489_EzKit.h Includes and external declarations used for all files blockProcess_audio.c Process the audio data in the current block init1939viaSPI.c ADSP-21489 source - AD1939 SPI Control Port Subroutines init_PLL_SDRAM.c Configures core for 400 MHz and enables SDRAM memory initSRU.c Set up the DAI pins and SRU to connect to the AD1939 main.c Main section to call setup routines initSPORT01_TDM_mode.c Initialize the SPORT DMA to communicate with the AD1939 SPORT1_isr.c Process SPORT 1 interrupts ------------------------------------------------------------------------------- Dependencies contained in VisualDSP++ default include path: def21489.h Header file with generic definitions for ADSP-21489 SRU.h Header file with SRU definitions and Macros ******************************************************************************* Analog Devices, Inc. DSP Division Three Technology Way Norwood, MA 02062 (c) 2010 Analog Devices, Inc. All rights reserved. *******************************************************************************

近期下载者

相关文件


收藏者