Texas Instruments TLV320AIC12KEVMB-K appendix USB-MODEVM Protocol, Setreport

Page 22

Kit Operation

www.ti.com

Figure 16. Help

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.9.1USB-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):

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

22

TLV320AIC12KEVMB-K and TLV320AIC14KEVMB-K User's Guide

SLAU229B–October 2007–Revised August 2008

 

 

Submit Documentation Feedback

Image 22 Contents
SN74LVC125A EVM-Compatible Device Data SheetsSN74LVC1G07 Power Supply Pinout List of Jumpers USB-MODEVM SW2 Settings Introduction FeaturesEVM Overview Analog InterfaceDigital Interface Alternate Analog ConnectorsDigital Interface Pinout SDA AIC12K/14K ResetSCL SclkPower Supply Pinout Power SuppliesUSB-MODEVM Interface Power Stand-Alone OperationAnalog Input Default Jumper LocationsTLV320AIC12KEVMB-K/14KEVMB-K Block Diagram Analog OutputTLV320AIC12KEVMB-K/14KEVMB-K Block Diagram Installation USB-MODEVM SW2 SettingsUSB-MODEVM Interface Board Program DescriptionIndicators and Main Screen Controls Information TabInformation Tab Preset Configurations Tab Sounds and Audio Devices PropertiesPreset Configurations Device Controls TabDevice Controls Tab Control Register 1 Tab Control Register 1 Tab Control Register 2 Tab Control Register 2 Tab Control Register 3 Tab Control Register 4 Tab Control Register 5 Tab Command Line Interface Tab Command Line Interface Tab File Menu USB Control Endpoint Hidsetreport Request USB-MODEVM ProtocolSetreport Data Packet Configuration 0x01 0x80 0x02 Gpio Capability Gpio Pin AssignmentsI2cfast Writing ScriptsI2cstd Spi8#example script i i2cfast 80 01 45 A0 r 80 01 Here is an example of a script EVM Bill of Materials TLV320AIC12KEVMB/14KEVMB Bill of MaterialsUSB-MODEVM Bill of Materials JMP5, JMP6 JMP1-JMP4JMP8-JMP14 JMP7Appendix a TLV320AIC12KEVMB/14KEVMB Schematic Schematic diagram is provided as a referenceTLV320AIC12K14KDBTEVMB Ti a Appendix B USB-MODEVM Schematic Untitled USB-MODEVM Interface Rick Downs FCC Warnings Evaluation BOARD/KIT Important NoticeDSP Rfid
Related manuals
Manual 40 pages 59.39 Kb