Audio codec talkthrough
所属分类:嵌入式/单片机/硬件编程
开发工具:MultiPlatform
文件大小:60KB
下载次数:46
上传日期:2004-11-07 14:11:24
上 传 者:
yenom
说明: BF533 与音频解码器连接回放代码
(BF533 CONNECT WITH AUDIO DECODER SOURCE CODE)
文件列表:
Audio codec talkthrough (0, 2004-07-04)
Audio codec talkthrough\ASM (0, 2004-07-04)
Audio codec talkthrough\ASM\I2S (0, 2004-07-04)
Audio codec talkthrough\ASM\I2S\main.asm (3832, 2004-05-21)
Audio codec talkthrough\ASM\I2S\ADSP-BF533_ASM.ldf (1529, 2004-05-21)
Audio codec talkthrough\ASM\I2S\ASM_Talkthrough_I2S.dpj (6546, 2004-05-21)
Audio codec talkthrough\ASM\I2S\initialization.asm (8226, 2004-05-21)
Audio codec talkthrough\ASM\I2S\interrupts.asm (2143, 2004-05-21)
Audio codec talkthrough\ASM\I2S\Process_Data.asm (1340, 2004-05-21)
Audio codec talkthrough\ASM\I2S\startup.asm (6697, 2004-05-21)
Audio codec talkthrough\ASM\I2S\startup.h (905, 2004-05-21)
Audio codec talkthrough\ASM\I2S\Talkthrough.h (2539, 2004-05-21)
Audio codec talkthrough\ASM\TDM (0, 2004-07-04)
Audio codec talkthrough\ASM\TDM\ADSP-BF533_ASM.ldf (1529, 2004-05-21)
Audio codec talkthrough\ASM\TDM\ASM_Talkthrough_TDM.dpj (6546, 2004-05-21)
Audio codec talkthrough\ASM\TDM\initialization.asm (8204, 2004-05-21)
Audio codec talkthrough\ASM\TDM\interrupts.asm (2182, 2004-05-21)
Audio codec talkthrough\ASM\TDM\main.asm (3356, 2004-05-21)
Audio codec talkthrough\ASM\TDM\Process_Data.asm (1341, 2004-05-21)
Audio codec talkthrough\ASM\TDM\startup.asm (6675, 2004-05-21)
Audio codec talkthrough\ASM\TDM\startup.h (905, 2004-05-21)
Audio codec talkthrough\ASM\TDM\Talkthrough.h (2580, 2004-05-21)
Audio codec talkthrough\C (0, 2004-07-04)
Audio codec talkthrough\C\I2S (0, 2004-07-04)
Audio codec talkthrough\C\I2S\C_Talkthrough_I2S.dpj (5255, 2004-05-21)
Audio codec talkthrough\C\I2S\C_Talkthrough_I2S.dxe (42228, 2004-05-21)
Audio codec talkthrough\C\I2S\Initialize.c (5815, 2004-05-21)
Audio codec talkthrough\C\I2S\ISR.c (1524, 2004-05-21)
Audio codec talkthrough\C\I2S\main.c (3812, 2004-05-21)
Audio codec talkthrough\C\I2S\Process_data.c (959, 2004-05-21)
Audio codec talkthrough\C\I2S\Talkthrough.h (2798, 2004-05-21)
Audio codec talkthrough\C\TDM (0, 2004-07-04)
Audio codec talkthrough\C\TDM\C_Talkthrough_TDM.dpj (5255, 2004-05-21)
Audio codec talkthrough\C\TDM\C_Talkthrough_TDM.dxe (43036, 2004-05-21)
Audio codec talkthrough\C\TDM\Initialize.c (5907, 2004-05-21)
Audio codec talkthrough\C\TDM\ISR.c (1624, 2004-05-21)
Audio codec talkthrough\C\TDM\main.c (3693, 2004-05-21)
... ...
*********************************************************************************************
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.
近期下载者:
相关文件:
收藏者: