Texas Instruments TLV320AIC23EVM - User guide

Type
User guide

     
    
June 2001 Digital Audio Products
Users Guide
SLEU003
IMPORTANT NOTICE
Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue
any product or service without notice, and advise customers to obtain the latest version of relevant information
to verify, before placing orders, that information being relied on is current and complete. All products are sold
subject to the terms and conditions of sale supplied at the time of order acknowledgment, including those
pertaining to warranty, patent infringement, and limitation of liability.
TI warrants performance of its products to the specifications applicable at the time of sale in accordance with
TI’s standard warranty. Testing and other quality control techniques are utilized to the extent TI deems necessary
to support this warranty. Specific testing of all parameters of each device is not necessarily performed, except
those mandated by government requirements.
Customers are responsible for their applications using TI components.
In order to minimize risks associated with the customers applications, adequate design and operating
safeguards must be provided by the customer to minimize inherent or procedural hazards.
TI assumes no liability for applications assistance or customer product design. TI does not warrant or represent
that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other
intellectual property right of TI covering or relating to any combination, machine, or process in which such
products or services might be or are used. TI’s publication of information regarding any third party’s products
or services does not constitute TI’s approval, license, warranty or endorsement thereof.
Reproduction of information in TI data books or data sheets is permissible only if reproduction is without
alteration and is accompanied by all associated warranties, conditions, limitations and notices. Representation
or reproduction of this information with alteration voids all warranties provided for an associated TI product or
service, is an unfair and deceptive business practice, and TI is not responsible nor liable for any such use.
Resale of TI’s products or services with
statements different from or beyond the parameters
stated by TI for
that product or service voids all express and any implied warranties for the associated TI product or service,
is an unfair and deceptive business practice, and TI is not responsible nor liable for any such use.
Also see: Standard Terms and Conditions of Sale for Semiconductor Products.
www.ti.com/sc/docs/stdterms.htm
Mailing Address:
Texas Instruments
Post Office Box 655303
Dallas, Texas 75265
Copyright 2001, Texas Instruments Incorporated
EVM IMPORTANT NOTICE
Texas Instruments (TI) provides the enclosed product(s) under the following conditions:
This evaluation kit being sold by TI is intended for use for ENGINEERING DEVELOPMENT
OR EVALUATION PURPOSES ONLY and is not considered by TI to be fit for commercial use.
As such, the goods being provided may not be complete in terms of required design-,
marketing-, and/or manufacturing-related protective considerations, including product safety
measures typically found in the end product incorporating the goods. As a prototype, this
product does not fall within the scope of the European Union directive on electromagnetic
compatibility and therefore may not meet the technical requirements of the directive.
Should this evaluation kit not meet the specifications indicated in the EVM User’s Guide, the
kit may be returned within 30 days from the date of delivery for a full refund. THE FOREGOING
WARRANTY IS THE EXCLUSIVE WARRANTY MADE BY SELLER TO BUYER AND IS IN
LIEU OF ALL OTHER WARRANTIES, EXPRESSED, IMPLIED, OR STATUTORY,
INCLUDING ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY
PARTICULAR PURPOSE.
The user assumes all responsibility and liability for proper and safe handling of the goods.
Further, the user indemnifies TI from all claims arising from the handling or use of the goods.
Please be aware that the products received may not be regulatory compliant or agency
certified (FCC, UL, CE, etc.). Due to the open construction of the product, it is the user’s
responsibility to take any and all appropriate precautions with regard to electrostatic
discharge.
EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE, NEITHER PARTY
SHALL BE LIABLE TO THE OTHER FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES.
TI currently deals with a variety of customers for products, and therefore our arrangement with
the user is not exclusive.
TI assumes no liability for applications assistance, customer product design, software
performance, or infringement of patents or services described herein.
Please read the EVM User’s Guide and, specifically, the EVM Warnings and Restrictions
notice in the EVM User’s Guide prior to handling the product. This notice contains important
safety information about temperatures and voltages. For further safety concerns, please
contact the TI application engineer.
Persons handling the product must have electronics training and observe good laboratory
practice standards.
No license is granted under any patent right or other intellectual property right of TI covering
or relating to any machine, process, or combination in which such TI products or services
might be or are used.
Mailing Address:
Texas Instruments
Post Office Box 655303
Dallas, Texas 75265
Copyright 2001, Texas Instruments Incorporated
EVM WARNINGS AND RESTRICTIONS
It is important to operate this EVM within the specified input and output ranges described in
the EVM User’s Guide.
Exceeding the specified input range may cause unexpected operation and/or irreversible
damage to the EVM. If there are questions concerning the input range, please contact a TI
field representative prior to connecting the input power.
Applying loads outside of the specified output range may result in unintended operation and/or
possible permanent damage to the EVM. Please consult the EVM User’s Guide prior to
connecting any load to the EVM output. If there is uncertainty as to the load specification,
please contact a TI field representative.
During normal operation, some circuit components may have case temperatures greater than
60°C. The EVM is designed to operate properly with certain components above 60°C as long
as the input and output ranges are maintained. These components include but are not limited
to linear regulators, switching transistors, pass transistors, and current sense resistors. These
types of devices can be identified using the EVM schematic located in the EVM User’s Guide.
When placing measurement probes near these devices during operation, please be aware
that these devices may be very warm to the touch.
Mailing Address:
Texas Instruments
Post Office Box 655303
Dallas, Texas 75265
Copyright 2001, Texas Instruments Incorporated
Related Documentation From Texas Instruments
iii
Preface
Read This First
About This Manual
How to Use This Manual
This document contains the following chapters:
Chapter 1—Introduction to the TLV320AIC23EVM Control Software
Chapter 2—EVM Board Overview
Chapter 3—Software Functional Overview
Chapter 4—Host GUI Application
Chapter 5—DSP Application
Chapter 6—Host Software Development Support
Related Documentation From Texas Instruments
A number of reference sources were used in the development of this
document. The documents used are listed below:
TI document: TLV320AIC23, Stereo Audio CODEC, 8 to 96-kHz, With
Integrated Headphone Amplifier, June 2001, literature number SLWS106.
TI document: TLV320DAC23, Stereo Audio D/A Converter, 8 to 96-kHz,
With Integrated Headphone Amplifier, June 2001, literature number
SLES001.
Trademarks
iv
This equipment is intended for use in a laboratory test environment only. It
generates, uses, and can radiate radio frequency energy and has not been
tested for compliance with the limits of computing devices pursuant to subpart
J of part 15 of FCC rules, which are designed to provide reasonable protection
against radio frequency interference. Operation of this equipment in other
environments may cause interference with radio communications, in which
case the user at his own expense will be required to take whatever measures
may be required to correct this interference.
Trademarks
Windows is a registered trademark of Microsoft Corporation. All other trade-
marks are the property of their respective owners.
Contents
v
Contents
1 Introduction to the TLV320AIC23EVM Control Software 1-1. . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1 Acronyms 1-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 EVM Board Overview 2-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1 Digital Interfaces 2-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2 Analog Interfaces 2-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3 Power Supply 2-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4 Connectors and Jumpers 2-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5 Configuration for DSP Connection With Supplied Software 2-4. . . . . . . . . . . . . . . . . . . . . . .
2.6 Configuration for USB Connection With USB Audio Support 2-5. . . . . . . . . . . . . . . . . . . . . .
3 Software Functional Overview 3-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.1 Software Component Summary 3-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2 Host GUI Application 3-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3 DSP Application 3-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.4 Host Software Development Support 3-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4 Host GUI Application 4-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1 Operation 4-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1.1 Main Dialog 4-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1.2 Digital Control Dialog 4-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1.3 Analog Control Dialog 4-7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1.4 Registers Dialog 4-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2 Implementation 4-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5 DSP Application 5-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1 Operation 5-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.2 Implementation 5-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6 Host Software Development Support 6-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.1 User Mode API 6-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.1.1 Functional Overview 6-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.1.2 API Summary 6-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.1.3 API Detail 6-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.2 Board Drivers 6-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.2.1 Functional Overview 6-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.2.2 PPC Driver API 6-9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
vi
A BOMs, Board Layers, and Schematics A-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.1 TLV320AIC23EVM Bill of Materials A-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.2 TLV320DAC23EVM Bill of Materials A-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.3 Board Layers A-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A.3 TLV320AIC23EVM and TLV320DAC23EVM Schematics A-18. . . . . . . . . . . . . . . . . . . . . . . .
Figures
2–1 TLV320AIC23 EVM Board Diagram 2-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2–1 TLV320AIC23 EVM Board Audio Connection Example 2-4. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4–1 Main Dialog, Phones Volume Selected 4-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4–2 Main Dialog, Line Volume Selected 4-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4–3 Digital Control Dialog 4-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4–4 Analog Control Dialog 4-7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4–5 Registers Dialog 4-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–1 C54x DSK/EVM Host Software Development Block Diagram 6-2. . . . . . . . . . . . . . . . . . . . . . . .
A–1 Top Silkscreen A-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A–2 Bottom Silkscreen A-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A–3 Drill Drawing A-13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A–4 Copper Layer 1 A-14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A–5 Copper Layer 2 A-15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A–6 Copper Layer 3 A-16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A–7 Copper Layer 4 A-17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A–8 TLV320AIC23EVM and TLV320DAC23EVM Schematics A-18. . . . . . . . . . . . . . . . . . . . . . . . . .
Tables
5–1 DSP Application Command Parameters 5-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6–1 User Mode API Calls Used by the AIC23 Codec Tester EVM Software 6-3. . . . . . . . . . . . . . .
1-1
Introduction to the TLV320AIC23EVM
Introduction to the TLV320AIC23EVM
Control Software
This document covers the user software provided with the TLV320AIC23EVM
board based on the TI TLV320AIC23 (hereafter referred to as AIC23) or the
TLV320DAC23 (hereafter referred to as DAC23). Except where noted the
AIC23 applies to both the TLV320AIC23 and the TLV320DAC23. This
software is composed of host software for an Intel-based PC running Windows
9Xt, NT 4.0t, or 2000[1]t and target software for the C54x DSP. The
function, operation, and implementation of the software are described. A
description of the TLV320AIC23 EVM board’s connectors and jumpers is also
provided, along with instructions on how to configure the board for use with the
TLV320AIC23 EVM user software or as a stand-alone USB audio device.
The TLV320AIC23 EVM platform is useful for the TLV320AIC23 and the
TLV320DAC23 device evaluations. The provided software allows users to
exercise the various modes and features of the AIC23 codec and DAC23 audio
DAC. The provided software is not intended to be used as the starting point
for production applications.
Topic Page
1.1 Acronyms 1-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 1
[1] The TLV320AIC23EVM user software was developed on Windows 2000 and tested on Windows 2000 Windows Me.
Acronyms
1-2
1.1 Acronyms
ADC Analog-to-digital converter
AIC Analog interface circuit
API Application programming interface
DAC Digital-to-analog converter
DDK Driver development kit
DLL Dynamic link library
DSK DSP starter kit
DSP Digital signal processor
EVM Evaluation module
GUI Graphical user interface
HPI Host port interface
JTAG Joint test action group
OS Operating system
PCI Peripheral component interconnect
PPC Parallel port controller
TBC Test bus controller
TI Texas Instruments
VxD Virtual device driver
2-1
EVM Board Overview
EVM Board Overview
The TLV320AIC23 EVM is designed to facilitate evaluation of the performance
and functionality of the TLV320AIC23 codec and the TLV320DAC23 audio
DAC.
Topic Page
2.1 Digital Interfaces 2-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2 Analog Interfaces 2-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3 Power Supply 2-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4 Connectors and Jumpers 2-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5 Configuration for DSP Connection With Supplied Software 2-4. . . . . . .
2.6 Configuration for USB Connection With USB Audio Support 2-5. . . . .
Chapter 2
Digital Interfaces
2-2
2.1 Digital Interfaces
The TLV320AIC23 EVM has three digital interfaces:
- DSP interface: This interface is compatible with the daughter-card con-
nector of TI DSP DSKs. The supplied user software supports C54x DSPs
on DSK/EVM boards with a parallel port interface.
- USB interface: The TLV320AIC23 EVM features a TUSB3200 USB con-
troller. The firmware implements the USB audio device class, which
makes it possible to play back sound files (MP3, WAV) from a Windowst
PC. The supplied user software does not utilize the USB interface.
- SPDIF interface: An onboard SPDIF transceiver can be used to connect
the AIC23 or DAC23 to a coaxial SDIF source or preamplifier. The firm-
ware for this part is still in development. The supplied user software does
not utilize the SPDIF interface.
2.2 Analog Interfaces
The TLV320AIC23 EVM has the following analog interfaces:
- Microphone in (AIC23 only)
- Line in
- Headphone out
- Line out
2.3 Power Supply
There are three ways to power up the TLV320AIC23 EVM:
- Separate supplies: For highest performance, separate supplies for analog
and digital can be connected to the TLV320AIC23 EVM.
- 7-V dc input. The TLV320AIC23 EVM has one connector for a 7-V to 9-V
power supply such as a wall-plug adapter.
- DSP daughter-card connector. This option is convenient to evaluate the
functionality of the data converter if (small) signal degradation due to the
power supply from the DSP board is acceptable.
Connectors and Jumpers
2-3
EVM Board Overview
2.4 Connectors and Jumpers
Figure 2–1 shows the location of the TLV320AIC23 EVM connectors, jumpers,
LEDs, and reset button.
Figure 2–1.TLV320AIC23 EVM Board Diagram
J1
J3
J13
J12
J11
J14
J2
J7
J10
J15
J4
J9
J5
J6
J8
SW1
JU1
JU2
JU3
JU4
JU5
JU6
JU7
JU8
Connectors: LEDs:
J1,
J2:
DSP interface (McBSPs, power supply) D2: 3.3-V indicator
J3: 3.3-V digital power supply D3: 5-V indicator
J4: 3.3-V analog power supply D4: USB active
J5: Left line in
J6: Right line in Switch:
J7: Microphone in (AIC23 only) SW: Reset button
J8: Left line out
J9: Right line out
J10: Headphone out
J11: SPDIF in
J12: SPDIF out
J13: 7-V to 9-V dc power supply
J14: 5-V power supply
J15: USB connector
Jumpers:
JU1: Voltage regulators enable. Remove if external supplies on J4, J13, and J14 are used.
JU2: Connects digital and analog ground planes. Always keep the jumper inserted.
JU3: DSP interface select. Insert jumper for DSP interface.
JU4: SPDIF interface select. Insert jumper for SPDIF interface.
JU5: Left channel internal/external headphone amplifier select. Left position: external amplifier;
right position: internal amplifier.
JU6: Right channel internal/external headphone amplifier select. Left position: external amplifier;
right position: internal amplifier.
JU7: I
2
C/SPI select. Left position: SPI, use SPI for DSP interface; right position.: use I2C for USB and SPDIF.
JU8: Flash write protection. Insert jumper to write-protect the flash (holds USB firmware).
Configuration for DSP Connection With Supplied Software
2-4
Figure 2–2.TLV320AIC23 EVM Board Audio Connection Example
J1
J3
J13
J12
J11
J14
J2
J7
J10
J15
J4
J9
J5
J6
J8
SW1
JU1
JU2
JU3
JU4
JU5
JU6
JU7
JU8
MIC
Speaker Pair #1 (RCA)
Audio Source
Speaker Pair #2 or
Head Phones
(3.5mm/Mini Stereo)
Note: Use Powered
CD
DVD
PC
USB SOURCE
Speakers Only
2.5 Configuration for DSP Connection With Supplied Software
The TLV320AIC23 EVM is compatible with the daughter-card connectors on
many TI DSP EVMs and DSKs. The following example is based on a
TMS320VC5402 DSK from Texas Instruments.
The supplied user software supports C54x DSPs on DSK/EVM boards with a
parallel-port interface.
For jumper connections regarding left and right positions, it is assumed users
are holding the TLV320AIC23 EVM so they can read the TI logo.
In order to use the TLV320AIC23 EVM with the DSP DSK, the DSP interface
must be selected:
JU1: In, enable voltage regulators
JU2: In, connect analog and digital ground planes
JU3: In, select DSP interface
JU4: Out, do not select SPDIF interface
JU5: Right position, select internal headphone amplifier
JU6: Right position, select internal headphone amplifier
Configuration for USB Connection With USB Audio Support
2-5
EVM Board Overview
JU7: Left position, select SPI control interface
JU8: In, write-protect flash memory
Connect an analog audio signal source to the line inputs (J5 and J6) and a
headphone or speakers to the headphone connector (J10).
The DSP interface uses McBSP0 for the digital audio data and McBSP1 for the
control interface. The supplied user software uses the DSP format of the
AIC23/DAC23—FS + 32 bit data (16 bit left and 16 bit right channel) in master
mode for the digital audio interface. All the clock signals (BCLK, LRCIN,
LRCOUT) are generated by the data converter. McBSP1 is used in SPI mode.
2.6 Configuration for USB Connection With USB Audio Support
The TLV320AIC23 EVM is compatible with the daughter-card connectors on
many TI DSP EVMs and DSKs. The following example is based on a
TMS320VC5402 DSK from Texas Instruments.
The supplied AIC23 codec tester software does not use the USB interface. The
USB interface is used with the built-in USB audio class driver in Windows 98,
Windows 98 SE, and Windows 2000.
For jumper connections regarding left and right positions, it is assumed that
users are holding the TLV320AIC23 EVM so they can read the TI logo.
In order to use the TLV320AIC23 EVM with the DSP DSK, the DSP interface
must be selected:
JU1: In, enables voltage regulators
JU2: In, connects analog and digital ground planes
JU3: Remove this jumper for USB mode.
JU4: Out, do not select SPDIF interface.
JU5: Right position, selects internal headphone amplifier
JU6: Right position, selects internal headphone amplifier
JU7: Right position, selects I
2
C control interface
JU8: In, write-protects flash memory
Configuration for USB Connection With USB Audio Support
2-6
After selecting the DSP interface, follow these steps:
1) Connect the USB cable to a PC and to the TLV320AIC23 EVM USB con-
nector. Connect a headphone or speakers to the headphone connector
(J10). No external power is needed, power is supplied via the USB con-
nection.
2) If the PC is running Windows 98, Windows 98 SE, or Windows 2000, it
recognizes the USB connection immediately after it is made. When
clicking on the speaker icon, the volume control menu comes up. In the
lower left hand of the volume menu the words USB device appear. This
assures users that the PC recognizes the TLV320AIC23 EVM as a USB
audio device.
3) Load an audio player. The media player included with Windows may be
used. Another player is Winamp, which may be downloaded from
http://www.winamp.com/
4) Load a music source file (MP3 or WAV). A source for music from the inter-
net can be found at http://shoutcast.com/
. Play the selected music
source.
5) The music is heard from the attached headphones or speakers.
3-1
Software Functional Overview
Software Functional Overview
This chapter describes the user software for the TLV320AIC23 EVM.
Topic Page
3.1 Software Component Summary 3-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2 Host GUI Application 3-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3 DSP Application 3-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.4 Host Software Development Support 3-3. . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 3
Software Component Summary
3-2
3.1 Software Component Summary
The user software developed for the TLV320AIC23 EVM can be divided into
three main areas:
Host GUI application
DSP application
Host software development support
The following paragraphs describe the components of each of these areas.
3.2 Host GUI Application
The host GUI application (aic23.exe) provides the user interface to control the
TLV320AIC23 EVM via the DSP application running on the C54x DSK/EVM.
When aic23.exe is executed, the menu bar will read
AIC23 Codec Tester
. The
host GUI application communicates with the DSP over the parallel port
interface.
The host GUI application supports both high-level user-friendly control of the
AIC23 and low-level register control of the AIC23. The main dialog controls
sample rate selection, playback (i.e., tone generation), playback and record
(i.e. loopback), and volume. Secondary dialogs are used to control the digital
and analog audio paths and to provide direct register access.
The host GUI application sends commands to the DSP application over the
C54x DSK/EVM parallel port interface. The DSP application modifies the
AIC23 state in response to the commands it receives.
3.3 DSP Application
The DSP application (aic23.out) runs on a C54x DSK/EVM. It initializes the
DSP and the DSK/EVM peripherals (McBSPs), it configures the AIC23, and
then it enters a command loop where it receives commands from the host GUI
application over the C54x DSK/EVM parallel port interface. Each command is
processed to completion and then it polls for the next command.
The supported commands are: RESET, TEST (host communication),
REG_WRITE, WRITE_ALL (e.g. registers), PLAY (a tone of specified
frequency), RECORD (AIC23 only) (e.g., playback and record), and STOP
(the current PLAY or RECORD (AIC23 only) command).
The PLAY and RECORD (AIC23 only) commands are DMA-driven via
callback routines that run continuously until a STOP command is received.
Host Software Development Support
3-3
Software Functional Overview
3.4 Host Software Development Support
The host software development support enables the host GUI application to
communicate with the DSP application running on the C54x DSK/EVM. This
support consists of an application-programming interface (API) DLL that
provides user-callable functions, and a set of drivers supporting access to the
hardware under Windows 9X, NT 4.0, or 2000.
The user-mode API is implemented in evmdsk54x.dll. This DLL provides a
common user-mode interface across all Win32 operating systems. The ring-3
DLL communicates with the driver that handles all the OS-specific details and
direct board accesses.
The hardware drivers are implemented in ppc54x.dll, dlportio.dll, and
dlportio.sys. These drivers handle the OS-specific details and provide a
consistent interface to the user-mode DLL. This arrangement allows host
applications to be executed on any Win32 platform without recompilation.
3-4
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72

Texas Instruments TLV320AIC23EVM - User guide

Type
User guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI