User's Guide
SLAU286 – June 2009
TLV320AIC3007EVM-K
This user's guide describes the characteristics, operation, and use of the TLV320AIC3007EVM-K. This
evaluation module (EVM) allows the user to evaluate the TLV320AIC3007 audio codec. The
TLV320AIC3007 is a complete 2-channel audio codec with an integrated Class-D speaker amplifier. It also
has many inputs and outputs, extensive audio routing, mixing, and effects capabilities. A complete circuit
description, schematic diagram, and bill of materials are included. Note that the TLV320AIC3007 only
uses the I2C™ bus for register control. Any references to the SPI control bus in this document is due to
the presence of this interface on the USB-MODEVM motherboard.
Note: For a quick start, go directly to Section 3.1 Software Installation, followed by Section 3.2
EVM Connections, and then to Section 4.1 Quick Start Tabs.
The following related documents are available through the Texas Instruments Web site at www.ti.com .
EVM-Compatible Device Data Sheets
Device Literature Number
TLV320AIC3007 SLOS545
TAS1020B SLES025
REG1117-3.3 SBVS001
TPS767D318 SLVS209
SN74LVC125A SCAS290
SN74LVC1G125 SCES223
SN74LVC1G07 SCES296
Contents
1 EVM Overview ............................................................................................................... 3
2 EVM Description and Basics ............................................................................................... 3
3 TLV320AIC3007EVM-K Setup and Installation .......................................................................... 7
4 TLV320AIC3007EVM Software ............................................................................................ 8
Appendix A EVM Connector Descriptions ................................................................................... 32
Appendix B TLV320AIC3007EVM Schematic ............................................................................... 35
Appendix C TLV320AIC3007EVM Layout Views ........................................................................... 37
Appendix D TLV320AIC3007EVM Bill of Materials ......................................................................... 40
Appendix E USB-MODEVM Schematic ...................................................................................... 42
Appendix F USB-MODEVM Bill of Materials ................................................................................ 43
Appendix G USB-MODEVM Protocol ......................................................................................... 45
List of Figures
1 TLV320AIC3007EVM-K Block Diagram .................................................................................. 4
2 Quick Start - USB-MODEM Configurations .............................................................................. 8
3 Quick Start - Preset Configurations Tab .................................................................................. 9
4 Main Software Screen .................................................................................................... 10
5 ................................................................................................................................ 11
6 Audio Input/ADC Tab ..................................................................................................... 12
I2C, I2S are trademarks of Koninklijke Philips Electronics N.V..
Windows is a trademark of Microsoft Corporation.
LabView is a trademark of National Instruments.
SLAU286 – June 2009 TLV320AIC3007EVM-K 1
Submit Documentation Feedback
www.ti.com
7 Bypass Paths Tab .......................................................................................................... 13
8 Audio Interface Tab ....................................................................................................... 14
9 Clocks Tab ................................................................................................................. 15
10 GPIO1 Tab ................................................................................................................. 17
11 AGC Tab .................................................................................................................... 18
12 Left AGC Settings .......................................................................................................... 19
13 Advanced .................................................................................................................... 19
14 Filters Tab .................................................................................................................. 20
15 ADC High-Pass Filters .................................................................................................... 21
16 ADC High-Pass Filter Settings ........................................................................................... 21
17 DAC Filters .................................................................................................................. 22
18 De-emphasis Filters ........................................................................................................ 22
19 Enabling Filters ............................................................................................................ 23
20 Shelf Filters ................................................................................................................. 23
21 EQ Filters ................................................................................................................... 24
22 Analog Simulation Filters ................................................................................................. 24
23 Preset Filters ............................................................................................................... 25
24 User Filters ................................................................................................................. 25
25 3D Effect Settings ......................................................................................................... 26
26 DAC/Line Outputs Tab .................................................................................................... 26
27 Output Stage Configuration Tab ......................................................................................... 28
28 High Power Outputs Tab ................................................................................................. 29
29 Command Line Interface Tab ............................................................................................ 30
30 File Menu ................................................................................................................... 31
C-1 Assembly layer ............................................................................................................. 37
C-2 Top Layer .................................................................................................................... 37
C-3 Layer 3 ....................................................................................................................... 38
C-4 Layer 4 ....................................................................................................................... 38
C-5 Bottom Layer ................................................................................................................ 39
List of Tables
1 USB-MODEVM SW2 Settings ............................................................................................. 5
2 List of Stand-alone Jumpers ............................................................................................... 5
3 Switch SW1 Configurations ................................................................................................ 6
4 Switch SW2 Configurations ................................................................................................ 6
5 Switch SW3 Configurations ................................................................................................ 6
A-1 Analog Input/Output Connectors ......................................................................................... 32
A-2 Block A and Block B Digital Interface Pinout ........................................................................... 33
A-3 Power Supply Pinout ....................................................................................................... 34
D-1 TLV320AIC3007EVM Bill of Materials ................................................................................... 40
F-1 USB-MODEVM Bill of Materials .......................................................................................... 43
G-1 USB Control Endpoint HIDSETREPORT Request .................................................................... 45
G-2 Data Packet Configuration ................................................................................................ 45
G-3 GPIO Pin Assignments .................................................................................................... 48
2 TLV320AIC3007EVM-K SLAU286 – June 2009
Submit Documentation Feedback
www.ti.com
1 EVM Overview
1.1 Features
1.2 Introduction
EVM Overview
• Full-featured evaluation board for the TLV320AIC3007 2-channel audio codec with integrated Class-D
amplifier.
• Modular design for use with a variety of digital signal processor (DSP) and microcontroller interface
boards.
• USB connection to PC provides power, control, and streaming audio data for easy evaluation.
• Onboard microphone for ADC evaluation
• Connection points for external control and digital audio signals for quick connection to other
circuits/input devices.
The TLV320AIC3007EVM-K is a complete evaluation kit, which includes a universal serial bus
(USB)-based motherboard and evaluation software for use with a personal computer (PC) running the
Microsoft Windows™ operating system (Win2000 or XP).
The TLV320AIC3007EVM is in the Texas Instruments modular EVM form factor, which allows direct
evaluation of the device performance and operating characteristics, and eases software development and
system prototyping. This EVM is compatible with the 5-6K Interface Evaluation Module (SLAU104 ) and the
HPA-MCUINTERFACE (SLAU106 ) from Texas Instruments and additional third-party boards which
supports the TI Modular EVM format.
The TLV320AIC3007EVM-K is a complete evaluation/demonstration kit, which includes a USB-based
motherboard called the USB-MODEVM Interface board and evaluation software for use with a PC running
the Microsoft Windows operating systems.
The USB connection from the PC provides power, control, and streaming audio data to the EVM for
reduced setup and configuration. The EVM also allows external control signals, audio data, and power for
advanced operation, which allows prototyping and connection to the rest of the evaluation/development
system.
2 EVM Description and Basics
This section provides information on the analog input and output, digital control, power, and general
connection of the TLV320AIC3007EVM.
2.1 TLV320AIC3007EVM-K Block Diagram
The TLV320AIC3007EVM-K consists of two separate circuit boards, the USB-MODEVM and the
TLV320AIC3007EVM. The USB-MODEVM is built around a TAS1020B streaming audio USB controller
with an 8051-based core.
The simple diagram of Figure 1 shows how the TLV320AIC3007EVM is connected to the USB-MODEVM.
The USB-MODEVM Interface board is intended to be used in USB mode, whereas control of the installed
EVM is accomplished using the onboard USB controller device. Provision is made, however, for driving all
the data buses (I2C, I2S, etc.) externally. The source of these signals is controlled by SW2 on the
USB-MODEVM. See Table 1 for details on the switch settings.
SLAU286 – June 2009 TLV320AIC3007EVM-K 3
Submit Documentation Feedback
EVMPosition2
EVMPosition1
TLV320AIC3007EVM
ControlInterface
TLV320AIC3007
TAS1020B
USB8051
Microcontroller
USB
I C
2
I S
2
AudioInterface
USB-MODEVM
EVM Description and Basics
2.1.1 USB-MODEVM Interface Board
The simple diagram of Figure 1 shows only the basic features of the USB-MODEVM Interface board.
When connecting the TLV320AIC3007EVM to the USB-MODEVM, use care to avoid bending the
connecting pins. The two boards can only be connected in one way. It is suggested to first align with the
10-pin connectors (J3 on the TLV320AIC3007EVM and J18A on the USB-MODEVM) and then gently
push all the connectors together until the boards are seated.
In the factory configuration, the board is ready to use with the TLV320AIC3007EVM. To view all the
functions and configuration options available on the USB-MODEVM board, see the USB-MODEVM
Interface Board schematic in Appendix E.
www.ti.com
Figure 1. TLV320AIC3007EVM-K Block Diagram
TLV320AIC3007EVM-K 4 SLAU286 – June 2009
Submit Documentation Feedback
www.ti.com
2.2 Default Configuration and Connections
2.2.1 USB-MODEVM
Table 1 provides a list of the SW2 settings on the USB-MODEVM. For use with the TLV320AIC3007EVM,
SW-2 positions 1 through 7 must be set to ON (LO), whereas SW-2.8 must be set to OFF (HI).
SW-2 Switch Number Label Switch Description
1 A0 USB-MODEVM EEPROM I2C Address A0
2 A1 USB-MODEVM EEPROM I2C Address A1
3 A2 USB-MODEVM EEPROM I2C Address A2
4 USB I2S™ I2S Bus Source Selection
5 USB MCK I2S Bus MCLK Source Selection
6 USB SPI SPI Bus Source Selection
7 USB RST RST Source Selection
8 EXT MCK External MCLK Selection
EVM Description and Basics
Table 1. USB-MODEVM SW2 Settings
ON: A0 = 0
OFF: A0 = 1
ON: A1 = 0
OFF: A1 = 1
ON: A2 = 0
OFF: A2 = 1
ON: I2S Bus connects to TAS1020
OFF: I2S Bus connects to USB-MODEVM J14
ON: MCLK connects to TAS1020
OFF: MCLK connects to USB-MODEVM J14
ON: SPI Bus connects to TAS1020
OFF: SPI Bus connects to USB-MODEVM J15
ON: EVM Reset Signal comes from TAS1020
OFF: EVM Reset Signal comes from USB-MODEVM J15
ON: MCLK Signal is provided from USB-MODEVM J10
OFF: MCLK Signal comes from either selection of SW2-5
2.2.2 TLV320AIC3007EVM Jumpers and Switches
Table 2 provides a list of jumpers found on the EVM and their factory default conditions.
Table 2. List of Stand-alone Jumpers
Jumper Jumper Default
Number Type Position Jumper Description
W1 2-pin soldered AVDD_ADC power
W2 2-pin soldered DRVDD power (DRVDD1 on EVM).
W3 2-pin soldered DRVDD power (DRVDD2 on EVM).
W3 2-pin soldered AVDD_DAC power.
W5 2-pin soldered SPVDD power.
W7 2-pin soldered DVDD power.
W8 2-pin soldered IOVDD power.
W9 3-pin 2-3 Mic bias select. Connect 1-2 to use AIC3007 Mic Bias. Connect 2-3 to use EVM 3.3V Mic Bias.
W10 2-pin Open Connect EVM Onboard Mic to AIC3007 MIC3R input.
W11 2-pin Open Connect EVM Onboard Mic to AIC3007 MIC3L input.
W12 2-pin Open Enable 16-ohm load for HPL output test.
W13 2-pin Open Enable 16-ohm load for HPR output test.
W14 3-pin 1-2 IOVDD select. Connect 1-2 for IOVDD=+1.8V. Connect 2-3 for IOVDD=+3.3V.
W15 2-pin Open GPIO1 access point.
W16 2-pin Installed Software reset enable.
SLAU286 – June 2009 TLV320AIC3007EVM-K 5
Submit Documentation Feedback
EVM Description and Basics
Table 2. List of Stand-alone Jumpers (continued)
Jumper Jumper Default
Number Type Position Jumper Description
W17 2-pin Open Selects onboard EEPROM as TAS1020B Firmware Source.(Not Used). Note that for this EVM the Firmware Source
W18 2-pin Open Selects SWOUTP to J-18. Caution: Make sure that the Class-D Output is Disabled before Installing W18.
W19 2-pin Open Selects SWOUTM to J-18. Caution: Make sure that the Class-D Output is Disabled before Installing W19.
EEPROM is on the USB-MODEVM.
Table 3. Switch SW1 Configurations
EVM Connector Terminal Number SW1 Switch Position = DIFF (Differential Inputs) SW1 Switch Position = SE = Single-Ended
Connector (Terminal 2 is always Ground.) Inputs
J6 Terminal 1 Input to AIC3007-pin 4 = LINE1LP Input to AIC3007-pin 4 = LINE1LP
Terminal 3 Input to AIC3007-pin 3 = MICDET/ LINE1LM Input to AIC3007-pin 5 = LINE1RP
J7 Terminal 1 Input to AIC3007-pin 5 = LINE1RP Input to AIC3007-pin 9 = MIC3R/LINE2RM
Terminal 3 Input to AIC3007-pin 6 = MIC3L/ LINE1RM Input to AIC3007-pin 6 = MIC3L/LINE1RM
J8 Terminal 1 Input to AIC3007-pin 7 = LINE2LP Input to AIC3007-pin 7 = LINE2LP
Terminal 3 Input to AIC3007-pin 8 = LINE2RP/ LINE2LM Input to AIC3007-pin 8 = LINE2RP/LINE2LM
Table 4. Switch SW2 Configurations
SW2 Switch Position = CAP SW2 Switch Position = Capacitor-less
47- µ F capacitors in-line with HPLOUT and HPROUT to J10 (Referenced to HPLOUT and HPROUT Direct Coupled to J10 (Referenced to HPCOM)
Ground)
www.ti.com
Table 5. Switch SW3 Configurations
SW3 Switch Position = EXT. SW3 Switch Position = +5VA
User Provides an External Power Supply for SVDD (Class-D Power Amplifier EVM 5-VDC Supply used for SVDD (Class-D Power Amplifier Supply)
Supply), Max Value = 5 VDC
2.3 Power Connections
The TLV320AIC3007 can be powered independently when being used in stand-alone operation or by the
USB-MODEVM when it is plugged onto the motherboard.
2.3.1 Stand-Alone Operation
When used as a stand-alone, power is applied to J15 directly; be sure to reference the supplies to the
appropriate grounds on that connector.
CAUTION
Before applying power to the EVM, you must verify that all power supplies are
within the safe operating limits as indicated in the TLV320AIC3007 data sheet .
J15 provides connection to the common power bus for the TLV320AIC3007EVM. Power is supplied on the
pins listed in Table A-3 .
The TLV320AIC3007EVM-K motherboard (the USB-MODEVM Interface board) supplies power to J15 of
the TLV320AIC3007EVM. Power for the motherboard is supplied either through its USB connection or via
terminal blocks on that board.
2.3.2 USB-MODEVM Operation
The USB-MODEVM Interface board can be powered from several different sources:
• USB
• 6-Vdc to 10-Vdc ac/dc external wall supply (not included)
6 TLV320AIC3007EVM-K SLAU286 – June 2009
Submit Documentation Feedback
www.ti.com
• Laboratory power supply
When powered from the USB connection, JMP6 must have a shunt from pins 1–2 (this is the default
factory configuration). When powered from 6 Vdc-10 Vdc, either through the J8 terminal block or J9 barrel
jack, JMP6 must have a shunt installed on pins 2–3. If power is applied in any of these ways, onboard
regulators generate the required supply voltages, and no further power supplies are necessary.
If laboratory supplies are used to provide the individual voltages required by the USB-MODEVM Interface,
JMP6 must have no shunt installed. Voltages are then applied to J2 (+5VA), J3 (+5VD), J4 (+1.8VD), and
J5 (+3.3VD). The +1.8VD and +3.3VD can also be generated on the board by the onboard regulators from
the +5VD supply; to enable this configuration, the switches on SW1 need to be set to enable the
regulators by placing them in the ON position (lower position, looking at the board with text reading
right-side up). If +1.8VD and +3.3VD are supplied externally, disable the onboard regulators by placing
SW1 switches in the OFF position.
Each power supply voltage has an LED (D1-D7) that lights when the power supplies are active.
3 TLV320AIC3007EVM-K Setup and Installation
The following section provides information on using the TLV320AIC3007EVM-K, including set up, program
installation, and program usage.
Note: If using the EVM in stand-alone mode, the software must be installed per the following
instructions, but the hardware configuration may be different.
TLV320AIC3007EVM-K Setup and Installation
3.1 Software Installation
3.2 EVM Connections
1. Locate the installation file on the CD-ROM included with the EVM or download the latest version of the
software located on the AIC3007 Product Page .
2. Unzip the installation file by clicking on the self-extracting zip file.
3. Install the EVM software by double-clicking the Setup executable and follow the directions. Users may
be prompted to restart their computers.
This installs all the TLV320AIC3007 software and required drivers onto the PC.
1. Ensure that the TLV320AIC3007EVM is installed on the USB-MODEVM Interface board, aligning J1,
J2, J3, J4, and J5 with the corresponding connectors on the USB-MODEVM.
2. Verify that the jumpers and switches are in their default conditions.
3. Attach a USB cable from the PC to the USB-MODEVM Interface board. The default configuration
provides power, control signals, and streaming audio via the USB interface from the PC. On the
USB-MODEVM, LEDs D3-6 light to indicate the power is being supplied from the USB.
4. For the first connection, the PC recognizes new hardware and begins an initialization process. The
user may be prompted to identify the location of the drivers or allow the PC to automatically search for
them. Allow the automatic detection option.
5. Once the PC confirms that the hardware is operational, D2 on the USB-MODEVM lights to indicate that
the firmware has been loaded and the EVM is ready for use. If the LED is not lighted, verify that the
drivers were installed, try to unplug, and restart at Step 3.
After the TLV320AIC3007EVM-K software installation (described in Section 3.2 ) is complete, evaluation
and development using the target TLV320AIC3007 can begin.
The TLV320AIC3007EVM software now can be launched. The user sees an initial screen that looks
similar to Figure 4 .
SLAU286 – June 2009 TLV320AIC3007EVM-K 7
Submit Documentation Feedback
TLV320AIC3007EVM Software
4 TLV320AIC3007EVM Software
The following section discusses the details and operation of the EVM software.
Note: For configuration of the codec, the TLV320AIC3007 block diagram located in the
TLV320AIC3007 data sheet is a good reference to help determine the signal routing. A
pop-up detailed block diagram also is provided in the TLV320AIC3007 GUI software.
4.1 Quick Start Tabs
The Quick Start USB-MODEM Configurations tab and The Quick Start Preset Configurations tab Figure 3
helps the user to begin using the GUI.
4.1.1 Quick Start - USB-MODEM Configurations
www.ti.com
Figure 2. Quick Start - USB-MODEM Configurations
The default tab is the Quick Start - USB-MODEVM tab. This tab shows two common USB-MODEVM
configurations used with the AIC3007EVM. The default configuration is the USB-MODEVM Audio Interface
Configuration. In this configuration, the USB-MODEVM acts as a USB sound card. Audio files can be
played on the PC and targeted to the USB-MODEVM via the USB connection. On the USB-MODEVM, the
TAS1020B converts the USB audio to I2S data and the I2C script data to I2C commands.
Note: For correct EVM operation, ensure that SW2 switch settings are as shown in Figure 2 .
TLV320AIC3007EVM-K 8 SLAU286 – June 2009
Submit Documentation Feedback
www.ti.com
4.1.2 Quick Start - Preset Configurations
TLV320AIC3007EVM Software
Figure 3. Quick Start - Preset Configurations Tab
The Quick Start Preset Configurations tab provides several different preset configurations of the codec
(Figure 3 ). The Preset Configurations buttons allow the user to choose from the provided defaults. When
the selection is made, the Preset Configuration Description shows a summary of the codec setup
associated with the choice made. If the choice is acceptable, the Load button can be pressed, and the
preset configuration is loaded into the codec. The user can change to the Command Line Interface tab
(see Figure 29 ) to view the actual settings that were programmed into the codec. Note that the controls of
the GUI are updated per any downloaded script whether it be a Preset Configuration script or a User
Script run form the Command Line Interface tab.
SLAU286 – June 2009 TLV320AIC3007EVM-K 9
Submit Documentation Feedback
TLV320AIC3007EVM Software
4.2 Main Software Screen With Indicators and Functions
www.ti.com
Figure 4. Main Software Screen
Figure 4 illustrates the main screen of the EVM software. The indicators and buttons located above the
tabbed section of the front page are visible regardless of which tab is currently being selected.
The firmware box indicates from where the firmware being used is operating. In this release, the firmware
is on the USB-MODEVM, so the user sees USB-MODEVM in the box labeled Located on:. The version of
the firmware appears in the Version box below this.
To the right, the next group box contains controls for resetting the TLV320AIC3007EVM. A software reset
can be done by writing to a register in the TLV320AIC3007EVM; this is accomplished by clicking the
button labeled Reset.
Near the Firmware box, the Device Connected LED is green when the EVM is connected. If the indicator
is red, the EVM is not properly connected to the PC. Disconnect the EVM, and verify that the drivers were
correctly installed. Then reconnect, and try restarting the software.
On the upper right portion of the screen are located several indicators which provide the status of various
portions of the TLV320AIC3007. Pressing the Indicator Updates button activates these indicators. These
indicators, as well as the other indicators on this panel, are updated only when the software's front panel
is inactive, once every 20 ms.
10 TLV320AIC3007EVM-K SLAU286 – June 2009
Submit Documentation Feedback
www.ti.com
The ADC Overflow and DAC Overflow indicators illuminate when the overflow flags are set in the
TLV320AIC3007. Below these indicators are the AGC Noise Threshold Exceeded indicators that
illuminate when the AGC noise threshold is exceeded. To the far right of the screen, the Short Circuit
Detect indicators illuminate when a short-circuit condition is detected, if this feature has been enabled.
Below the short-circuit indicators, the AGC Gain Applied indicators use a bar graph to show the amount
of gain which has been applied by the AGC and indicators that illuminate when the AGC is saturated.
4.2.1 Detailed TLV320AIC3007 Block Diagram
TLV320AIC3007EVM Software
Figure 5.
To view the detailed block diagram, click on the "Show" button at the top left of the Main Software Screen
(Figure 4 ). This block diagram shows the details of the processing blocks of the TLV320AIC3007 including
the I2C registers associated with each block.
SLAU286 – June 2009 TLV320AIC3007EVM-K 11
Submit Documentation Feedback
TLV320AIC3007EVM Software
4.3 Audio Input/ADC Tab
www.ti.com
Figure 6. Audio Input/ADC Tab
The Audio Input/ADC tab allows control of the analog input mixer and the ADC. The controls are
displayed to look similar to an audio mixing console (see Figure 6 ). Each analog input channel has a
vertical strip that corresponds to that channel. By default, all inputs are muted when the TLV320AIC3007
is powered up.
To route an analog input to the ADC:
1. Select the Input Mode button to correctly show if the input signal is single-ended ( SE) or
fully-differential ( Diff). Inputs that are single-ended must be made to the positive signal terminal.
2. Click on the button of the analog input channel that corresponds to the correct ADC. The caption of the
button changes to Active. Note that the user can connect some channels to both ADCs, whereas
others only connect to one ADC.
3. Adjust the Level control to the desired attenuation for the connected channel. This level adjustment
can be done independently for each connection.
The TLV320AIC3007 offers a programmable microphone bias that can either be powered down, set to 2
V, 2.5 V, or the power supply voltage of the ADC (AVDD_ADC). Control of the microphone bias (mic bias)
voltage is accomplished by using the Mic Bias pulldown menu button above the last two channel strips.
To use the onboard microphone, hardware jumpers W10 and W11 must be installed. Nothing must be
plugged into J9, in order for the mic bias settings in the software to take effect. Also, jumper W9 (Mic Bias
Sel) must be set to connect positions 2 and 3, so that MICBIAS is controlled by the TLV320AIC3007.
Also shown are controls for Weak Common Mode Bias. Enabling these controls results in unselected
inputs to the ADC channels to be weakly biased to the ADC common mode voltage.
Nearby are the controls for the ADC PGA, including the master volume controls for the ADC inputs. Each
channel of the ADC can be powered up or down as needed using the Power Up buttons. PGA
soft-stepping for each channel is selected using the pulldown menu control. The two large knobs set the
actual ADC PGA Gain and allow adjustment of the PGA gains from 0 dB to 59.5 dB in 0.5-dB steps
(excluding Mute). At the extreme counterclockwise rotation, the channel is muted. Rotating the knob
clockwise increases the PGA gain, which is displayed in the box directly above the volume control.
TLV320AIC3007EVM-K 12 SLAU286 – June 2009
Submit Documentation Feedback
www.ti.com
4.4 Bypass Paths Tab
TLV320AIC3007EVM Software
Figure 7. Bypass Paths Tab
As shown in Figure 7 , several analog bypass paths are available in the TMS320AIC3007. LINE1RP,
LINE2RP, LINE1LP, and LINE2LP inputs can be passively bypassed to either RIGHT_LOP or LEFT_LOP
by using the Passive Analog Bypass Paths controls. LINE2L (left) and LINE2R (right) buffered inputs
can directed to the output mixer sections by using the Active Bypass Paths to Output Amplifiers
controls.
SLAU286 – June 2009 TLV320AIC3007EVM-K 13
Submit Documentation Feedback
TLV320AIC3007EVM Software
4.5 Audio Interface Tab
www.ti.com
Figure 8. Audio Interface Tab
The Audio Interface tab (Figure 8 ) allows configuration of the audio digital data interface to the
TLV320AIC3007.
The interface mode can be selected using the Audio Serial Data Mode control—selecting either I2S
mode, DSP mode, or Right- or Left-Justified modes. Word length can be selected using the Audio Serial
Word Length control, and the bit clock rate can also be selected using the Bit Clock Mode rate control.
The Audio Data Word Offset, used in TDM mode (see the product data sheet ) also can be selected on
this tab.
Along the bottom of this tab are controls for choosing the BLCK and WCLK as being either inputs or
outputs. With the codec configured in Slave mode, both the BCLK and WCLK are set to inputs. If the
codec is in Master mode, then BCLK and WCLK are configured as outputs. Additionally, two buttons
provide the options for 3-stating the DOUT line when no valid data is available and for transmitting BLCK
and WCLK when the codec is powered down.
Re-synchronization of the audio bus is enabled using the controls in the lower right corner of this screen.
Re-synchronization is done if the group delay changes by more than ± FS/4 for the ADC or DAC sample
rates (see the TLV320AIC3007 data sheet). The channels can be soft-muted when doing the
Re-synchronization if the Soft Mute button is enabled.
The default mode for the EVM is configured as 44.1-kHz, 16-bit, I2C words, and the codec is a slave
(BCLK and WCLK are supplied to the codec externally). For use with the PC software and the
USB-MODEVM, the default settings must be used; no changes to the software are required.
TLV320AIC3007EVM-K 14 SLAU286 – June 2009
Submit Documentation Feedback
www.ti.com
4.6 Clocks Tab
TLV320AIC3007EVM Software
The TLV320AIC3007 provides a phase-locked loop (PLL) that allows flexibility in the clock generation for
the ADC and DAC sample rates. The Clocks tab contains the controls that can be used to configure the
TLV320AIC3007 for operation with a wide range of master clocks. See the Audio Clock Generation
Processing figure in the TLV320AIC3007 data sheet for further details of selecting the correct clock
settings.
For use with the PC software and the USB-MODEVM, the clock settings must be set a certain way. If the
settings are changed from the default settings which allow operation from the USB-MODEVM clock
reference, the EVM settings can be restored automatically by clicking the Load EVM USB Settings
button. Note that changing any of the clock settings from the values loaded when this button is pushed
can result in the EVM not working properly with the PC software or USB interface. If an external audio bus
is used (audio not driven over the USB bus), then settings can be changed to any valid combination. See
Figure 9 .
4.6.1 Configuring the Codec Clocks and Fsref Calculation
The codec clock source is chosen by the CODEC_CLK Source control. When this control is set to
CLKDIV_OUT, the PLL is not used; when set to PLLDIV_OUT, the PLL is used to generate the clocks.
Note: Per the TLV320AIC3007 data sheet, the codec must be configured to allow the value of
Fsref to fall between the values of 39 kHz to 53 kHz.
Figure 9. Clocks Tab
SLAU286 – June 2009 TLV320AIC3007EVM-K 15
Submit Documentation Feedback
TLV320AIC3007EVM Software
4.6.1.1 Use Without PLL
Setting up the TLV320AIC3007 for clocking without using the PLL permits the lowest power consumption
by the codec. The CLKDIV_IN source can be selected as either MCLK (default) or BCLK. The CLKDIV_IN
frequency then is entered into the CLKDIV_IN box, in megahertz (MHz). The default value shown,
11.2896 MHz, is the frequency used on the USB-MODEVM board. This value then is divided by the value
of Q, which can be set from 2 to 17; the resulting CLKDIV_OUT frequency is shown in the indicator next
to the Q control. The result frequency is shown as the Actual Fsref.
4.6.1.2 Use With PLL
When PLLDIV_OUT is selected as the codec clock source, the PLL is used. The PLL clock source is
chosen using the PLLCLK_IN control, and can be set to either MCLK or BCLK. The PLLCLK_IN
frequency then is entered into the PLLCLK_IN Source box.
The PLL_OUT and PLLDIV_OUT indicators show the resulting PLL output frequencies with the values set
for the P, K, and R parameters of the PLL. See the TLV320AIC3007 data sheet for an explanation of
these parameters. The parameters can be set by clicking on the up/down arrows of the P, K, and R
combination boxes, or they can be typed into these boxes.
Use the Search for PLL Settings Based on Desired Fsref and PLLCLK_IN section to find the ideal
values of P, K, and R for a given PLL input frequency and desired Fsref:
1. Set the desired Fsref using the Fsref switch.
2. Verify that the correct reference frequency is entered into the PLLCLK_IN Source box in megahertz
(MHz)
3. Push the Search for Ideal PLL Settings button. The software starts searching for ideal combinations
of P, K, and R, which achieve the desired Fsref. The possible settings for these parameters are
displayed in the spreadsheet-like table labeled Possible Settings.
4. Click on a row in this table to select the P, K, and R values located in that row. Notice that when this is
done, the software updates the P, K, R, PLL_OUT and PLLDIV_OUT readings, as well as the Actual
Fsref and Error displays. The values show the calculations based on the values that were selected.
This process does not actually load the values into the TLV320AIC3007, however; it only updates the
displays in the software. If more than one row exists, the user can choose the other rows to see which
of the possible settings comes closest to the ideal settings.
When a suitable combination of P, K, and R has been chosen, pressing the Load Settings into Device?
button downloads these values into the appropriate registers on the TLV320AIC3007.
www.ti.com
4.6.1.3 Setting ADC and DAC Sampling Rates
The Fsref frequency that determines either enabling or bypassing the PLL (see Section 4.6.1.1 or
Section 4.6.1.2 ) is used to determine the actual ADC and DAC sampling rates. By using the NADC and
NDAC factors, the sampling rates are derived from the Fsref. If the dual-rate mode is desired, this option
can be enabled for either the ADC or DAC by pressing the corresponding Dual Rate Mode button. The
ADC and DAC sampling rates are shown in the box to the right of each control.
TLV320AIC3007EVM-K 16 SLAU286 – June 2009
Submit Documentation Feedback