background image

User's Guide

SLAU229A – October 2007 – Revised June 2008

TLV320AIC12KEVM-K and TLV320AIC14KEVM-K User's

Guide

This

user's

guide

describes

the

characteristics,

operation,

and

use

of

evaluation

modules

TLV320AIC12KEVM and TLV320AIC14KEVM, both as stand-alone and as kits (TLV320AIC12KEVM-K
and TLV320AIC14KEVM-K). This EVM is a complete audio codec with several analog audio inputs and
outputs. 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-Compatible Device 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

TLV320AIC12KEVM/14KEVM Schematic

.....................................................................

32

Appendix B

USB-MODEVM Schematic

......................................................................................

33

List of Figures

1

TLV320AIC12KEVM-K/14KEVM-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.
I

2

C is a trademark of Koninklijke Philips Electronics N.V.

Windows is a registered trademark of Microsoft Corporation.
LabView is a trademark of National Instruments.

SLAU229A – October 2007 – Revised June 2008

TLV320AIC12KEVM-K and TLV320AIC14KEVM-K User's Guide

1

Submit Documentation Feedback

Summary of Contents for TLV320AIC12KEVM-K

Page 1: ...LVC1G07 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 TLV320AIC12KEVM 14KEVM Schematic 32 Appendix B USB MODEVM Schematic 33 List of Figures 1 TLV320AIC12KEVM K 14KEVM K Block Diagram 8 2 Default Software Screen 10 3 Information Tab 12 4 Sounds and Audio Devices Properties 13...

Page 2: ...nout 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 TLV320AIC12KEVM 14KEVM Bill of Materials 29 11 USB MODEVM Bill of Materials 30 2 TLV320AIC12KEVM K and TLV320AIC14KEVM K User s Guide SLAU229A October 2007 Revised June 2008 Submit Documentation Feedback ...

Page 3: ...SW 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 TLV320AIC12KEVM 14KEVM Table 1 Analog Inter...

Page 4: ... tied to J11 Table 2 summarizes the screw terminals available on the TLV320AIC12KEVM 14KEVM 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 TLV320AIC12KEVM 14KEVM 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 ...

Page 5: ...erial 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 I2 C Serial Clock J5 17 MCLK Master Clock Input J5 18 DGND Di...

Page 6: ...n 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 in...

Page 7: ...l audio clock signals When set as slave 1 2 the codec receives the digital audio clock signals Used for correct polarity for FSD In stand alone master FSD must be pulled high W2 1 2 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 IOVDD select Can be set to 3 3V 1 2 or 1 8V 2 3 altho...

Page 8: ... the installed EVM is accomplished using the onboard USB controller device Provision is made however for driving all the data buses I2 C 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 TLV320AIC1...

Page 9: ...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...

Page 10: ...ctions to both EVM positions which connects the TLV320AIC12K 14K digital control interface to the I2 C 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 TLV320AIC12KEVM 14KEVM To view all the functions and configuration options available on the USB MODEVM board see the USB MODEVM Interface Board schemati...

Page 11: ... the button labeled Software Reset This button also resets to the default I2 C 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 CAUTION In order to perform a hardware reset the RESET jumper W7 must be installed and SW2 7 o...

Page 12: ...lows I2 C 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 TLV320AIC12KEVM K and TLV320AIC14KEVM K User s Guide SLAU229A October 2007 Revised June 2008 Submit Documentation Feedback...

Page 13: ... s default register settings When a radio button is selected a detailed description of the preset will appear on the Preset Configuration Description box To load a preset to the codec select the desired preset by selecting the corresponding radio button and pushing the Load button At the same time this will show the preset s executed commands on the Command Buffer of the Command Line Interface tab...

Page 14: ...ter slave chain to write to or read from The TLV320AIC12KEVM K 14KEVM K is configured as a stand alone slave so the device position must be set to zero The Program Device button when pushed programs the register corresponding only to the selected Control Registers sub tab The register table holds the current register values in hexadecimal and binary format The Register Dump to File button dumps th...

Page 15: ...y setting the LSB of DIN to 1 to send control data The USB MODEVM Audio Interface Configuration currently supports continuous and 16 bits audio data transfers The Mic Bias sets the voltage of the BIAS pin to 2 35V or 1 35V The Selected Filter button allows the user to select between an FIR filter or an IIR filter for the decimation interpolation low pass filter The Loopback switches toggle the ana...

Page 16: ... the two pins of SCL and SDA can be programmed to become general purpose I Os If selected to be used as I O pins the SDA and SCL pins become output and input pins respectively determined by D1 and D0 SDA can then be set to 1 or 0 by toggling the General Purpose Output control The Decimation Interpolation filter bypass button bypasses the filters selected in register 1 This can be useful when using...

Page 17: ...ed sampling rate and a single codec For an OSR 256 the value of M set in register 4 must be a multiple of 2 Similarly for an OSR 512 the value of M must be a multiple of 4 Figure 9 Control Register 3 Tab The Control Register 4 Tab Figure 10 provides controls for P N and M Furthermore an FS calculator is provided for convenience The calculator derives FS from the MCLK frequency entered by the user ...

Page 18: ...C For convenience the corresponding register for each control is provided to the right of the tab An x denotes the bits modified by the corresponding control Figure 11 Control Register 5 Tab The Control Register 6 Tab Figure 12 provides controls to select the analog input and to configure the analog outputs Note that OUTP2 P3 are only available on the TLV320AIC12 12K The TLV320AIC12KEVM 14KEVM pro...

Page 19: ...ode voltage of 1 35V Switch SW2 on the TLV320AIC12KEVM 14KEVM can be used to try multiple output configurations on J7 and J11 Please see the Functional Description section on the TLV320AIC12K 14K datasheet for details The Output Drivers Controls TLV320AIC12K only mutes and powers down OUTP2 and or OUTP3 Figure 12 Control Register 6 Tab A simple scripting language controls the TAS1020 on the USB MO...

Page 20: ...nd Buffer button The second option Save Command File saves the contents of the command buffer into a file The third option is Log Script and Results which opens a file save dialog box The user can choose a location for a log file to be written using the file save dialog When the Execute Command Buffer button is pressed the script will run and the script along with resulting data read back during t...

Page 21: ...losing and re opening the GUI Keep in mind that every time the EVM K is connected or reconnected a hardware reset must be done in order to write to the codec either by pushing the Hardware Reset button on the GUI pressing the push button on the EVM or by using the command line interface The second option Hardware Reset on USB reconnection enables checked and disables unchecked the hardware reset c...

Page 22: ...0 has several routines in its ROM which are designed for use with HID class devices HID like structures are used even though the USB MODEVM is not an HID class device Data passes from the PC to the TAS1020 using the control endpoint Data is sent in an HIDSETREPORT see Table 7 Table 7 USB Control Endpoint HIDSETREPORT Request PART VALUE DESCRIPTION bmRequestType 0x21 00100001 bRequest 0x09 SET_REPO...

Page 23: ...ytes so advise only sending 32 bytes at any one time Example usage Write two bytes 45 A0 to device starting at register 1 of an I2 C device with address 80 0 0x11 1 0x80 2 0x02 3 0x01 4 0x45 5 0xA0 Do the same with a fast mode I2 C device 0 0x12 1 0x80 2 0x02 3 0x01 4 0x45 5 0xA0 In each case the TAS1020 will return in an HID interrupt packet the following 0 interface byte status status REQ_ERROR ...

Page 24: ...d that is the interface byte byte 0 takes on a value which is not described above the return packet would be 0 0x93 0x13 was sent which is not valid so 0x93 is returned 1 0x80 2 0x02 3 0x01 4 0x45 5 0xA0 Examples above used writes Reading is similar Read two bytes from device starting at register 1 of an I2 C device with address A0 0 0x01 1 0x80 2 0x02 3 0x01 The return packet should be 0 0x21 1 0...

Page 25: ...o a 0 all others to 1 0 0x18 write GPIO 1 0x00 this value is ignored 2 0x01 length ALWAYS a 1 3 0x00 this value is ignored 4 0x3F 00111111 The user may also read back from the GPIO to see the state of the pins Suppose the port pins were written as in the previous example Example read the GPIO 0 0x08 read GPIO 1 0x00 this value is ignored 2 0x01 length ALWAYS a 1 3 0x00 this value is ignored The re...

Page 26: ...n the same line The delay command allows the user to specify a time in milliseconds that the script will pause before proceeding Note UNLIKE ALL OTHER NUMBERS USED IN THE SCRIPT COMMANDS THE DELAY TIME IS ENTERED IN A DECIMAL FORMAT Also note that because of latency in the USB bus as well as the time it takes the processor on the USB MODEVM to handle requests the delay time may not be precise A se...

Page 27: ...ecting Open Command File from the File menu Locate the script and open it The script will then be displayed in the command buffer The user may also edit the script once it is in the buffer and save it as specified in Section 6 9 Once the script is in the command buffer it may be executed by pressing the Execute Command Buffer button If the user has placed breakpoints in the script it will execute ...

Page 28: ... w 00 00 3F Delay has to be at least 6 MCLK cycles 540ns d 1 w 00 00 7F I2C interface I i2cstd reg 03 Software reset w 80 03 21 reg 01 Clear ADC and DAC overflow flags r 80 01 01 reg 02 Turbo Mode w 80 01 A0 reg 04 Set clock divider values 4A and 4B P 8 M 1 N 4 w 80 04 20 w 80 04 81 reg 05 5B DAC PGA 32dB 5C Input Buffer Gain 24dB Digital Sidetone Gain 3dB Defaults used for 5A and 5D w 80 05 4A w ...

Page 29: ...EG1117 3 3 U3 64K I2 C EEPROM MicroChip 24LC64 I SN U4 Pos edge triggered D Flip flop Texas Instruments SN74AUP1G74 J6 J9 J10 Screw terminal block On Shore Technology ED555 2DS 2 position J7 Screw terminal block On Shore Technology ED555 3DS 3 position J8 J11 3 5mm audio jack T R S SMD CUI Inc SJ1 3515 SMT J1A J2A J4A J5A 20 pin SMT plug Samtec TSM 110 01 L DV P J1B J2B J4B J5B 20 pin SMT socket S...

Page 30: ...C1608C0G1H102J chip capacitor 5 NPO C15 0 1µF 16V ceramic TDK C1608X7R1C104K chip capacitor 10 X7R C16 C17 0 33µF 16V ceramic TDK C1608X5R1C334K chip capacitor 20 Y5V C9 C10 C11 C12 C22 C23 1µF 6 3V ceramic TDK C1608X5R0J105K C24 C25 C26 C27 C28 chip capacitor 10 X5R C1 C2 C3 C4 C5 C6 C7 10µF 6 3V ceramic TDK C3216X5R0J106K C8 chip capacitor 10 X5R D1 50V 1A Diode MELF SMD Micro Commercial Compone...

Page 31: ...2B 20 pin SMT socket Samtec SSW 110 22 F D VS K J13A J23A 10 pin SMT plug Samtec TSM 105 01 L DV P J13B J23B 10 pin SMT socket Samtec SSW 105 22 F D VS K J6 4 pin double row header 2x2 Samtec TSW 102 07 L D 0 1 J14 J15 12 pin double row header 2x6 Samtec TSW 106 07 L D 0 1 JMP1 JMP4 2 position jumper Samtec TSW 102 07 L S 0 1 spacing JMP8 JMP14 2 position jumper Samtec TSW 102 07 L S 0 1 spacing J...

Page 32: ...A TLV320AIC12KEVM 14KEVM Schematic Appendix A www ti com The schematic diagram is provided as a reference 32 TLV320AIC12KEVM 14KEVM Schematic SLAU229A October 2007 Revised June 2008 Submit Documentation Feedback ...

Page 33: ...IO1 6 GPIO2 8 DGND 10 GPIO3 12 GPIO4 14 SCL 16 DGND 18 SDA 20 CNTL 1 CLKX 3 CLKR 5 FSX 7 FSR 9 DX 11 DR 13 INT 15 TOUT 17 GPIO5 19 J4 DAUGHTER SERIAL MCLK DIN DOUT FSD SCLK PWDN RESET SDA SCL J1A TOP SAMTEC P N TSM 110 01 L DV P J1B BOTTOM SAMTEC P N SSW 110 22 F D V J4A TOP SAMTEC P N TSM 110 01 L DV P J4B BOTTOM SAMTEC P N SSW 110 22 F D V J5A TOP SAMTEC P N TSM 110 01 L DV P J5B BOTTOM SAMTEC P...

Page 34: ...5 1 8VD R1 10K TP16 3 3VD 1 2 3 W11 JMP OUTP2 OUTMV OUTP3 C5 0 1uF SDA DIN FS MCLK RESET DOUT FSD 1 8V_D M S IOVDD1 DGND SCL PWDN SCLK 3 3V_A AGND DRVDD MICIN MICBIAS INP1 INM1 INP2 INM2 OUTP1 OUTM1 DRVSS OUTP2 OUTMV OUTP3 C13 10uF C8 0 1uF 3 3VA C15 10uF C10 0 1uF 1 8VD C14 10uF C9 0 1uF IOVDD R4 10K IOVDD 1 2 3 W2 JMP R3 10K IOVDD 1 2 3 W1 JMP 3 3VA INP2 INM2 OUTP1 OUTM1 TP2 OUTM1 TP1 OUTP1 OUTM...

Page 35: ...Appendix B USB MODEVM Schematic www ti com Appendix B The schematic diagram is provided as a reference SLAU229A October 2007 Revised June 2008 USB MODEVM Schematic 33 Submit Documentation Feedback ...

Page 36: ... PRODUCTS HIGH PERFORMANCE ANALOG DIVISION SEMICONDUCTOR GROUP FRYE D ZERKETTS I C SPOTTS A 1 1 untitled DOCUMENT CONTROL NO 1234567 MCLK BCLK LRCLK I2SDIN I2SDOUT MISO MOSI SS SCLK RESET INT PWR_DWN P3 3 P3 4 P3 5 P1 0 SDA SCL P1 1 P1 2 P1 3 Daughtercard Interface Daughtercard Interface MCLK BCLK LRCLK I2SDIN I2SDOUT INT MISO MOSI SS SCLK RESET PWR_DWN SDA SCL P3 3 P3 4 P3 5 P1 0 P1 1 P1 2 P1 3 U...

Page 37: ...9 220 GREEN USB I2S USB MCK USB SPI USB SPI USB I2S USB MCK 1 8VD RESET C24 0 1uF USB ACTIVE USB RST USB RST 2 4 6 1 3 5 7 8 9 10 11 12 J15 EXTERNAL SPI 2 4 6 1 3 5 7 8 9 10 11 12 J14 EXTERNAL AUDIO DATA PWR_DWN J10 EXT MCLK R20 75 3 3VD 1 2 3 4 5 6 7 8 16 15 14 13 12 11 10 9 SW2 SW DIP 8 EXT MCK 2 4 1 3 J6 EXTERNAL I2C IOVDD SDA SCL 5VD R15 10K R16 10K 1 4 2 3 SW1 REGULATOR ENABLE VIN 3 VOUT 2 GN...

Page 38: ...TER SERIAL 5VD 5VA A0 2 A1 4 A2 6 A3 8 A4 10 A5 12 A6 14 A7 16 REF 18 REF 20 A0 1 A1 3 A2 5 A3 7 AGND 9 AGND 11 AGND 13 VCOM 15 AGND 17 AGND 19 J16 DAUGHTER ANALOG 1 8VD 3 3VD 1 8VD 3 3VD 1 2 3 JMP5 1 2 JMP3 1 2 JMP4 R2 2 7K R1 2 7K IOVDD 5VA 5VA 5VA MCLK BCLK LRCLK I2SDIN I2SDOUT MISO MOSI SS SCLK RESET P3 1 P3 2 PWR_DWN P3 3 P3 4 P3 5 P1 0 SDA SCL P1 1 P1 2 P1 3 TP1 TP2 TP3 TP5 TP4 TP7 AGND TP8 ...

Page 39: ...INDEMNITY SET FORTH ABOVE NEITHER PARTY SHALL BE LIABLE TO THE OTHER FOR ANY INDIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES TI currently deals with a variety of customers for products and therefore our arrangement with the user is not exclusive TI assumes no liability for applications assistance customer product design software performance or infringement of patents or services described her...

Page 40: ...usiness practice TI is not responsible or liable for any such statements TI products are not authorized for use in safety critical applications such as life support where a failure of the TI product would reasonably be expected to cause severe personal injury or death unless officers of the parties have executed an agreement specifically governing such use Buyers represent that they have all neces...

Reviews: