Texas Instruments TLV320AIC3007EVM-K User Manual Download Page 30

4.14 Command Line Interface Tab

TLV320AIC3007EVM Software

www.ti.com

A simple scripting language controls the TAS1020 on the USB-MODEVM from the LabView™-based PC
software. The main program controls, described previously, do nothing more than write a script which is
then handed off to an interpreter that sends the appropriate data to the correct USB endpoint. Because
this system is script based, provision is made in this tab for the user to view the scripting commands
created as the controls are manipulated, as well as load and execute other scripts that have been written
and saved (see

Figure 29

). This design allows the software to be used as a quick test tool or to help

provide troubleshooting information in the rare event that the user encounters problem with this EVM.

Figure 29. Command Line Interface Tab

A script is loaded into the command buffer, either by operating the controls on the other tabs or by loading
a script file. When executed, the return packets of data which result from each command are displayed in
the

Read Data

array control. When executing several commands, the Read Data control shows only the

results of the last command. To see the results after every executed command, use the logging function
described in the following text.

The File menu (

Figure 30

) provides some options for working with scripts. The first option,

Open

Command File...

, loads a command file script into the command buffer. This script then can be executed

by pressing the

Execute Command Buffer

button.

The second option is

Log Script and Results...

, which opens a file save dialog box. Choose a location for a

log file to be written using this file save dialog. When the Execute Command Buffer button is pressed, the
script runs, and the script along with resulting data read back during the script, is saved to the file
specified. The log file is a standard text file that can be opened with any text editor and looks much like
the source script file, but with the additional information of the result of each script command executed.

The third menu item is a submenu of

Recently Opened Files

. This is simply a list of script files that have

previously been opened, allowing fast access to commonly used script files. The final menu item is

Exit

,

which terminates the TLV320AIC3007EVM software.

30

TLV320AIC3007EVM-K

SLAU286 – June 2009

Submit Documentation Feedback

Summary of Contents for TLV320AIC3007EVM-K

Page 1: ...ble 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 SN74LV...

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

Page 3: ...rts 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...

Page 4: ...ding 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...

Page 5: ...Reset Signal comes from USB MODEVM J15 8 EXT MCK External MCLK Selection ON MCLK Signal is provided from USB MODEVM J10 OFF MCLK Signal comes from either selection of SW2 5 Table 2 provides a list of...

Page 6: ...2LM 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...

Page 7: ...tion 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 fi...

Page 8: ...nfigurations tab Figure 3 helps the user to begin using the GUI Figure 2 Quick Start USB MODEM Configurations The default tab is the Quick Start USB MODEVM tab This tab shows two common USB MODEVM con...

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

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

Page 11: ...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 appli...

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

Page 13: ...INE1RP 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 d...

Page 14: ...LK 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...

Page 15: ...ult 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 s...

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

Page 17: ...hort Circuit AGC Noise Threshold detection Jack Headset detection For use as an interrupt output the behavior of the interrupt can be selected using the Interrupt Duration control A Single 2ms pulse c...

Page 18: ...advanced The Left Right AGC Settings button determines the mode selection The Standard mode provides several preset times that can be selected by adjustments made to the Attackand Decay knobs If fine...

Page 19: ...Noise gate functions such as Hysteresis Enable Clip stepping Threshold dB Signal Detect Debounce ms and Noise Detect Debounce ms are set using the corresponding controls in the Noise Gate groupbox for...

Page 20: ...can be routed through the digital effects filtering before passing through the optional de emphasis filter before the DAC The digital effects filtering can only be connected to either the ADC or DAC n...

Page 21: ...filter requirements the programmable function allows custom coefficients to achieve a different filter than provided by the preset filters The controls for the programmable high pass filter are locat...

Page 22: ...is response is shown on the Effect Filter Response graph however note that this response is not included in graphs of other effect responses when on other filter design tabs Figure 18 De emphasis Filt...

Page 23: ...er coefficients are not loaded into the TLV320AIC3007 until the Download Coefficients button is pressed To avoid noise during the update of coefficients it is recommended that the user uncheck the Eff...

Page 24: ...1 EQ Filters Biquads are good at simulating analog filter designs For each biquad section on this tab enter the desired analog filter type to simulate Butterworth Chebyshev Inverse Chebyshev Elliptic...

Page 25: ...lection of one of four preset filter responses Rock Jazz Classical or Pop Figure 23 Preset Filters If filter coefficients are known they can be entered directly on this tab see Figure 24 for both biqu...

Page 26: ...this effect properly ensure that the appropriate coefficients are already loaded into the two biquad sections The User Filters tab can be used to load the coefficients See Figure 25 Figure 25 3D Effec...

Page 27: ...e Line or High Power outputs using the mixer controls for these outputs on this tab for the line outputs or on the High Power Outputs tab for the high power outputs If the DAC is to be routed directly...

Page 28: ...ng control and set to step once per Fs period once per two Fs periods or soft stepping can be disabled altogether The high power outputs of the TLV320AIC3007 can be configured to go to a weak common m...

Page 29: ...the power mode for that output tracks the power status of the HPL or HPR output that the COM output is tracking The HPRCOM Config selector allows a couple additional options compared to the HPLCOM Co...

Page 30: ...ral commands the Read Data control shows only the results of the last command To see the results after every executed command use the logging function described in the following text The File menu Fig...

Page 31: ...I2 C bus error is detected It is unnecessary to use this with the GUI software but can be used as part of error detection in the end equipment software design The actual USB protocol used as well as i...

Page 32: ...minal Input SE Diff Usage J7 3 Conductor Screw See SW1 Configuration for LINE1RP AGND LINE1RM Terminal Input SE Diff Usage J8 3 Conductor Screw See SW1 Configuration for LINE2LP AGND LINE2LM Terminal...

Page 33: ...nput Output P4 7 NC Not Connected P4 8 RESET INPUT Reset signal input to AIC3007EVM P4 9 NC Not Connected P4 10 DGND Digital Ground P4 11 NC Not Connected P4 12 NC Not Connected P4 13 NC Not Connected...

Page 34: ...ommon power bus for the TLV320AIC3007EVM Power is supplied on the pins listed in Table A 3 Table A 3 Power Supply Pinout Signal Pin Number Signal NC J15 1 J15 2 NC 5VA J15 3 J15 4 NC DGND J15 5 J15 6...

Page 35: ...1 2 W7 TP7 DVDD C8 0 1uF C16 10uF 1 2 W8 TP8 IOVDD TP21 HPROUT TP19 HPLOUT C31 47nF 1 2 W12 R7 100 R9 16 C32 47nF 1 2 W13 R8 100 R10 16 HPR HPL 1 8VD IOVDD TP10 LINE1LP TP11 LINE1RP TP12 MIC3L LINE1RM...

Page 36: ...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 J2 DAUGHTER ANALOG J2 BOTTOM SAMTEC P N SSW 110 22 F D VS K AGND DGND 3 3VD 1 8VD D...

Page 37: ...Appendix C TLV320AIC3007EVM Layout Views www ti com Appendix C Figure C 1 Assembly layer Figure C 2 Top Layer SLAU286 June 2009 TLV320AIC3007EVM Layout Views 37 Submit Documentation Feedback...

Page 38: ...Appendix C www ti com Figure C 3 Layer 3 Figure C 4 Layer 4 38 TLV320AIC3007EVM Layout Views SLAU286 June 2009 Submit Documentation Feedback...

Page 39: ...www ti com Appendix C Figure C 5 Bottom Layer SLAU286 June 2009 TLV320AIC3007EVM Layout Views 39 Submit Documentation Feedback...

Page 40: ...11 0 1 F C17 C22 C24 CAP CER 0 1 F 25V X7R 0603 TDK Corporation C1608X7R1E104K C25 C46 C48 C52 14 3 1 0uF C15 C35 C36 CAP CERAMIC 1 F 10V X5R 0603 Panasonic ECJ BVB1A105K 15 5 10 F C9 C12 C16 CAP CER...

Page 41: ...2 SW1 SW2 SWITCH SLIDE 4PDT 30V RT ANGLE E Switch EG4208 38 1 SW3 SWITCH SLIDE SPDT 30V 2A PC MNT E Switch EG1218 39 13 Not TP1 TP5 TP7 TEST POINT PC MINI 0 040 D RED Keystone Electronics 5000 Instal...

Page 42: ...dix E www ti com The schematic diagram for USB MODEVM Interface Board included in the TLV320AIC3007EVM K is provided as a reference It appears on the following page 42 USB MODEVM Schematic SLAU286 Jun...

Page 43: ...0 F 6 3V Ceramic Chip Capacitor 10 X5R TDK C3216X5R0J1306K D1 50V 1A Diode MELF SMD Micro Commercial Components DL4001 D2 Yellow Light Emitting Diode Lumex SML LX0603YW TR D3 D7 Green Light Emitting D...

Page 44: ...umper 0 1 spacing Samtec TSW 102 07 L S JMP5 JMP6 3 position jumper 0 1 spacing Samtec TSW 103 07 L S JMP7 3 position dual row jumper 0 1 spacing Samtec TSW 103 07 L D SW1 SMT half pitch 2 position sw...

Page 45: ...w The data packet consists of the following bytes shown in Table G 2 Table G 2 Data Packet Configuration Byte Number Type Description 0 Interface Specifies serial interface and operation The two value...

Page 46: ...MSB of reg addr 2 0x02 3 0xE0 4 0xAA 5 0x55 In each case the TAS1020 returns in an HID interrupt packet the following 0 interface byte status status REQ_ERROR 0x80 INTF_ERROR 0x40 REQ_DONE 0x20 1 for...

Page 47: ...quest is malformed that is the interface byte byte 0 takes on a value which is not as preciously described the return packet is 0 0x93 the user sent 0x13 which is not valid so 0x93 returned 1 0xA0 2 0...

Page 48: ...Example write P3 5 to a 1 set all others to 0 0 0x18 write GPIO 1 0x00 this value is ignored 2 0x01 length ALWAYS a 1 3 0x00 this value is ignored 4 0x40 01000000 The user may also read back from the...

Page 49: ...onds that the script pauses 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 a...

Page 50: ...g the last 00 Any text editor can be used to write these scripts Jedit is an editor that is highly recommended for general usage For more information go to http www jedit org Once the script is writte...

Page 51: ...oduct This notice contains important safety information about temperatures and voltages For additional information on TI s environmental and or safety programs please contact the TI application engine...

Page 52: ...ce 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 reasonabl...

Reviews: