-------------------------------------------------------------------------------
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.
*******************************************************************************
没有合适的资源?快使用搜索试试~ 我知道了~
DSP实验音频 DSP 片上资源应用
共37个文件
c:12个
doj:9个
dat:3个
需积分: 0 0 下载量 103 浏览量
2023-05-05
17:29:36
上传
评论 1
收藏 377KB ZIP 举报
温馨提示
音频 DSP 片上资源应用;;含代码、工程文件;直接跑即可
资源推荐
资源详情
资源评论
收起资源包目录
DSP实验音频 DSP 片上资源应用.zip.zip (37个子文件)
blockProcess_audio.c 7KB
simMain.c 3KB
21489 AD1939 C Block-Based Talkthru 48 or 96 kHz
SPORT1_isr.c 2KB
blockProcess_audio.c 6KB
21489 AD1939 C Block-Based Talkthru 48 or 96 kHz.pcf 3KB
21489 AD1939 C Block-Based Talkthru 48 or 96 kHz.dpj 19KB
21489 AD1939 C Block-Based Talkthru 48 or 96 kHz.mak 6KB
out 0B
initSPORT01_TDM_mode.c 4KB
ADDS_21489_EzKit.h 1KB
Core Timer_C
core_timer.c 1000B
Core Timer_C.dpj 11KB
init_PLL_SDRAM.c 4KB
readme.txt 2KB
init_PLL_SDRAM.c 4KB
initSRU.c 8KB
in.dat 347KB
sin2.dat 7KB
Debug
initSRU.doj 13KB
core_timer.doj 6KB
init_PLL_SDRAM.doj 7KB
linker_log.xml 5KB
multiply.doj 4KB
initSPORT01_TDM_mode.doj 38KB
21489 AD1939 C Block-Based Talkthru 48 or 96 kHz.ldr 87KB
21489 AD1939 C Block-Based Talkthru 48 or 96 kHz.dxe 136KB
SPORT1_isr.doj 5KB
21489 AD1939 C Block-Based Talkthru 48 or 96 kHz.log 2KB
Main.doj 21KB
blockProcess_audio.doj 28KB
init1939viaSPI.doj 14KB
ad1939.h 8KB
init1939viaSPI.c 7KB
readme.txt 4KB
Main.c 1KB
multiply.c 312B
in.dat 347KB
共 37 条
- 1
资源评论
&\
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功