Texas Instruments TLV320AIC31 Evaluation Module (EVM) and USB motherboard TLV320AIC31EVM-PDK TLV320AIC31EVM-PDK 데이터 시트

제품 코드
TLV320AIC31EVM-PDK
다운로드
페이지 47
www.ti.com
Kit Operation
The File menu (
) provides some options for working with scripts. The first option, Open
Command File..., loads a command file script into the command buffer. This script can then 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 will run and the script, along with resulting data read back during the script, will be saved to the file
specified. The log file is a standard text file which 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 list 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 TLV320AIC31EVM software.
Figure 23. File Menu
Under the Help menu is an About... menu item which displays information about the TLV320AIC31EVM
software.
The actual USB protocol used as well as instructions on writing scripts are detailed in the following
subsections. While it is not necessary to understand or use either the protocol or the scripts directly,
understanding them may be helpful to some users.
6.14.1
USB-MODEVM Protocol
The USB-MODEVM is defined to be a Vendor-Specific class, and is identified on the PC system as an
NI-VISA device. Because the TAS1020 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. USB Control Endpoint
HIDSETREPORT Request
Part
Value
Description
bmRequestType
0x21
00100001
bRequest
0x09
SET_REPORT
wValue
0x00
don't care
wIndex
0x03
HID interface is index 3
wLength
calculated by host
Data
Data packet as described
below
SBAU115 – November 2005
TLV320AIC31EVM and TLV320AIC31EVM-PDK User's Guide
31