Texas Instruments TLV320AIC12KEVMB-K User Manual

SLAU229B October 2007 Revised August 2008
TLV320AIC12KEVMB-K and TLV320AIC14KEVMB-K User's
This user's guide describes the characteristics, operation, and use of evaluation modules TLV320AIC12KEVMB and TLV320AIC14KEVMB, both as stand-alone and as kits (TLV320AIC12KEVMB-K and TLV320AIC14KEVMB-K). A complete circuit description, schematic diagram and bill of materials are also included.
EVM-Compatible Device Data Sheets
Device Literature Number
TLV320AIC12K/14K SLWS115E TAS1020B SLES025 REG1117-3.3 SBVS001 TPS767D318 SLVS209 SN74LVC125A SCAS290 SN74LVC1G125 SCES223 SN74LVC1G07 SCES296
User's Guide
Guide
Contents
1 EVM Overview ............................................................................................................... 3
2 Analog Interface .............................................................................................................. 3
3 Digital Interface .............................................................................................................. 4
4 Power Supplies .............................................................................................................. 6
5 EVM Operation ............................................................................................................... 6
6 Kit Operation ................................................................................................................. 7
7 EVM Bill of Materials ....................................................................................................... 29
Appendix A TLV320AIC12KEVMB/14KEVMB Schematic ................................................................. 32
Appendix B USB-MODEVM Schematic ...................................................................................... 33
List of Figures
1 TLV320AIC12KEVMB-K/14KEVMB-K Block Diagram .................................................................. 8
2 Default Software Screen .................................................................................................. 10
3 Information Tab ............................................................................................................. 12
4 Sounds and Audio Devices Properties .................................................................................. 13
5 Preset Configurations ...................................................................................................... 14
6 Device Controls Tab ....................................................................................................... 15
7 Control Register 1 Tab .................................................................................................... 16
8 Control Register 2 Tab .................................................................................................... 17
9 Control Register 3 Tab .................................................................................................... 17
10 Control Register 4 Tab .................................................................................................... 18
11 Control Register 5 Tab .................................................................................................... 18
12 Control Register 6 Tab .................................................................................................... 19
SMARTDM is a trademark of Texas Instruments. I2C is a trademark of Koninklijke Philips Electronics N.V. Windows is a registered trademark of Microsoft Corporation. LabView is a trademark of National Instruments.
SLAU229B – October 2007 – Revised August 2008 TLV320AIC12KEVMB-K and TLV320AIC14KEVMB-K User's Guide 1
Submit Documentation Feedback
www.ti.com
13 Command Line Interface Tab ............................................................................................ 20
14 File Menu .................................................................................................................... 21
15 Options Menu ............................................................................................................... 21
16 Help .......................................................................................................................... 22
List of Tables
1 Analog Interface Pinout ..................................................................................................... 3
2 Alternate Analog Connectors ............................................................................................... 4
3 Digital Interface Pinout ...................................................................................................... 4
4 Power Supply Pinout ........................................................................................................ 6
5 List of Jumpers ............................................................................................................... 7
6 USB-MODEVM SW2 Settings ............................................................................................. 9
7 USB Control Endpoint HIDSETREPORT Request .................................................................... 22
8 Data Packet Configuration ................................................................................................ 23
9 GPIO Pin Assignments .................................................................................................... 25
10 TLV320AIC12KEVMB/14KEVMB Bill of Materials ..................................................................... 29
11 USB-MODEVM Bill of Materials .......................................................................................... 30
2 TLV320AIC12KEVMB-K and TLV320AIC14KEVMB-K User's Guide SLAU229B – October 2007 – Revised August 2008
Submit Documentation Feedback
www.ti.com

1 EVM Overview

1.1 Features

1.2 Introduction

2 Analog Interface

EVM Overview
Full-featured evaluation board for the TLV320AIC12K/14K audio codec
TLV320AIC12KEVMB-K/14KEVMB-K features USB connectivity for quick and easy setup.
Intuitive evaluation software
Easy interfacing to multiple analog sources
Analog output signals from the TLV320AIC12K/14K are available on top and bottom connectors.
On-board headphone jack, external microphone jack and electret microphone are included
Digital control signals can be applied directly to top and bottom connectors.
The TLV320AIC12KEVMB-K/14KEVMB-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 personal computer running Microsoft Windows
®
operating systems. Provisions are made for connecting all audio inputs and outputs either from the modular connectors or with on-board terminals, a headphone jack, and external microphone jack. An on-board electret microphone is also provided.
For maximum flexibility, the TLV320AIC12KEVMB/14KEVMB is designed for easy interfacing to multiple analog sources. Samtec part numbers SSW-110-22-F-D-VS-K and TSM-110-01-T-DV-P provide a convenient 10-pin dual row header/socket combination at J1 and J2. These headers/sockets provide access to the analog input and output pins of the device. Consult Samtec at www.samtec.com or call 1-800-SAMTEC-9 for a variety of mating connector options. Table 1 summarizes the analog interface pinout for the TLV320AIC12KEVMB/14KEVMB.
Table 1. Analog Interface Pinout
PIN NUMBER SIGNAL DESCRIPTION
J1.1 OUTM1 Inverting output of the DAC J1.2 OUTP1 Noninverting output of the DAC J1.3 OUTMV Programmable virtual ground for the output of OUTP2 and OUTP3 J1.4 OUTP2 Analog output number 2 from the 16- driver J1.5 OUTMV Programmable virtual ground for the output of OUTP2 and OUTP3 J1.6 OUTMV Programmable virtual ground for the output of OUTP2 and OUTP3 J1.7 OUTMV Programmable virtual ground for the output of OUTP2 and OUTP3 J1.8 OUTP2 Analog output number 3 from the 16- driver J1.9 AGND Analog Ground J1.10 NC Not Connected J1.11 AGND Analog Ground J1.12 NC Not Connected J1.13 AGND Analog Ground J1.14 NC Not Connected J1.15 NC Not Connected J1.16 NC Not Connected J1.17 AGND Analog Ground J1.18 NC Not Connected J1.19 AGND Analog Ground J1.20 NC Not Connected J2.1 INM2 Inverting analog input 2
SLAU229B – October 2007 – Revised August 2008 TLV320AIC12KEVMB-K and TLV320AIC14KEVMB-K User's Guide 3
Submit Documentation Feedback
Digital Interface
www.ti.com
Table 1. Analog Interface Pinout (continued)
PIN NUMBER SIGNAL DESCRIPTION
J2.2 INP2 Noninverting analog input 2 J2.3 NC Not Connected J2.4 NC Not Connected J2.5 NC Not Connected J2.6 NC Not Connected J2.7 INM1 Inverting analog input 1 J2.8 INP1 Noninverting analog input 1 J2.9 AGND Analog Ground J2.10 NC Not Connected J2.11 AGND Analog Ground J2.12 NC Not Connected J2.13 AGND Analog Ground J2.14 NC Not Connected J2.15 NC Not Connected J2.16 NC Not Connected J2.17 AGND Analog Ground J2.18 NC Not Connected J2.19 AGND Analog Ground J2.20 NC Not Connected

3 Digital Interface

In addition to the analog headers, the analog inputs and outputs may also be accessed through alternate connectors, either screw terminals or audio jacks. The microphone input is also tied to J8 and the headset output tied to J11. Table 2 summarizes the screw terminals available on the TLV320AIC12KEVMB/14KEVMB.
Table 2. Alternate Analog Connectors
DESIGNATOR PIN 1 PIN 2 PIN3
J6 OUTP1 OUTM1 J7 OUTP2 OUTMV OUTP3 J9 INP2 INM2 J10 INM1 INP1
The TLV320AIC12KEVMB/14KEVMB is designed to easily interface with multiple control platforms. Samtec part numbers SSW-110-22-F-D-VS-K and TSM-110-01-T-DV-P provide a convenient 10-pin dual row header/socket combination at J4 and J5. These headers/sockets provide access to the digital control and serial data pins of the device. Consult Samtec at www.samtec.com or call 1-800- SAMTEC-9 for a variety of mating connector options. Table 3 summarizes the digital interface pinout for the TLV320AIC12KEVMB/14KEVMB.
Table 3. Digital Interface Pinout
PIN NUMBER SIGNAL DESCRIPTION
J4.1 NC Not Connected J4.2 NC Not Connected J4.3 NC Not Connected J4.4 DGND Digital Ground J4.5 NC Not Connected
TLV320AIC12KEVMB-K and TLV320AIC14KEVMB-K User's Guide4 SLAU229B – October 2007 – Revised August 2008
Submit Documentation Feedback
www.ti.com
Digital Interface
Table 3. Digital Interface Pinout (continued)
PIN NUMBER SIGNAL DESCRIPTION
J4.6 NC Not Connected J4.7 NC Not Connected J4.8 AIC12K/14K RESET Reset signal input to AIC12K/14KEVMB J4.9 NC Not Connected J4.10 DGND Digital Ground J4.11 NC Not Connected J4.12 NC Not Connected J4.13 NC Not Connected J4.14 AIC12K/14K RESET Reset signal input to AIC12K/14KEVMB J4.15 NC Not Connected J4.16 SCL I2C Serial Clock J4.17 NC Not Connected J4.18 DGND Digital Ground J4.19 NC Not Connected J4.20 SDA I2C Serial Data Input/Output J5.1 NC Not Connected J5.2 NC Not Connected J5.3 SCLK Audio Serial Data Shift Clock (Input/Output) J5.4 DGND Digital Ground J5.5 NC Not Connected J5.6 NC Not Connected J5A.7 FSD Audio Serial Data Bus Frame Sync Delayed J5B.7 FS Audio Serial Data Bus Frame Sync (Input/Output) J5.8 NC Not Connected J5.9 NC Not Connected J5.10 DGND Digital Ground J5.11 DIN Audio Serial Data Bus Data Input (Input) J5.12 NC Not Connected J5.13 DOUT Audio Serial Data Bus Data Output (Output) J5.14 NC Not Connected J5.15 NC Not Connected J5.16 SCL I2C Serial Clock J5.17 MCLK Master Clock Input J5.18 DGND Digital Ground J5.19 AIC12K/14K PWDN Power down signal input to AIC12K/14KEVMB J5.20 SDA I2C Serial Data Input/Output
Note that J5 comprises the signals needed for a SMARTDM™ serial digital audio interface and I2C™ signals. The reset and power down ( RESET and PWRDN) signals are routed to J4. I2C™ is actually routed from the USB-MODEVM to both connectors; however, the codec and EEPROM are only connected to J5.
SLAU229B – October 2007 – Revised August 2008 TLV320AIC12KEVMB-K and TLV320AIC14KEVMB-K User's Guide 5
Submit Documentation Feedback
Power Supplies

4 Power Supplies

J3 provides connection to the common power bus for the TLV320AIC12KEVMB/14KEVMB. Power is supplied on the pins listed in Table 4 .
The TLV320AIC12KEVMB-K/14KEVMB-K motherboard (the USB-MODEVM Interface board) supplies power to J3 of the TLV320AIC12KEVMB/14KEVMB. Power for the motherboard is supplied either through its USB connection or via terminal blocks on that board.

4.1 Stand-Alone Operation

When used as a stand-alone EVM, power can be applied to J3 directly. The user must be sure to reference the supplies to the appropriate grounds on that connector.
www.ti.com
Table 4. Power Supply Pinout
SIGNAL PIN NUMBER SIGNAL
NC J3.1 J3.2 NC
+5VA J3.3 J3.4 NC
DGND J3.5 J3.6 AGND
DVDD (1.8V) J3.7 J3.8 NC
IOVDD (3.3V) J3.9 J3.10 NC
CAUTION
Verify that all power supplies are within the safe operating limits shown on the
TLV320AIC12K/14K data sheet before applying power to the EVM.

4.2 USB-MODEVM Interface Power

The USB-MODEVM Interface board can be powered from several different sources:
USB
6VDC–10VDC AC/DC external wall supply (not included)
Lab power supply
When powered from the USB connection, JMP6 should have a shunt from pins 1–2 (this is the default factory configuration). When powered from 6V-10VDC, either through the J8 terminal block or the J9 barrel jack, JMP6 should 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 lab supplies are used to provide the individual voltages required by the USB-MODEVM Interface, JMP6 should 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.

5 EVM Operation

This section provides information on the analog input and output, digital control, and general operating conditions for the TLV320AIC12KEVMB/14KEVMB.
6 TLV320AIC12KEVMB-K and TLV320AIC14KEVMB-K User's Guide SLAU229B – October 2007 – Revised August 2008
Submit Documentation Feedback
www.ti.com

5.1 Analog Input

The analog input sources can be applied directly to J2 (top or bottom side). The analog inputs may also be accessed through J8 and screw terminals J9 and J10.

5.2 Analog Output

The analog outputs from the TLV320AIC12K/14K are available on J1 (top or bottom). They also may be accessed through J6 and J7 or J11. Note that the TLV320AIC14K only has one (differential) output which can be accessed from J1 or screw terminal J6.

5.3 Digital Control

The digital control signals can be applied directly to J4 and J5 (top or bottom side). The modular TLV320AIC12KEVMB/14KEVMB can also be connected directly to the USB-MODEVM Interface board included as part of the TLV320AIC12EVMB-K/14EVMB-K. See the product folder for this EVM or the
TLV320AIC12K/14K for a current list of compatible interface and/or accessory boards.

5.4 Default Jumper Locations

Table 5 lists the jumpers found on the EVM and their respective factory default conditions. Please note
that jumper W5 must be set to position 1-2 (IOVDD=3.3V) when using the USB-MODEVM for I2C
communication.
JUMPER POSITION JUMPER DESCRIPTION
W1 1-2 digital audio clock signals. When set as slave (1-2), the codec receives the digital
W2 1-2 W3 Installed Provides a means of measuring IOVDD current
W4 Installed Provides a means of measuring DVDD current W5 1-2 W6 Installed Selects on-board EEPROM as firmware source (required) W7 Installed W8 Installed Provides a means of measuring AVDD current
W9 Installed Provides a means of measuring DRVDD current W10 Installed Coupling for OUTP1. Either directly or via capacitor W11 1-2 Source for INM1. Set to 1-2 when using external common mode for MICIN W12 Installed Disconnects electret microphone (MK1)
Kit Operation
Table 5. List of Jumpers
DEFAULT
Sets the codec as master or slave. When set as master (2-3), the codec provides the audio clock signals.
Used for correct polarity for FSD. In stand-alone master, FSD must be pulled high (2-3), In stand alone slave, FSD must be pulled low (1-2).
IOVDD select. Can be set to 3.3V (1-2) or 1.8V (2-3) although 3.3V is required when using the USB-MODEVM for I2C communication.
When installed, allows the USB-MODEVM to hardware reset the device under user control

6 Kit Operation

This section provides information on using the TLV320AIC12KEVMB-K/14KEVMB-K, including set up, program installation, and program usage.

6.1 TLV320AIC12KEVMB-K/14KEVMB-K Block Diagram

A block diagram of the TLV320AIC12KEVMB-K/14KEVMB-K is shown in Figure 1 . The evaluation kit consists of two circuit boards connected together. The motherboard is designated as the USB-MODEVM Interface board, while the daughtercard is the TLV320AIC12KEVMB/14KEVMB described previously in this manual.
SLAU229B – October 2007 – Revised August 2008 TLV320AIC12KEVMB-K and TLV320AIC14KEVMB-K User's Guide 7
Submit Documentation Feedback
EVMPosition2
EVMPosition1
TLV320AIC12KEVMB/14KEVMB
ControlInterface
TAS1020B
USB8051
Microcontroller
USB
I C
2
SMARTDM
AudioInterface
TLV320AIC12K/14K
Kit Operation
www.ti.com
Figure 1. TLV320AIC12KEVMB-K/14KEVMB-K Block Diagram
The USB-MODEVM Interface board is intended to be used in USB mode, where control of the installed EVM is accomplished using the onboard USB controller device. Provision is made, however, for driving all the data buses (I2C, PCM/ SMARTDM™) externally. The source of these signals is controlled by SW2 on the USB-MODEVM. Refer to Table 6 for details on the switch settings.
Additionally, SW3 on the USB-MODEVM (IOVDD SELECT) must be set up to 3.3V (SW3 position 1 on, SW3 positions 2-8 off).
TLV320AIC12KEVMB-K and TLV320AIC14KEVMB-K User's Guide8 SLAU229B – October 2007 – Revised August 2008
Submit Documentation Feedback
www.ti.com
Kit Operation
Table 6. USB-MODEVM SW2 Settings
SW-2 SWITCH NUMBER LABEL SWITCH DESCRIPTION
1 A0 ON: A0 = 0
2 A1 ON: A1 = 0
3 A2 ON: A2 = 0
4 USB I2S ON: Digital Audio Bus connects to TAS1020
5 USB MCK ON: MCLK connects to TAS1020
6 USB SPI ON: SPI Bus connects to TAS1020
7 USB RST ON: EVM Reset Signal comes from TAS1020
8 EXT MCK ON: MCLK Signal is provided from USB-MODEVM J10
USB-MODEVM EEPROM I2C Address A0 OFF: A0 = 1
USB-MODEVM EEPROM I2C Address A1 OFF: A1 = 1
USB-MODEVM EEPROM I2C Address A2 OFF: A2 = 1
Digital Audio Bus Source Selection OFF: Digital Audio Bus connects to USB-MODEVM J14
Digital Audio Bus MCLK Source Selection OFF: MCLK connects to USB-MODEVM J14
SPI Bus Source Selection OFF: SPI Bus connects to USB-MODEVM J15
RST Source Selection OFF: EVM Reset Signal comes from USB-MODEVM J15
External MCLK Selection OFF: MCLK Signal comes from either selection of SW2-5
For use with the TLV320AIC12KEVMB/14KEVMB, SW-2 positions 1, 3, 4, 5 and 6 should be set to ON, while SW-2 positions 2, 7 and 8 should be set to OFF.

6.2 Installation

Ensure that the TLV320AIC12KEVMB/14KEVMB is installed on the USB-MODEVM Interface board, aligning J1, J2, J3, J4, J5 with the corresponding connectors on the USB-MODEVM.
Place the CD-ROM into your PC CD-ROM drive. Locate the Setup program on the disk, and start it. The Setup program will install the TLV320AIC12K/14K Evaluation Tool software on your PC.
The NI-VISA Runtime installer is embedded to the TLV320AIC12K/14K Evaluation Tool installer. This software allows the program to communicate with the USB-MODEVM.
When the installation completes, click Finish on the TLV320AIC12K/14K Evaluation Tool installer window. You may be prompted to restart your computer.
When installation is complete, attach a USB cable from your PC to the USB-MODEVM Interface board. As configured at the factory, the board will be powered from the USB interface, so the power indicator LEDs and the 'USB ACTIVE' LED on the USB-MODEVM should light.
The Found New Hardware Wizard will show up on the screen. Select the ' No, not this time' radio button and click ' Next >'. Select ' Install the software automatically (Recommended)' and click ' Next >'. If the driver installs correctly the message: ' The wizard has finished installing the software for: AIC12K/14K EVM' should appear. Click ' Finish'. The AIC12K/14K EVM driver should now be installed. The device should now appear on the Device Manager as ' NI-VISA USB Devices>AIC12K/14K EVM' and as ' Sound, video and game controllers>USB Audio Device'.
Once the device drivers are installed launch the TLV320AIC12K/14K Evaluation Tool software on your PC, located on the computer's desktop or in 'Start>Programs>Texas Instruments'.
The software should automatically find the TLV320AIC12K/14K, and a screen similar to the one in
Figure 2 should appear.
SLAU229B – October 2007 – Revised August 2008 TLV320AIC12KEVMB-K and TLV320AIC14KEVMB-K User's Guide 9
Submit Documentation Feedback
Kit Operation
www.ti.com

6.3 USB-MODEVM Interface Board

The simple diagram shown in Figure 1 shows only the basic features of the USB-MODEVM Interface board. The board is built around a TAS1020B streaming audio USB controller with an 8051-based core. The board features two positions for modular EVMs, or one double-wide serial modular EVM may be installed.
Since the TLV320AIC12KEVMB/14KEVMB is a double-wide modular EVM, it is installed with connections to both EVM positions, which connects the TLV320AIC12K/14K digital control interface to the I2C port realized using the TAS1020B, as well as the TAS1020B digital audio interface.
In the factory configuration, the board is ready to use with the TLV320AIC12KEVMB/14KEVMB. To view all the functions and configuration options available on the USB-MODEVM board, see the USB-MODEVM Interface Board schematic in Appendix B .

6.4 Program Description

After the TLV320AIC12KEVMBK/14KEVMB-K software installation (described in Section 6.2 ) is complete, evaluation and development with the TLV320AIC12K/14K can begin.
TLV320AIC12KEVMB-K and TLV320AIC14KEVMB-K User's Guide10 SLAU229B – October 2007 – Revised August 2008
Figure 2. Default Software Screen
Submit Documentation Feedback
www.ti.com

6.5 Indicators and Main Screen Controls

Figure 2 illustrates the indicators and the main screen controls near the top of the software screen display,
and a large tabbed interface below. This section discusses the controls above this tabbed section. At the top left of the screen is an Interface indicator. The TLV320AIC12K/14K has an I2C interface. The
indicator is lit after the program begins. Below the Interface indicator is the Device Connected indicator. The TLV320AIC12K/14K Evaluation Tool detects whether or not the TLV320AIC12KEVMB-K/14KEVMB-K is present. If the device is unplugged from the USB port or if the device driver is not installed properly, the Device Connected indicator will turn red. Otherwise, it will turn green.
To the right of the Interface indicator is a group box called Firmware. This box indicates the product identification of the USB device, so AIC12K/14K EVM should be displayed 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 TLV320AIC12K/14K. A software reset can be done by writing to a register in the TLV320AIC12K/14K; the writing is accomplished by pushing the button labeled Software Reset. This button also resets to the default I2C address and refreshes the GUI's register table and controls/indicators by reading all registers. The TLV320AIC12K/14K also may be reset by toggling a GPIO pin on the USB-MODEVM, which is done by pushing the Hardware Reset button.
In order to perform a hardware reset, the RESET jumper (W7) must be installed and SW2-7 on the USB-MODEVM must be turned OFF. Failure to do either of these steps results in not generating a hardware reset or causing unstable operation of the EVM, which may require cycling power to the USB-MODEVM.
Kit Operation
CAUTION
The ADC Overflow and DAC Overflow indicators light when the overflow flags are set in register 1 of the TLV320AIC12K/14K. These indicators, as well as the other indicators on this panel, update only when writing or reading registers, on resets or by pushing the Refresh button. The Indicator Updates and Control Updates buttons enable/disable updates of indicators and controls, respectively.

6.6 Information Tab

The information tab (Figure 3 ) shows information for two TLV320AIC12KEVMB-K/14KEVMB-K hardware configurations.
The USB-MODEVM Audio Interface Configuration allows audio data and I2C communication between the host computer and the TLV320AIC12K/14K. SW2 on the USB-MODEVM must be configured as shown in the left section of Figure 3 .
SLAU229B – October 2007 – Revised August 2008 TLV320AIC12KEVMB-K and TLV320AIC14KEVMB-K User's Guide 11
Submit Documentation Feedback
Kit Operation
www.ti.com
Figure 3. Information Tab
Additionally, the operating system's audio device must be configured as AIC12K/14K EVM (see Figure 4 ). The External Audio Interface Configuration only allows I2C communication between the host computer
and the TLV320AIC12K/14K. In this configuration, the TLV320AIC12K/14K can transmit and receive audio data to/from an external PCM device or DSP. SW2 on the USB-MODEVM must be configured as shown in the right section of Figure 3 .
12 TLV320AIC12KEVMB-K and TLV320AIC14KEVMB-K User's Guide SLAU229B – October 2007 – Revised August 2008
Submit Documentation Feedback
Loading...
+ 28 hidden pages