Texas Instruments DEM-DAI3793A User Manual

DEM-DAI3793A/3794A EVM
User's Guide
July 2007 AIP Consumer Audio—TI Japan
SBAU127
2 SBAU127 – July 2007
Submit Documentation Feedback
Contents
Preface ............................................................................................................................... 9
1.1 Introduction—PCM3793A/94A .................................................................................. 12
1.1.1 Key Features .............................................................................................. 12
1.2 Pin Assignments and Terminal Functions...................................................................... 14
1.3 DEM-DAI3793A/3794A EVM Description ...................................................................... 15
2 Getting Started ......................................................................................................... 17
2.1 Electrostatic Discharge Warning ................................................................................ 18
2.2 Unpacking the EVM ............................................................................................... 18
2.3 Default Configuration ............................................................................................. 19
3 Set-Up Guide ........................................................................................................... 21
3.1 Basic Operating Set-Up .......................................................................................... 22
3.2 Software Control and Operation ................................................................................. 22
3.2.1 User Interface Panel ..................................................................................... 22
3.2.2 Power On/Off Sequence ................................................................................ 23
3.2.3 Module Function Controls ............................................................................... 23
3.2.4 LC89052T (DIR: Digital Audio I/F Receiver) Control Window ...................................... 39
3.2.5 Register Setting History ................................................................................. 40
3.2.6 Register Direct Access .................................................................................. 42
4 Switches and Connectors .......................................................................................... 43
4.1 Overview ............................................................................................................ 44
4.2 Motherboard ....................................................................................................... 44
4.3 Daughter Card #1 (PCM3793A) ................................................................................. 46
4.4 Daughter Card #2 (DIR: LC89052T and DIT: DIT4096) ..................................................... 48
5 Evaluation and Measurements ................................................................................... 49
5.1 Slave Mode With Audio Precision SYS-2722 (Default Setting) ............................................. 50
5.2 Master Mode with Audio Precision SYS-2722 ................................................................. 52
5.3 Combined Master and Slave Modes With PSIA-2722 ........................................................ 54
5.4 Measurements for Dynamic Characteristics ................................................................... 55
5.4.1 Digital-to-Analog (D/A) Performance .................................................................. 56
5.4.2 Analog-to-Digital (A/D) Performance .................................................................. 57
5.4.3 Speaker Output Power Performance .................................................................. 57
5.4.4 Amplitude Versus Frequency Performance ........................................................... 59
5.5 Connection Diagram for Practical Applications ................................................................ 61
5.5.1 Filter Consideration for Speaker Output ............................................................... 62
6.1 Schematics ......................................................................................................... 64
6.2 Printed Circuit Board Layout ..................................................................................... 66
6.3 Component List .................................................................................................... 71
A.1 Reference .csv Files .............................................................................................. 74
A Related Signal Flow Diagrams ......................................................................... 75
SBAU127 – July 2007 Contents 3
Submit Documentation Feedback
A.2 Interfacing to DSPs ............................................................................................... 98
A.2.1 Register Control with DSP Interface ................................................................... 99
A.3 Package Information .............................................................................................. 99
Important Notices ............................................................................................................. 100
4 Contents SBAU127 – July 2007
Submit Documentation Feedback
List of Figures
1-1 PCM3793A Pin Assignments ............................................................................................. 14
1-2 PCM3794A Pin Assignments ............................................................................................. 14
1-3 DEM-DAI3793A/3794A EVM System Diagram ......................................................................... 15
2-1 EVM Configuration ......................................................................................................... 19
2-2 EVM and External Equipment Connections ............................................................................ 20
3-1 User Interface Window .................................................................................................... 22
3-2 Communication Error Message .......................................................................................... 23
3-3 Power On/Off Sequence Function Buttons ............................................................................. 23
3-4 Internal Module Power Up/Down Function Menu Tab ................................................................. 24
3-5 Ramp Up Wave Form with Default Setting ............................................................................. 26
3-6 Ramp Down Wave Form with Default Setting .......................................................................... 26
3-7 Record Function Menu Tab ............................................................................................... 26
3-8 EVM Modules Corresponding to Record Function ..................................................................... 27
3-9 Playback Function Menu Tab ............................................................................................. 28
3-10 Modules Corresponding to Playback Function ......................................................................... 29
3-11 ALC Function Menu Tab .................................................................................................. 30
3-12 ALC Compression and Expansion Characteristics .................................................................... 30
3-13 Signal Processing 1 Function Menu Tab ................................................................................ 31
3-14 Three-Band Tone Control (Bass, Mid, Treble) ......................................................................... 31
3-15 Notch Filter Characteristic Model ........................................................................................ 33
3-16 Example of Measured Notch Filter Characteristic ..................................................................... 33
3-17 Signal Processing 2 Function Menu Tab ................................................................................ 34
3-18 Analog Path Function Menu Tab ......................................................................................... 35
3-19 Modules Corresponding to Analog Path Function ..................................................................... 36
3-20 Audio Interface Function Menu Tab ..................................................................................... 37
3-21 Status Detect Function Menu Tab ....................................................................................... 38
3-22 Digital Amplifier Function Menu Tab ..................................................................................... 39
3-23 LC89052 Interface Format Selection Options .......................................................................... 39
3-24 Register Setting History Window ......................................................................................... 40
3-25 Opening and Modifying a .csv File ....................................................................................... 41
3-26 Register Direct Access Dialog ............................................................................................ 42
4-1 EVM Configuration ......................................................................................................... 44
4-2 Analog Input Configuration (Daughter Card #1) ........................................................................ 46
4-3 Analog Output Configuration (Daughter Card #1) ..................................................................... 47
5-1 Slave Mode Configuration With SYS-2722 ............................................................................. 50
5-2 Jumper Configuration for Slave Mode (Default) ........................................................................ 51
5-3 Master Mode Configuration With SYS-2722 ............................................................................ 52
5-4 Jumper Configuration for Master Mode ................................................................................. 53
5-5 Combined Master and Slave Mode Configuration with SYS-2722 .................................................. 54
5-6 Jumper Configuration for Combined Master and Slave Modes ...................................................... 55
5-7 Speaker Output Filter Configuration ..................................................................................... 58
5-8 A/D Amplitude vs Frequency Result: BPZ (Zero Data) Input ......................................................... 59
5-9 A/D Amplitude vs Frequency Result: –60dB Input ..................................................................... 59
5-10 A/D Amplitude vs Frequency Result: –1dB Input ...................................................................... 59
5-11 D/A Amplitude vs Frequency Result: BPZ (Zero Data) Input ......................................................... 60
5-12 D/A Amplitude vs Frequency Result: –60dB Input ..................................................................... 60
5-13 D/A Amplitude vs Frequency Result: 0dB Input ........................................................................ 60
5-14 D/A Amplitude vs Frequency Result: Wide Range to 130kHz, BPZ (Zero Data) Input ........................... 60
5-15 Basic Connection Diagram ................................................................................................ 61
5-16 Recommended Ferrite Bead Filter for Speaker Output ............................................................... 62
5-17 Connection for Headphone Output and Insertion Detection .......................................................... 62
6-1 PCM3793A DEM-PCM3793RHB-A Connector (Daughter Card #1) ................................................ 64
SBAU127 – July 2007 List of Figures 5
Submit Documentation Feedback
6-2 PCM3793A DEM-PCM3793RHB-A (Daughter Card #1) .............................................................. 65
6-3 PCM3793A DEM-PCM3793RHB-A Board Layout—Silkscreen Side ................................................ 66
6-4 PCM3793A DEM-PCM3793RHB-A Board Layout—Component Side .............................................. 67
6-5 PCM3793A DEM-PCM3793RHB-A Board Layout—Inner Layer 2 .................................................. 68
6-6 PCM3793A DEM-PCM3793RHB-A Board Layout—Inner Layer 3 .................................................. 69
6-7 PCM3793A DEM-PCM3793RHB-A Board Layout—Solder Side .................................................... 70
A-1 Line Output and Headphone Output ..................................................................................... 75
A-2 Headphone Output with Sound Effect ................................................................................... 76
A-3 Cap-Less Headphone Output ............................................................................................. 77
A-4 Headphone Output with Line Input (AIN2L/AIN2R) .................................................................... 78
A-5 Headphone Output with Mono Mic Input (AIN1L, +20dB) ............................................................ 79
A-6 Headphone Output with Mono Diff Mic Input (AIN1L/AIN1R, +20dB) ............................................... 80
A-7 Stereo Speaker Output .................................................................................................... 81
A-8 Mono Speaker Output ..................................................................................................... 82
A-9 Speaker Output with Line Input (AIN2L/AIN2R) ........................................................................ 83
A-10 Speaker Output with Mono Mic Input (AIN1L, +20dB) ................................................................ 84
A-11 Speaker Output with Mono Diff Mic Input (AIN1L/AIN1R, +20dB) ................................................... 85
A-12 Line Input (AIN2L/AIN2R) to Headphone Output ...................................................................... 86
A-13 Mono Line Input (AIN2L) to Headphone Output ....................................................................... 87
A-14 Mono Mic Input (AIN1L, +20dB) to Headphone Output ............................................................... 88
A-15 Mono Diff Mic Input (AIN1L/AIN1R, +20dB) to Headphone Output ................................................. 89
A-16 Mono Mic Input (AIN1L, +20dB) to Speaker Output ................................................................... 90
A-17 Line Input (AIN3L/AIN3R) ................................................................................................. 91
A-18 Mic Input (AIN1L/AIN1R, +20dB)......................................................................................... 92
A-19 Mic Input (AIN1L/AIN1R, +20dB) with ALC ............................................................................. 93
A-20 Mono Mic Input (AIN1L, +20dB) .......................................................................................... 94
A-21 Mono Mic Input (AIN1L, +20dB) with ALC .............................................................................. 95
A-22 Mono Diff Mic Input (AIN1L/AIN1R, +20dB) ............................................................................ 96
A-23 Mono Diff Mic Input (AIN1L/AIN1R, +20dB) with ALC ................................................................ 97
A-24 Slave Mode Operation ..................................................................................................... 98
A-25 Master Mode Operation ................................................................................................... 98
6 List of Figures SBAU127 – July 2007
Submit Documentation Feedback
List of Tables
1-1 PCM3793A/94A Terminal Functions ..................................................................................... 14
3-1 Register Mapping for Power Up/Down Module ......................................................................... 24
3-2 PCM3793A/94A Resistor 125(7dh) RES[4:0]: Resistor Value Control .............................................. 25
3-3 PCM3793A/94A Resistor 125(7dh) PMT[1:0]: Power Up/Down Time Control and Register Direct Access ... 25
4-1 Main Power Supply and Regulator ....................................................................................... 44
4-2 Power-Supply Terminals for PCM3793A Power-Supply Pins ....................................................... 44
4-3 Audio I/O .................................................................................................................... 45
4-4 I/F Controller (MSP430 , TUSB3410 ) .................................................................................... 45
4-5 Analog Input and Output—Daughter Card #1 .......................................................................... 46
4-6 Analog Input and Output—Daughter Card #2 .......................................................................... 48
4-7 Audio Clock and Input Data Control Format—Daughter Card #2 .................................................... 48
5-1 D/A Line Output Parameters .............................................................................................. 56
5-2 16 Headphone Output Inserted in Headphone Jack J6 ............................................................. 56
5-3 A/D Line Input Parameters ................................................................................................ 57
5-4 Stereo Speaker Output Parameters ..................................................................................... 57
5-5 Recommended External Parts for Basic Connection Diagram ....................................................... 61
6-1 Bill of Materials ............................................................................................................. 71
A-1 .csv Files .................................................................................................................... 74
A-2 Recommended Power-On Sequence for PCM3793A ................................................................. 99
SBAU127 – July 2007 List of Tables 7
Submit Documentation Feedback
SYS-2722, PSIA-2722 are registered trademarks of Audio Precision, Inc. SPI is a trademark of Motorola, Inc. I2S, I2C are trademarks of NXP Semiconductors. TOSLINK is a trademark of Toshiba Corporation. All other trademarks are the property of their respective owners.
List of Tables8 SBAU127 – July 2007
Submit Documentation Feedback
About This Manual
This document provides the information needed to set up and operate the DEM-DAI3793A/3794A EVM evaluation module, a test platform for the 16-bit, low-power PCM3793A /PCM3794A stereo audio codecs. For a more detailed description of the PCM3793A/94A products, please refer to the product data sheets available from the Texas Instruments web site at http://www.ti.com . Support documents are listed in the sections of this guide entitled Related Documentation from Texas Instruments and Additional
Documentation .
How to Use This Manual
Throughout this document, the abbreviation EVM and the term evaluation module are synonymous with the DEM-DAI3793A/3794A EVM. The abbreviation PCM3793A/94A refers to the PCM3793A/94A family of devices. Unless specifically noted, the information presented in this manual applies to both the PCM3793A and the PCM3794A.
Chapter 1 gives an overview of the PCM3793A/94A family of stereo audio coder/decoder devices
(codecs). The PCM3793A/94A block diagram and primary features are also discussed.
Chapter 2 provides general information regarding EVM handling and unpacking, absolute operating
conditions, and the default switch and jumper configuration. This chapter also discusses the EVM controller software
Chapter 3 is the hardware setup guide for the EVM, providing all of the necessary information needed to
configure the EVM switches and jumpers for product evaluation.
Chapter 4 reviews the DEM-DAI3793A/3794A EVM switch and jumper configuration. Chapter 5 discusses how to set up jumpers on the DEM-DAI3793A/3794A EVM motherboard for
performance evaluation using an audio analyzer. It also presents the process for measuring dynamic characteristics and provides example characteristic data.
Chapter 6 includes the EVM electrical schematics, printed circuit board (PCB) layout, and the bill of
materials.

Preface

SBAU127 July 2007
Read This First
Information About Cautions and Warnings
This document contains caution statements.
CAUTION
This is an example of a caution statement. A caution statement describes a situation that could potentially damage your software or equipment.
The information in a caution or a warning is provided for your protection. Please read each caution and warning carefully.
SBAU127 – July 2007 Read This First 9
Submit Documentation Feedback
www.ti.com
Related Documentation From Texas Instruments
Related Documentation From Texas Instruments
The following documents provide information regarding Texas Instruments integrated circuits used in the assembly of the DEM-DAI3793A/3794A EVM. These documents are available from the TI web site . The last character of the literature number corresponds to the document revision that is current at the time of the writing of this User’s Guide. Newer revisions may be available from the TI web site at
http://www.ti.com/ or call the Texas Instruments Literature Response Center at (800) 477–8924 or the
Product Information Center at (972) 644–5580. When ordering, identify the document(s) by both title and literature number.
Additional Documentation
The following document provides information regarding selected non-TI components that are used in the assembly of the DEM-DAI3793A/3794A EVM. This document is available from the corresponding manufacturer.
If You Need Assistance
If you have questions regarding either the use of this evaluation module or the information contained in the accompanying documentation, please contact the Texas Instruments Product Information Center at (972) 644–5580 or visit the TI web site at www.ti.com .
Data Sheet Literature Number
PCM3793A /PCM3794A Product SLAS529A
data sheet
DIT4096 Product data sheet SBOS225B
Device/Document Manufacturer
LC89052 Sanyo Corporation
FCC Warning
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 is required to take whatever measures may be required to correct this interference.
Trademarks
All trademarks are the property of their respective owners.
10 Read This First SBAU127 – July 2007
Submit Documentation Feedback
Chapter 1
SBAU127 July 2007

Description

The DEM-DAI3793A/3794A EVM is a complete evaluation platform for the PCM3793A /PCM3794A 16-bit, low-power stereo audio codec with microphone bias, headphone, and digital speaker. All necessary connectors and circuitry are provided for interfacing to audio test systems and commercial audio equipment.
Topic .................................................................................................. Page
1.1 Introduction—PCM3793A/94A .................................................... 12
1.2 Pin Assignments and Terminal Functions .................................... 14
1.3 DEM-DAI3793A/3794A EVM Description ....................................... 15
SBAU127 – July 2007 Description 11
Submit Documentation Feedback
www.ti.com
Introduction—PCM3793A/94A

1.1 Introduction—PCM3793A/94A

1.1.1 Key Features

The PCM3793A/94A is a low-power stereo codec designed for portable digital audio applications. The device integrates a stereo digital speaker amplifier, headphone amplifier, line amplifier, line input, boost amplifier, microphone bias, programmable gain control, analog mixing, sound effects, and automatic level control (ALC) features. (The PCM3794A has no speaker amplifiers.)
It is available in a 5 × 5 QFN package to reduce the overall device footprint. The PCM3793A/94A accepts Right-Justified, Left-Justified, I2S™, and digital signal processing (DSP) formats, providing an easy interface to audio DSPs, as well as decoders and encoder chips. Sampling rates up to 50kHz are supported. The user-programmable functions are accessible through a two- or three-wire serial control port.
Major features of the PCM3793A/94A include:
Analog Front End: Stereo single-ended input with multiplexer (mux)
Mono differential input – Stereo programmable gain amplifier (PGA) – Microphone amplifier (20dB) and bias
Analog Back End: Stereo/Mono line output with volume
Stereo/Mono headphone amplifier with volume and capless mode – Stereo/Mono digital speaker amplifier (BTL) with volume
Analog Performance: Dynamic range: 93dB (digital-to-audio converter [DAC])
Dynamic range: 90dB (analog-to-digital converter [ADC]) – 40mW + 40mW headphone output at R – 700mW + 700mW speaker output at R
= 16
L
= 8
L
Power Supply Voltage 1.71V to 3.6V for digital I/O section
1.71V to 3.6V for digital core section – 2.4V to 3.6V for analog section – 2.4V to 3.6V for power amplifier section
Low Power Dissipation: 7mW in playback, 1.8V/2.4V, 48kHz
13mW in record, 1.8V/2.4V, 48kHz – 3.3 μ W in power-down
Sampling Frequency: 5kHz to 50kHz
Automatic Level Control for Recording
Operation From a Single Clock Input without PLL
System Clock:
Common-audio clock (256f
/384f
S
), 12MHz/24MHz, 13MHz/26MHz, 13.5MHz/27MHz,
S
19.2MHz/38.4MHz, 19.68MHz/39.36MHz
Headphone Plug Insert Detection
I2C™ or SPI™ Serial Control
12 Description SBAU127 – July 2007
Submit Documentation Feedback
www.ti.com
blank
Programmable Function by Register Control: Digital attenuation of DAC: 0dB to –62dB
Digital gain of DAC: 0dB, 6dB, 12dB, 18dB – Power up/down control for each module – 6dB to –70dB gain for analog outputs – 30dB to –12dB gain for analog inputs – 0dB/20dB selectable for microphone input – 0dB to –21dB gain for analog mixing – Parameter settings for ALC – Three-band tone control and 3D sound – High-pass filter: 4Hz, 120Hz, 240Hz – Two-stage programmable notch filter – Analog mixing control
Pop-Noise Reduction Circuit
Short and Thermal Protection Circuit
Package: 5mm × 5mm QFN Package
Operating Temperature Range: –40 ° C to +85 ° C
Introduction—PCM3793A/94A
SBAU127 – July 2007 Description 13
Submit Documentation Feedback
www.ti.com
HPOR/LORAIN2L
BCK
AIN2R
24123222321420519618717
8
16
25
15
26
14
27
13
28
12
29
1130
1031
932
SPOLP
AIN3L
SPOLN
AIN3R
PGND
MICB
V
PA
V
C
C
SPORP
AGND
SPORN
V
COM
HPCOM/MONO
HPOL/LOL
PCM3793ARHB
(TOPVIEW)
AIN1R
DIN
AIN1L
DOUT
MODE
V
IO
MS/ADR
V
DD
MD/SDA
DGND
MC/SCL
SCKI
LRCK
HDTI
HPOR/LORAIN2L
BCK
AIN2R
24123222321420519618717
8
16
25
15
26
14
27
13
28
12
29
1130
1031
932
NC
AIN3LNCAIN3R
PGND
MICB
V
PA
V
C
C
NC
AGNDNCV
COM
HPCOM/MONO
HPOL/LOL
PCM3794ARHB
(TOPVIEW)
AIN1R
DIN
AIN1L
DOUT
MODE
V
IO
MS/ADR
V
DD
MD/SDA
DGND
MC/SCL
SCKI
LRCK
HDTI
Pin Assignments and Terminal Functions

1.2 Pin Assignments and Terminal Functions

Figure 1-1 and Figure 1-2 show the pin assignments for the PCM3793A/94A. Table 1-1 lists the terminal
functions.
Figure 1-1. PCM3793A Pin Assignments Figure 1-2. PCM3794A Pin Assignments
Table 1-1. PCM3793A/94A Terminal Functions
TERMINAL
NAME PCM3793ARHB PCM3794ARHB I/O DESCRIPTION
AGND 19 19 Ground for analog AIN1L 27 27 I Analog input 1 for L-channel AIN1R 26 26 I Analog input 1 for R-channel AIN2L 25 25 I Analog input 2 for L-channel AIN2R 24 24 I Analog input 2 for R-channel AIN3L 23 23 I Analog input 3 for L-channel AIN3R 22 22 I Analog input 3 for R-channel BCK 1 1 I/O Serial bit clock DGND 6 6 Digital ground DIN 2 2 I Serial audio data input DOUT 3 3 O Serial audio data output HDTI 8 8 I Headphone plug insertion detection HPCOM/MONO 9 9 O Headphone common/mono line output HPOL/LOL 17 17 O Headphone/lineout for R-channel HPOR/LOR 16 16 O Headphone/lineout for L-channel LRCK 32 32 I/O Left and right channel clock MC/SCL 31 31 I Mode control clock for three-wire/two-wire interface MD/SDA 30 30 I/O Mode control data for three-wire/two-wire interface MICB 21 21 O Microphone bias source output MODE 28 28 I Two- or three-wire interface selection (low: SPI; high: I2C) MS/ADR 29 29 I Mode control select for three-wire/two-wire interface PGND 13 13 Ground for speaker power amplifier
14 Description SBAU127 – July 2007
Submit Documentation Feedback
www.ti.com
DEM-DAI3793A/3794A EVM Description
Table 1-1. PCM3793A/94A Terminal Functions (continued)
TERMINAL
NAME PCM3793ARHB PCM3794ARHB I/O DESCRIPTION
SCKI 7 7 I System clock SPOLN 14 O Speaker output L-channel for negative (PCM3793A only) SPOLP 15 O Speaker output L-channel for positive (PCM3793A only) SPORN 10 O Speaker output R-channel for negative (PCM3793A only) SPORP 11 O Speaker output R-channel for positive (PCM3793A only) V
CC
V
COM
V
DD
V
IO
V
PA
20 20 Analog power supply 18 18 Analog common voltage
5 5 Power supply for digital core 4 4 Power supply for digital I/O
12 12 Power supply for power amplifier

1.3 DEM-DAI3793A/3794A EVM Description

The DEM-DAI3793A/3794A evaluation module permits user control of the entire PCM3793A/94A system. The EVM allows users to test playback with and without digital input; recording through digital input/output with an optical cable or RCA jacks; a line input/output; stereo speaker output (PCM3793A only); stereo/mono headphone output; and stereo/mono microphone input, as shown in Figure 1-3 .
Figure 1-3. DEM-DAI3793A/3794A EVM System Diagram
SBAU127 – July 2007 Description 15
Submit Documentation Feedback
Description 16 SBAU127 – July 2007
Submit Documentation Feedback

Getting Started

This chapter provides information regarding DEM-DAI3793A/3794A EVM handling and unpacking, absolute operating conditions, and a description of the factory default switch and jumper configuration.
Topic .................................................................................................. Page
2.1 Electrostatic Discharge Warning ................................................. 18
2.2 Unpacking the EVM ................................................................... 18
2.3 Default Configuration ................................................................ 19
Chapter 2
SBAU127 July 2007
SBAU127 – July 2007 Getting Started 17
Submit Documentation Feedback
www.ti.com
Electrostatic Discharge Warning

2.1 Electrostatic Discharge Warning

Many of the components on the DEM-DAI3793A/3794A EVM are susceptible to damage by electrostatic discharge (ESD). Customers are advised to observe proper ESD handling precautions when unpacking and handling the EVM, including the use of a grounded wrist strap at an approved ESD workstation.
Failure to observe ESD handling procedures may result in damage to EVM components.

2.2 Unpacking the EVM

Upon opening the DEM-DAI3793A/3794A EVM package, please check to make sure that the following items are included:
One DEM-DAI/LPC-USB (Motherboard )
One DEM-PCM3793RHB-A (Daughter Card #1 )
One DEM-TRCV/LPC (Daughter Card #2 )
If any of these items are missing, please contact the Texas Instruments Product Information Center nearest you to inquire about a replacement.
CAUTION
Getting Started18 SBAU127 – July 2007
Submit Documentation Feedback
www.ti.com
Default Configuration

2.3 Default Configuration

Figure 2-1 and Figure 2-2 illustrate the default EVM configuration and the default external equipment
connection configuration, respectively.
Figure 2-1. EVM Configuration
SBAU127 – July 2007 Getting Started 19
Submit Documentation Feedback
www.ti.com
Default Configuration
Figure 2-2. EVM and External Equipment Connections
The factory default configuration for the DEM-DAI3793A/3794A EVM is listed below.
Motherboard:
CN101, CN102: Connect dc power supply positive lead (+) to CN101 and negative lead (–) to CN102
SW301: Set Opt or Coax output for the proper cable connection
Daughter Card #1 (DEM-PCM3793RHB-A):
JP14, JP15, JP16, JP17, and JP19: these jumper pins should not be used
For other jumper settings, please refer to the chapter, Switches and Connectors.
Daughter Card #2 (DEM-TRVC/LPC):
SW001: Set Opt or Coax for S/PDIF input to DIR:LC89052T
SW002: Set to silkscreen SW002 RESET side (releasing reset)
SW003: Set X’tal to use onboard crystal oscillator
There is no need to change the setting of the shorting plugs for basic operation. Jumper settings strongly depend on the audio interface.
20 Getting Started SBAU127 – July 2007
Submit Documentation Feedback

Set-Up Guide

This chapter discusses how to set up the DEM-DAI3793A/3794A EVM and describes the EVM software.
Topic .................................................................................................. Page
3.1 Basic Operating Set-Up ............................................................. 22
3.2 Software Control and Operation .................................................. 22
Chapter 3
SBAU127 July 2007
SBAU127 – July 2007 Set-Up Guide 21
Submit Documentation Feedback
www.ti.com
Basic Operating Set-Up

3.1 Basic Operating Set-Up

Follow these steps to set up the DEM-DAI3793A/3794A EVM for operation.
Step 1. When using the kit for the first time, install the TUSB3410 VCP (Virtual COM Port) driver to
Step 2. Connect the audio signal sources and/or receiver, using one of these connections:
S/PDIF cable (optical or coaxial)
Analog input/output (RCA)
Step 3. Connect microphone, speakers, headphone, an audio amplifier, or measurement equipment,
Step 4. Confirm that jumpers CN103–CN107 are shorted. Step 5. Connect the USB cable between the host PC and the motherboard (CN201). Step 6. Apply +6V to +10V to the motherboard (CN101, CN102 for power supply). Step 7. Execute EVM3793A.exe.
When the installation is complete, the EVM software is ready to use.

3.2 Software Control and Operation

This section of the user's guide reviews the operation and configuration of the EVM controller software.
the host PC. To install the driver, refer to the Virtual COM Port Driver Installation Instructions.pdf located in the DEM-DAI3793 folder of the software CD or available through
the TI web site .
if necessary.

3.2.1 User Interface Panel

After finishing the installation process (as explained in Section 3.1 ), the user interface panel shown in
Figure 3-1 appears.
Figure 3-1. User Interface Window
22 Set-Up Guide SBAU127 – July 2007
Submit Documentation Feedback
www.ti.com
Check to see that a Ready notation appears in the lower left-hand corner after successful I2C communication is established. Otherwise, you will see an error box showing a communication error (as shown in Figure 3-2 ).
If you received this message, confirm the set-up procedures and restart the software. Shut it down and then execute EVM3793A.exe.
There are four primary sections of the user interface panel (see Figure 3-1 ):
Module controller, for functions such as playback, signal processing, audio format, and so forth;
Power on/off sequence controller
Register setting history controller
Register direct access controller

3.2.2 Power On/Off Sequence

By default, each module is set without any of the checkboxes toggled in the Power Up/Down menu. All modules are set to a power-down condition.
Click All Power On (the red box, as shown in Figure 3-3 ) to easily start EVM operation, instead of powering up the module manually.
Software Control and Operation
Figure 3-2. Communication Error Message
Note: If pressing the Power On/Off sequence button has no effect, check to see that the two

3.2.3 Module Function Controls

The DEM-DAI3793A/3794A EVM controller software contains 10 tabs:
Power Up/Down: to power up and power down each module
Record: executes gain control for ADC input
Playback: executes headphone/speaker gain control and digital ATT
ALC: tunes the Automatic Level Control function
Signal Processing 1: adjusts the tone control and notch filter coefficient
Signal Processing 2: controls DAC oversampling, de-emphasis, and high-pass filtering
Analog Path: selects analog input, differential input, and analog mixer
Audio Interface: selects the audio interface for ADC and DAC
Status Detect: controls headphone short detection and speaker thermal protection
Digital Amp: tune switching frequency for digital amplifier
This section discusses each of these tab operations and controls.
Figure 3-3. Power On/Off Sequence Function Buttons
files power_on.csv and power_off.csv are located in the same folder on the PC as the EVM software (EVM3793A.exe).
SBAU127 – July 2007 Set-Up Guide 23
Submit Documentation Feedback
www.ti.com
Software Control and Operation
3.2.3.1 Power Up/Down
This menu (shown in Figure 3-4 ) allows users to manually power up or power down each module. Click the appropriate checkboxes to power up or power down a specific module. Table 3-1 shows the register mapping for each module setting.
Abbreviations such as DAL/DAR, MXL/MXR, and ADL/ADR stand for corresponding modules that are described in the block diagram of the PCM3793A (see Figure 3-8 ).
Figure 3-4. Internal Module Power Up/Down Function Menu Tab
Table 3-1. Register Mapping for Power Up/Down Module
Check Box Internal Module Register Analog Bias Analog bias Reg#73 bit7 [PBIS] Vcom Analog common voltage Reg#74 bit0 [PCOM] HP COM/MONO (HPC) Headphone common/mono-out buffer Reg#73 bit4 [PHPC] Mixer L-ch (XML) Analog mixer L-ch Reg#72 bit0 [PMXL] Mixer R-ch (XMR) Analog mixer R-ch Reg#72 bit1 [PMXR] HP/Line out L-ch (HPL) Headphone / Line out amp L-ch Reg#73 bit2 [PHPL] HP/Line out R-ch (HPR) Headphone / Line out amp R-ch Reg#73 bit3 [PHPR] DAC L-ch (DAL) DAC and interpolation filter L-ch Reg#73 bit5 [PDAL] DAC R-ch (DAR) DAC and interpolation filter R-ch Reg#73 bit6 [PDAR] Speaker out L-ch (SPL) Speaker amp L-ch Reg#73 bit0 [PSPL] Speaker out R-ch (SPR) Speaker amp R-ch Reg#73 bit1 [PSPR] ADC L-ch (ADL) ADC and decimation filter L-ch Reg#82 bit0 [PADL] ADC R-ch (ADR) ADC and decimation filter R-ch Reg#82 bit1 [PADR] Gain AMP L-ch (PG1, PG5) Gain amp L-ch (PG1 and PG5) Reg#82 bit4 [PAIL] Gain AMP R-ch (PG2, PG6) Gain amp R-ch (PG2 and PG6) Reg#82 bit5 [PAIR] Diff amp (D2S) D2S for AIN1 Reg#82 bit3 [PADS] Mic Bias (MCB) Mic bias amp Reg#82 bit2 [PMCB]
Set-Up Guide24 SBAU127 – July 2007
Submit Documentation Feedback
www.ti.com
Power Up/Down Time (ms) Options
It is possible to select the V vice-versa by choosing a V
4.7 μ F V The 4.7 μ F V
recommended power-on sequence discussed in the product data sheet . To select a different V
Be sure to change the capacitor on the EVM to the same value (1.0 μ F, 2.2 μ F or 10 μ F). The combination of PTM[1:0] and RES[4:0] determines the V
Table 3-2 and Table 3-3 .
To set the ramp up or down time without directly accessing the registers, users can select a V capacitor value and time in the group box. The ramp up waveform with the default setting is shown in
Figure 3-5 , and the ramp down waveform in Figure 3-6 , as references.
capacitor is chosen as the default setting (this capacitor is also mounted on the EVM).
COM
COM
Power Up/Down Time (ms) Options
ramp up/down time from GND level to a common voltage level or
COM
capacitor value and time by choosing one of the available checkboxes. A
COM
capacitor is the recommended value for operating the EVM. This configuration is the
value, choose the appropriate value from the V
COM
ramp up/down time, as described in
COM
capacitor drop-down menu.
COM
Table 3-2. PCM3793A/94A Resistor 125(7dh)
RES[4:0]: Resistor Value Control
RES [4:0] V 10000 60 k 11000 24 k 11100 12 k 11110 6 k Others Reserved
Resistor Value
COM
COM
Table 3-3. PCM3793A/94A Resistor 125(7dh) PMT[1:0]: Power Up/Down Time Control and
Register Direct Access
V
Capacitor Power-Up Time Power-Down Time Register Direct
COM
[ μ F] RES[4:0] PTM[1:0] [ms] [ms] Access
10 11110 00 450 750 0x7D1E
11100 11 900 1500 0x7D7C 11000 Do not set — 10000 Do not set
4.7 11110 01 250 400 0x7D3E 11100 00 450 750 0x7D1C (default) 11000 11 900 1500 0x7D78 10000 Do not set
2.2 11110 10 100 300 0x7D5E 11100 01 250 400 0x7D3C 11000 00 450 750 0x7D18 10000 11 900 1500 0x7D70
1.0 11110 Do not set — 11100 10 100 300 0x7D5C 11000 01 250 400 0x7D38 10000 00 450 750 0x7D10
SBAU127 – July 2007 Set-Up Guide 25
Submit Documentation Feedback
www.ti.com
Power Up/Down Time (ms) Options
Figure 3-5. Ramp Up Wave Form with Default Figure 3-6. Ramp Down Wave Form with
3.2.3.2 Record
Figure 3-7 shows the Record function tab options.
Setting Default Setting
Figure 3-7. Record Function Menu Tab
26 Set-Up Guide SBAU127 – July 2007
Submit Documentation Feedback
www.ti.com
V
COM
AIN3L AIN2L AIN1L
AIN2R AIN3R
AIN1R
MICB
DS
ADC
BCK
DIN
DOUT LRCK
MS/
ADR
MC/ SCL
MD/
SDA
MODE
SerialInterface(SPI/I C)
2
SCKI
AudioInterface
V
PA
PGND VCCAGND
V
DD
DGND
HPOL/ LOL
HPOR/ LOR
SPOLP SPOLN
SPORP SPORN
HDTI
MUX1
DAL
ADL
DAR
HPCOM/ MONO
COM
HPR
HPL
HPC
LOUT
ROUT
+30dBto
12dB-
+30dBto
12dB-
PG5
V
IO
MONO
MCB
COM
PG1
PG3
PG4
MONO
ADR
D2S
MUX3
MUX2
MUX4
0dBto
21dB-
0dBto
21dB-
PG6
PG2
0dB/
+20dB
0dB/
+20dB
Digital
Filter
Digital
Filter
Digital
Filter
Digital
Filter
MXL
MXR
HPOR
HPOL
COM
V
COM
ATP (0dBto 62dB,Mute)-
DGC (0dB/+6dB/+12dB/+18dB)
SilentPopNoise
Controller
ModuleofPossiblePowerUp/Down
PCM3794AhasnoSpeakerOutput
SW1
SW2
SW3
SW6
SW5
SW4
V
COM
PowerOn
Reset
Power Up/Down Manager
Clock
Manager
AnalogInputR-Channel
AnalogInputL-Channel
ATR
(Mute)
DS
ADC
DS
DAC
DS
DAC
+
+
+
+6dBto
70dB-
+6dBto
70dB-
+6dBto 70dB-
+6dBto 70dB-
SPL
SPR
1
2
3
MicBias
Figure 3-8 shows the EVM modules that correspond to the record function.
Gain Control for ADC Input Options
Figure 3-8. EVM Modules Corresponding to Record Function
Gain Control for ADC Input Options
Move the L-ch (PG3) and R-ch (PG4) sliders to adjust the gain of the incoming analog signal inputs to the ADC.
The L-ch slider manipulates the programmable gain amp (PG3) placed in front of the ADC.
The R-ch slider controls the programmable gain amp (PG4) placed in front of the ADC.
Digital Mute (ATR) Options
Click the respective Digital mute (ATR) checkboxes if a mute function is needed for the ADC digital output.
The mute checkbox enables a digital soft mute on the ADC for each channel.
Mute waiting control enables a mute control.
Digital Out Mute Control Options
Select the Digital out mute control drop-down menu to enable the mute time control.
Apply wait or no wait for the ADC mute.
SBAU127 – July 2007 Set-Up Guide 27
Submit Documentation Feedback
www.ti.com
Digital Out Mute Control Options
3.2.3.3 Playback
The Playback function is shown in Figure 3-9 .
Figure 3-9. Playback Function Menu Tab
28 Set-Up Guide SBAU127 – July 2007
Submit Documentation Feedback
www.ti.com
V
COM
AIN3L AIN2L AIN1L
AIN2R AIN3R
AIN1R
MICB
DS
ADC
BCK
DIN
DOUT LRCK
MS/
ADR
MC/ SCL
MD/ SDA
MODE
SerialInterface(SPI/I C)
2
SCKI
AudioInterface
V
PA
PGND VCCAGND
V
DD
DGND
HPOL/ LOL
HPOR/ LOR
SPOLP SPOLN
SPORP SPORN
HDTI
MUX1
DAL
ADL
DAR
HPCOM/ MONO
COM
HPR
HPL
HPC
LOUT
ROUT
+30dBto
12dB-
+30dBto
12dB-
PG5
V
IO
MONO
MCB
COM
PG1
PG3
PG4
MONO
ADR
D2S
MUX3
MUX2
MUX4
0dBto
21dB-
0dBto
21dB-
PG6
PG2
0dB/
+20dB
0dB/
+20dB
Digital
Filter
Digital
Filter
Digital
Filter
Digital
Filter
MXL
MXR
HPOR
HPOL
COM
V
COM
ATP (0dBto 62dB,Mute)-
DGC (0dB/+6dB/+12dB/+18dB)
SilentPopNoise
Controller
ModuleofPossiblePowerUp/Down
PCM3794AhasnoSpeakerOutput
SW1
SW2
SW3
SW6
SW5
SW4
V
COM
PowerOn
Reset
Power Up/Down Manager
Clock
Manager
AnalogInputR-Channel
AnalogInputL-Channel
ATR
(Mute)
DS
ADC
DS
DAC
DS
DAC
+
+
+
+6dBto
70dB-
+6dBto
70dB-
+6dBto 70dB-
+6dBto 70dB-
SPL
SPR
MicBias
4
5
6
7
8
9
Figure 3-10 shows the corresponding modules for the playback function.
Headphone Gain Control Options
Headphone Gain Control Options
Move the L-ch (HPL) and R-ch (HPR) sliders to adjust the gain of the analog output from the headphone amplifier.
Select the Output configuration drop-down menu to select either stereo or mono output.
The L-ch slider controls the Headphone/Line amp gain
The R-ch slider controls the Headphone/Line amp gain
Select the output channel to be stereo, mono (single-ended), or mono (differential)
The HP com drop-down list determines the HPCOM/MONO pin function.
Speaker Gain Control Options
Move the L-ch (SPL) and R-ch (SPR) sliders to adjust the gain of the analog output from the speaker amplifier.
Select the Output configuration drop-down menu to select either stereo or mono output.
The L-ch slider controls the speaker amp gain
The R-ch slider controls the speaker amp gain
Select the output channel to be either stereo or mono
Figure 3-10. Modules Corresponding to Playback Function
SBAU127 – July 2007 Set-Up Guide 29
Submit Documentation Feedback
www.ti.com
OutputAmplitude
InputAmplitude
Compression ( 2dB, 6dB, 12dB)- - -
Expansion (0dB,+6dB,+14dB,+24dB)
0dB
0dB
Digital Attenuation (ATP) Options
Digital Attenuation (ATP) Options
Move the L-ch and R-ch sliders to adjust the gain of the incoming digital signals prior to conversion by the DAC.
The L-ch slider adjusts the DAC digital attenuator level
The R-ch slider controls the DAC digital attenuator level
Select the output channel to be either stereo or mono
The digital boost option enables a gain control of 0dB, +6dB, +12dB, or +18dB for the DAC digital input
3.2.3.4 ALC (Automatic Level Control)
Figure 3-11 shows the Automatic Level Control (ALC) function menu tab.
Figure 3-11. ALC Function Menu Tab
Auto Level Control (Record) Options
Select Recovery time and Attack time using the respective drop-down menu and corresponding gain control for each option to use the automatic level control function.
ALC compression and expansion characteristics are shown in Figure 3-12 .
Compression is defined as avoiding degradation of sound quality by saturation when there are strong or excessively large sound data input.
Expansion means to boost weak or low input data in order to adjust the moderate amplitude level for recording.
Figure 3-12. ALC Compression and Expansion Characteristics
Set-Up Guide30 SBAU127 – July 2007
Submit Documentation Feedback
Loading...
+ 71 hidden pages