Texas Instruments TLV320AIC3107EVM-K quick start Command Line Interface Tab

Page 31

www.ti.com

TLV320AIC3107EVM Software

4.14 Command Line Interface Tab

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 30). 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 30. 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 31) 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 TLV320AIC3107EVM software.

SLAU261–November 2008

TLV320AIC3107EVM-K

31

Submit Documentation Feedback

Image 31
Contents TLV320AIC3107EVM-K EVM-Compatible Device Data SheetsUSB-MODEVM SW2 Settings Introduction FeaturesTLV320AIC3107EVM-K Block Diagram EVM OverviewUSB-MODEVM Interface Board TLV320AIC3107EVM-K Block DiagramList of Stand-alone Jumpers Default Configuration and ConnectionsUSB-MODEVM SW2 Settings 2 TLV320AIC3107EVM Jumpers and SwitchesPower Connections Software Installation TLV320AIC3107EVM-K Setup and InstallationEVM Connections TLV320AIC3107EVM Software Quick Start USB-MODEM ConfigurationsQuick Start Tabs Quick Start Preset Configurations Tab Quick Start Preset ConfigurationsMain Software Screen Main Software Screen With Indicators and FunctionsDetailed TLV320AIC3107 Block Diagram Audio Input/ADC Tab Audio Input/ADC TabBypass Paths Tab Bypass Paths TabAudio Interface Tab Audio Interface TabClocks Tab Configuring the Codec Clocks and Fsref CalculationUse Without PLL Setting ADC and DAC Sampling RatesUse With PLL GPIO1 Tab GPIO1 TabAGC Tab AGC TabLeft AGC Settings Filters Tab Filters TabHigh-Pass Filter ADC FiltersDigital Effects Filter ADC De-emphasis Filters DAC FiltersDAC Digital Effects Filter Shelf Filters Digital Effects FiltersAnalog Simulation Filters EQ FiltersUser Filters Preset Filters3.6 3D Effect 10 DAC/Line Outputs TabLine Output Mixers DAC ControlsOutput Stage Configuration Tab HP Output Stage Configuration TabHP Outputs Tab High Power Outputs TabClass-D Output Tab Class-D Output TabCommand Line Interface Tab Command Line Interface TabFile Menu Table A-1. Analog Input/Output Connectors Appendix a EVM Connector DescriptionsAnalog Interface Connectors Analog Input/Output ConnectorsTable A-2. Block a and Block B Digital Interface Pinout Block a and Block B Digital Interface Connectors J16 and J17Table A-3. Power Supply Pinout Power Supply Connector Pin Header, J15TP4 Avdd DAC Appendix B TLV320AIC3107EVM SchematicAppendix B Appendix C TLV320AIC3107EVM Layout Views Figure C-1. Assembly layerFigure C-3. Layer Figure C-5. Bottom Layer Table D-1. TLV320AIC3107EVM Bill of Materials Appendix D TLV320AIC3107EVM Bill of MaterialsNot Appendix E USB-MODEVM Schematic Ti a HIGH-PERFORMANCE Analog Division Table F-1. USB-MODEVM Bill of Materials Appendix F USB-MODEVM Bill of MaterialsDesignators Description Manufacturer Table G-1. USB Control Endpoint Hidsetreport Request Table G-2. Data Packet ConfigurationAppendix G USB-MODEVM Protocol USB-MODEVM Protocol0x12 0xA0 0x02 0x05 0xAA 0x55 0x01 0xA0 0x02 0x05 Table G-3. Gpio Pin Assignments Gpio CapabilityWriting Scripts Writing Scripts FCC Warning Evaluation BOARD/KIT Important NoticeImportant Notice