?? readme.txt
字號:
*********************************************************************************************
ADSP-BF533 EZ-KIT Lite C Based AD1836 TALKTHRU
Analog Devices, Inc.
DSP Division
Three Technology Way
P.O. Box 9106
Norwood, MA 02062
Date Created: 04/03/03
____________________________________________________________________________________________
This directory contains an example ADSP-BF533 subroutine that demonstrates the
initialization of the link between SPORT0 on the ADSP-BF533 and the AD1836
stereo Codec. This is done by initializing the link in I2S mode and implementing
a simple talk-through routine.
Files contained in this directory:
readme.txt this file
main.c C file containing the main program and variable declaration
Initialize.c C file containing all initialisation routines
ISR.c C file containing the interrupt service routine for
SPORT0_RX
Process_data.c C file for processing incoming data
Talkthrough.h C header file containing prototypes and macros
C_Talkthrough_I2S.dpj VisualDSP++ project file
____________________________________________________________________________________________
CONTENTS
I. FUNCTIONAL DESCRIPTION
II. IMPLEMENTATION DESCRIPTION
III. OPERATION DESCRIPTION
I. FUNCTIONAL DESCRIPTION
The Talkthru demo demonstrates the initialization of SPORT0 to establish a link
between the ADSP-BF533 and the AD1836 Codec.
The program simply sets up the SPI port to configure the AD1836 codec in I2S mode.
SPORT0 is then setup to receive/transmit audio samples from the AD1836. Audio
samples received from the AD1836 are moved into the DSP's receive buffer, using
DMA. The samples are processed by the ADSP-BF533 and place in the transmit buffer.
In turn, the transmit buffer is used to transmit data to the AD1836. This results
in a simple talk-through where data is moved in and out of the DSP without
performing any computations on the data.
II. IMPLEMENTATION DESCRIPTION
The Initialization module initializes:
1. EBIU setup
2. Flash setup
3. SPI setup to initialize AD1836 codec
4. SPORT0 setup
5. DMA setup
6. Interrupt configuration
III. OPERATION DESCRIPTION
- Open the project "C_Talkthrough_I2S.dpj" in an ADSP-BF533 EZ-KIT Lite session in the
VisualDSP Integrated Development Environment (IDDE).
- Under the "Project" tab, select "Build Project" (program is then loaded
automatically into DSP).
- Turn pin 5 and 6 of SW9 on the AD-BF533 EZ-KIT Lite ON, these will connect
RSCLK0 -> TSCLK0 and RFS0 -> TFS0.
- Setup an input source (such as a radio) to the audio in jack and an output
source (such as headphones) to the audio out jack of the EZ-KIT Lite. See the
ADSP-BF533 EZ-KIT Lite User's Manual for more information on setting up the
hardware.
- Select "Run" from the "Debug" tab on the menu bar of VisualDSP.
- Listen to the operation of the talk-through.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -