AIC10/11 EVM Software Driver and Application Examples
5-4
5.3
AIC10/11 EVM Software Driver and Application Examples
The newly developed software driver consists of the basic DSP McBSP and
AIC10/11 software initialization or configuration programs. Also a
plug-and-
play algorithm is applied to perform the AIC10/11 hardware configuration auto-
identification and configuration of the AIC10/11 control registers. The system
driver programs are written in TMS320C54x assembly language.
Additionally, some application examples have been developed to help users
in evaluating, testing, and applying the devices. These application examples
are arranged into a main loop that repeats at a programmable rate, such as
16 KHz. Two interrupt service routines are developed. One interrupt service
interfaces with McBSP0, and another routine interfaces with McBSP1. All
application examples are in C code.
5.3.1
Software Structure
There are four groups of AIC10/11 software code:
system, source, include,
and
library. Figure 5–1 illustrates the basic structure of the software code. The
programs in the
system group are mainly the DSP memory mapping and
program linking commands. Those in the
source group are the major
programs. The head files in the
include group define all variables or
parameters for the corresponding source code. The
library group contains the
C54xx assembly library and other frequently used routines or macros.
Figure 5–1. Basic Structure of Software Code
AIC10/11 SW
System
Source
Include
Library
AIC10EVM.cmd
AIC10Main .c
LoopControl.asm
C5402Vec .asm
C5402Init .asm
AIC10Init .asm
DTMFTone .c
SecurityVoice .c
EchoCancel .c
VoiceOverIP .c
IntrSrvc .c
Rts.lib
MMRegs .h
AIC10Init .h
DTMFTone .h
SecurityVoice .h
EchoCancel .h
VoiceOverIP .h
IntrSrvc .h
5.3.2
System Management Source Programs
There are several source programs functioning as the EVM system manage-
ment. These can be the same or very similar for different applications, and
therefore can be reusable. They are:
Summary of Contents for TLV320AIC10 EVM
Page 1: ... January 2001 AAP Data Converters User s Guide SLWU003D ...
Page 4: ...iv ...
Page 12: ...1 6 ...
Page 34: ...5 6 ...
Page 38: ...Printed Circuit Board Rev C 6 4 Figure 6 3 Printed Circuit Board Layer 1 Rev C ...
Page 40: ...Printed Circuit Board Rev C 6 6 Figure 6 5 Printed Circuit Board Layer 3 Rev C ...
Page 42: ...Printed Circuit Board Rev C 6 8 Figure 6 7 Printed Circuit Board Layer 5 Rev C ...