Texas Instruments TLV320AIC12KEVMB-K User Manual

Size:
2.55 Mb
Download

User's Guide

SLAU229B–October2007–RevisedAugust 2008

TLV320AIC12KEVMB-KandTLV320AIC14KEVMB-KUser's

Guide

This user's guide describes the characteristics, operation, and use of evaluation modules TLV320AIC12KEVMB and TLV320AIC14KEVMB, both as stand-aloneand as kits(TLV320AIC12KEVMB-KandTLV320AIC14KEVMB-K).A complete circuit description, schematic diagram and bill of materials are also included.

The following related documents are available through the Texas Instruments web site at www.ti.com.

 

 

EVM-CompatibleDevice Data Sheets

 

 

 

Device

Literature Number

 

 

 

TLV320AIC12K/14K

SLWS115E

 

 

 

TAS1020B

SLES025

 

 

 

REG1117-3.3

SBVS001

 

 

 

TPS767D318

SLVS209

 

 

 

SN74LVC125A

SCAS290

 

 

 

SN74LVC1G125

SCES223

 

 

 

SN74LVC1G07

SCES296

 

 

 

 

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–October2007–RevisedAugust 2008

TLV320AIC12KEVMB-KandTLV320AIC14KEVMB-KUser'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-KandTLV320AIC14KEVMB-KUser's Guide

SLAU229B–October2007–RevisedAugust 2008

Submit Documentation Feedback

www.ti.com

EVM Overview

1 EVM Overview

1.1Features

Full-featuredevaluation board for the TLV320AIC12K/14K audio codec

TLV320AIC12KEVMB-K/14KEVMB-Kfeatures 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-boardheadphone jack, external microphone jack and electret microphone are included

Digital control signals can be applied directly to top and bottom connectors.

1.2Introduction

The TLV320AIC12KEVMB-K/14KEVMB-Kis a complete evaluation/demonstration kit, which includes aUSB-basedmotherboard called theUSB-MODEVMInterface 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 withon-boardterminals, a headphone jack, and external microphone jack. Anon-boardelectret microphone is also provided.

2Analog Interface

For maximum flexibility, the TLV320AIC12KEVMB/14KEVMB is designed for easy interfacing to multiple analog sources. Samtec part numbers SSW-110-22-F-D-VS-KandTSM-110-01-T-DV-Pprovide a convenient10-pindual 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 atwww.samtec.com or call1-800-SAMTEC-9for 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–October2007–RevisedAugust 2008

TLV320AIC12KEVMB-KandTLV320AIC14KEVMB-KUser'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

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

 

3Digital Interface

The TLV320AIC12KEVMB/14KEVMB is designed to easily interface with multiple control platforms. Samtec part numbers SSW-110-22-F-D-VS-KandTSM-110-01-T-DV-Pprovide a convenient10-pindual 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 atwww.samtec.com or call1-800-SAMTEC-9for 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

 

4

TLV320AIC12KEVMB-KandTLV320AIC14KEVMB-KUser's Guide

SLAU229B–October2007–RevisedAugust 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 aSMARTDM™ 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 theUSB-MODEVMto both connectors; however, the codec and EEPROM are only connected to J5.

SLAU229B–October2007–RevisedAugust 2008

TLV320AIC12KEVMB-KandTLV320AIC14KEVMB-KUser's Guide

5

Submit Documentation Feedback

Power Supplies

www.ti.com

4Power Supplies

J3 provides connection to the common power bus for the TLV320AIC12KEVMB/14KEVMB. Power is supplied on the pins listed in Table 4.

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

The TLV320AIC12KEVMB-K/14KEVMB-Kmotherboard (theUSB-MODEVMInterface 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.1Stand-AloneOperation

When used as a stand-aloneEVM, power can be applied to J3 directly. The user must be sure to reference the supplies to the appropriate grounds on that connector.

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.2USB-MODEVMInterface Power

The USB-MODEVMInterface board can be powered from several different sources:

USB

6VDC–10VDCAC/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 from6V-10VDC,either through the J8 terminal block or the J9 barrel jack, JMP6 should have a shunt installed on pins2-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-MODEVMInterface, 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 readingright-sideup). 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.

5EVM Operation

This section provides information on the analog input and output, digital control, and general operating conditions for the TLV320AIC12KEVMB/14KEVMB.

6

TLV320AIC12KEVMB-KandTLV320AIC14KEVMB-KUser's Guide

SLAU229B–October2007–RevisedAugust 2008

Submit Documentation Feedback

www.ti.com

Kit Operation

5.1Analog 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.2Analog 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.3Digital 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-MODEVMInterface board included as part of theTLV320AIC12EVMB-K/14EVMB-K.See the product folder for thisEVM or theTLV320AIC12K/14K for a current list of compatible interface and/or accessory boards.

5.4Default 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 theUSB-MODEVMfor I2C communication.

 

 

Table 5. List of Jumpers

 

DEFAULT

 

JUMPER

POSITION

JUMPER DESCRIPTION

 

 

Sets the codec as master or slave. When set as master (2-3),the codec provides the

W1

1-2

digital audio clock signals. When set as slave (1-2),the codec receives the digital

 

 

audio clock signals.

W2

1-2

Used for correct polarity for FSD. In stand-alonemaster, FSD must be pulled high

(2-3),In stand alone slave, FSD must be pulled low(1-2).

 

 

W3

Installed

Provides a means of measuring IOVDD current

W4

Installed

Provides a means of measuring DVDD current

W5

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-MODEVMfor I2C communication.

W6

Installed

Selects on-boardEEPROM as firmware source (required)

W7

Installed

When installed, allows the USB-MODEVMto hardware reset the device under user

control

 

 

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-2when using external common mode for MICIN

W12

Installed

Disconnects electret microphone (MK1)

6Kit Operation

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

6.1TLV320AIC12KEVMB-K/14KEVMB-KBlock Diagram

A block diagram of the TLV320AIC12KEVMB-K/14KEVMB-Kis shown inFigure 1. The evaluation kit consists of two circuit boards connected together. The motherboard is designated as theUSB-MODEVMInterface board, while the daughtercard is the TLV320AIC12KEVMB/14KEVMB described previously in this manual.

SLAU229B–October2007–RevisedAugust 2008

TLV320AIC12KEVMB-KandTLV320AIC14KEVMB-KUser's Guide

7

Submit Documentation Feedback

Kit Operation

www.ti.com

TLV320AIC12KEVMB/14KEVMB

TLV320AIC12K/14K

EVM Position 1

Control Interface

I2C

 

 

 

 

 

 

 

 

 

 

 

 

TAS1020B

 

 

USB

EVM Position 2

 

USB 8051

 

 

 

 

 

 

 

Microcontroller

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SMARTDM

Audio Interface

Figure 1. TLV320AIC12KEVMB-K/14KEVMB-KBlock Diagram

The USB-MODEVMInterface 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 theUSB-MODEVM.Refer toTable 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 positions2-8off).

8

TLV320AIC12KEVMB-KandTLV320AIC14KEVMB-KUser's Guide

SLAU229B–October2007–RevisedAugust 2008

Submit Documentation Feedback

www.ti.com Kit Operation

 

 

Table 6. USB-MODEVMSW2 Settings

SW-2SWITCH

 

 

NUMBER

LABEL

SWITCH DESCRIPTION

 

 

USB-MODEVMEEPROM I2C Address A0

1

A0

ON: A0 = 0

 

 

OFF: A0 = 1

 

 

USB-MODEVMEEPROM I2C Address A1

2

A1

ON: A1 = 0

 

 

OFF: A1 = 1

 

 

USB-MODEVMEEPROM I2C Address A2

3

A2

ON: A2 = 0

 

 

OFF: A2 = 1

 

USB I2S

Digital Audio Bus Source Selection

4

ON: Digital Audio Bus connects to TAS1020

 

 

OFF: Digital Audio Bus connects to USB-MODEVMJ14

 

 

Digital Audio Bus MCLK Source Selection

5

USB MCK

ON: MCLK connects to TAS1020

 

 

OFF: MCLK connects to USB-MODEVMJ14

 

 

SPI Bus Source Selection

6

USB SPI

ON: SPI Bus connects to TAS1020

 

 

OFF: SPI Bus connects to USB-MODEVMJ15

 

 

RST Source Selection

7

USB RST

ON: EVM Reset Signal comes from TAS1020

 

 

OFF: EVM Reset Signal comes from USB-MODEVMJ15

 

 

External MCLK Selection

8

EXT MCK

ON: MCLK Signal is provided from USB-MODEVMJ10

 

 

OFF: MCLK Signal comes from either selection of SW2-5

For use with the TLV320AIC12KEVMB/14KEVMB, SW-2positions 1, 3, 4, 5 and 6 should be set to ON, whileSW-2positions 2, 7 and 8 should be set to OFF.

6.2Installation

Ensure that the TLV320AIC12KEVMB/14KEVMB is installed on the USB-MODEVMInterface board, aligning J1, J2, J3, J4, J5 with the corresponding connectors on theUSB-MODEVM.

Place the CD-ROMinto your PCCD-ROMdrive. Locate theSetup program on the disk, and start it. The Setup program will install the TLV320AIC12K/14K Evaluation Tool software on your PC.

The NI-VISARuntime installer is embedded to the TLV320AIC12K/14K Evaluation Tool installer. This software allows the program to communicate with theUSB-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-MODEVMInterface 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 theUSB-MODEVMshould 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–October2007–RevisedAugust 2008

TLV320AIC12KEVMB-KandTLV320AIC14KEVMB-KUser's Guide

9

Submit Documentation Feedback

Kit Operation

www.ti.com

Figure 2. Default Software Screen

6.3USB-MODEVMInterface Board

The simple diagram shown in Figure 1 shows only the basic features of theUSB-MODEVMInterface board. The board is built around a TAS1020B streaming audio USB controller with an8051-basedcore. The board features two positions for modular EVMs, or onedouble-wideserial modular EVM may be installed.

Since the TLV320AIC12KEVMB/14KEVMB is a double-widemodular 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-MODEVMboard, see theUSB-MODEVMInterface Board schematic inAppendix B.

6.4Program Description

After the TLV320AIC12KEVMBK/14KEVMB-Ksoftware installation (described inSection 6.2) is complete, evaluation and development with the TLV320AIC12K/14K can begin.

10

TLV320AIC12KEVMB-KandTLV320AIC14KEVMB-KUser's Guide

SLAU229B–October2007–RevisedAugust 2008

Submit Documentation Feedback