?? readme.txt
字號:
-------------------------------------------------------------------------------
Example: C Block TalkThrough Digital in Analog out
Target: ADSP-21262
Date: September 19, 2003
Tools: VisualDSP++ 3.5
Hardware: ADSP-21262 EZ-KIT LITE - Revision 1.4
-------------------------------------------------------------------------------
This project contains a talkthrough example using the onboard CS8416 to acquire
and the AD1835 to output an audio stream. The digital audio data is available for
processing in the file isr.c. The block size is 1024 samples.
The sample rate is dictated by the received SPDIF stream coming in as I2S through
SPORT 0A. DAC1 is connected to SPORT 1A, DAC2 to SPORT 1B, DAC3 to SPORT2A, and
DAC4 (Headphone output) to SPORT2B. All channels of the codec are accessed in
I2S mode. See initDAI.c for the details of which DAI pins are used to access the
codec. Use #defines to select the output channel. DAC4 is the only channel
enabled by default.
-------------------------------------------------------------------------------
Instructions: Apply an SPDIF signal to P1 on the ADSP-21262 EZ-KIT LITE, and
attach an output device to the selected channel(s) of J5.
-------------------------------------------------------------------------------
Source Files contained in this directory:
CTalkThrough-block.dpj VisualDSP project file
init1835viaSPI.c ADSP-21262 source - SPI Flash Subroutines
initDAI.c Set up the DAI to connect to the AD1835
main.c Main section to call setup routines
initSPORT.c Initialize the SPORT DMA to communicate with the AD1835
irqprocess.c Set up and process IRQ1 and IRQ2 (Pushbutton) interrupts
isr.c Process SPORT 0 interrupts
blockProcess.c Process the audio data in the current block
ad1835.h Macro Definitions for AD1835 registers
cs8416.h Macro Definitions for SPDIF receiver registers
tt.h Includes and external declarations used for all files
CTalkThrough.ldf Linker description file
-------------------------------------------------------------------------------
Dependencies contained in VisualDSP++ default include path:
def21262.h Header file with generic definitions for ADSP-21262
SRU.h Header file with SRU definitions and Macros
-------------------------------------------------------------------------------
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 + -