📄 readme.txt
字号:
-------------------------------------------------------------------------------
Example: Talkthru Digital In-Analog Out (P8=Input, J5 and P7=Output)
Target: ADSP-21369
Date: July 29, 2005
Tools: VisualDSP++ 4.0
Hardware: ADSP-21369 EZ-KIT LITE
-------------------------------------------------------------------------------
Multichannel talk-through (stereo in -> four stereo pairs out)
TalkThrough reads audio samples from the on-chip SPDIF receiver and it
passes the unmodified data through to the four DACs of the AD1835.
Each interrupt reads a 24-bit sample (alternating left and right) using
SPORT0 and immediately writes the same value to both the A and B data channels
of SPORT1 and SPORT2. All audio is transmitted in I2S mode. An MCLK is derived
from the SPDIF input stream, as well as the bit clock and the frame sync. All are
driven to the Codec.
The SPDIF data is sent to all four DACs.
-------------------------------------------------------------------------------
Instructions: Download the executable to the EZ-KIT. There are no user
controls or visual outputs.
All switches on SW3 should be OFF.
-------------------------------------------------------------------------------
Source Files contained in this directory:
21369_IVT.asm Interrupt vector table code
ADSP-21369-EZKIT.ldf Linker description file
ad1835.h Header with constants for controlling the audio codec
main.asm Calls initialization routines then waits for interrupts
init1835viaSPI.asm Initializes the codec
initSRU.asm Initializes the SRU & DAI/DPI pins
initPLL_SDRAM.asm Configures the DSP to run at CCLK= 393.21 MHz & SDCLK= 157.28 MHz.
initSPORT.asm Initializes the transmit and receive serial ports
initSPDIF.asm Initializes the SPDIF receiver
SPORTisr.asm The interrupt service routine
Talkthru Digital In-Analog Out.dpj VisualDSP Project File
-------------------------------------------------------------------------------
Dependencies contained in VisualDSP++ default include path:
def21369.h Header with constants for the SHARC
SRU.h Macro to simplify programming the SRU & DAI/DPI pins
*******************************************************************************
Analog Devices, Inc.
DSP Division
One Technology Way
Norwood, MA 02062
(c) 2005 Analog Devices, Inc. All rights reserved.
*******************************************************************************
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -