⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 ADI 公司的DSP ADSP21262 EZ-KIT LITE开发板的全部源代码
💻 TXT
字号:
-------------------------------------------------------------------------------
Example: TalkThrough - SPDIF Input, Analog Output (P1=Input, J5 and J6=output)
Target: ADSP-21262
Date: September 19, 2003
Tools: VisualDSP++ 3.5
Hardware: ADSP-21262 EZ-KIT LITE
-------------------------------------------------------------------------------
Multichannel analog talk-through (stereo in -> four stereo pairs out)

TalkThrough reads digital data from the onboard SPDIF receiver, and it
passes the unmodified data through to the four DACs.  Each interrupt reads a
single 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.  All clocks are recovered by the receiver
and routed through the SRU to the SPORTs and DACs.  When the SPDIF receiver
signals that the audio stream in not linear PCM, the ISR mutes the output.
-------------------------------------------------------------------------------
Instructions: Download the executable to the EZ-KIT.  There are no user
controls or visual outputs.  The four stereo output pairs are identical.
-------------------------------------------------------------------------------
Source Files contained in this directory:
21262_IVT.asm          Interrupt vector table code
ADSP-21262-EZKIT.ldf         Linker description file
cs8416.h               Macro Definitions for SPDIF receiver registers
ad1835.h               Header with constants for controlling the audio codec
main.asm               Calls initialization routines then waits for interrupts
init1835viaSPI.asm     Initializes the codec
init8416viaSPI.asm     Initializes theSPDIF receiver
initDAI.asm            Initializes the SRU & DAI pins
initSPORT.asm          Initializes the transmit and receive serial ports
SPORTisr.asm           The interrupt service routine
Talkthru Digital In-Analog Out.dpj      VisualDSP Project File
-------------------------------------------------------------------------------
Dependencies contained in VisualDSP++ default include path:
def21262.h             Header with constants for the SHARC
SRU.h                  Macro to simplify programming the SRU & DAI pins
-------------------------------------------------------------------------------
The DIP switches should be set as follows:
  SW6: off-off-off-off
  SW7: off-off-off-on
  SW8: on-on-on-on-on-on
  SW9: on-on-on-on-on-on
  SW10: off-on-off-on
*******************************************************************************
Analog Devices, Inc.
DSP Division
One Technology Way
Norwood, MA 02062

(c) 2003 Analog Devices, Inc.  All rights reserved.
*******************************************************************************

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -