Texas Instruments TLV320AIC3107EVM-K quick start 0x01 0xA0 0x02 0x05

Page 50

USB-MODEVM Protocol

www.ti.com

If the command is sent with no problem, the returning byte [0] is the same as the sent one logically ORed with 0x20 - in the preceding first example, the returning packet is:

[0]0x31

[1]0xA0

[2]0x02

[3]0x05

[4]0xAA

[5]0x55

If for some reason the interface fails (for example, the I2C device does not acknowledge), it comes back as:

[0]0x51 --> interface INTF_ERROR

[1]0xA0

[2]0x02

[3]0x05

[4]0xAA

[5]0x55

If the request 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]0x02

[3]0x05

[4]0xAA

[5]0x55

The preceding examples used writes. Reading is similar:

Read two bytes from device starting at register 5 of an I2C device with address A0:

[0]0x01

[1]0xA0

[2]0x02

[3]0x05

The return packet is:

[0]0x21

[1]0xA0

[2]0x02

[3]0x05

[4]0xAA

[5]0x55

assuming that the preceding values starting at Register 5 were actually written to the device.

48

USB-MODEVM Protocol

SLAU261–November 2008

Submit Documentation Feedback

Image 50
Contents EVM-Compatible Device Data Sheets TLV320AIC3107EVM-KUSB-MODEVM SW2 Settings EVM Overview FeaturesTLV320AIC3107EVM-K Block Diagram IntroductionTLV320AIC3107EVM-K Block Diagram USB-MODEVM Interface Board2 TLV320AIC3107EVM Jumpers and Switches Default Configuration and ConnectionsUSB-MODEVM SW2 Settings List of Stand-alone JumpersPower Connections EVM Connections TLV320AIC3107EVM-K Setup and InstallationSoftware Installation Quick Start Tabs Quick Start USB-MODEM ConfigurationsTLV320AIC3107EVM Software Quick Start Preset Configurations Quick Start Preset Configurations TabMain Software Screen With Indicators and Functions Main Software ScreenDetailed TLV320AIC3107 Block Diagram Audio Input/ADC Tab Audio Input/ADC TabBypass Paths Tab Bypass Paths TabAudio Interface Tab Audio Interface TabConfiguring the Codec Clocks and Fsref Calculation Clocks TabUse With PLL Setting ADC and DAC Sampling RatesUse Without PLL GPIO1 Tab GPIO1 TabAGC Tab AGC TabLeft AGC Settings Filters Tab Filters TabDigital Effects Filter ADC ADC FiltersHigh-Pass Filter DAC Digital Effects Filter DAC FiltersDe-emphasis Filters Digital Effects Filters Shelf FiltersEQ Filters Analog Simulation FiltersPreset Filters User Filters10 DAC/Line Outputs Tab 3.6 3D EffectDAC Controls Line Output MixersHP Output Stage Configuration Tab Output Stage Configuration TabHigh Power Outputs Tab HP Outputs TabClass-D Output Tab Class-D Output TabCommand Line Interface Tab Command Line Interface TabFile Menu Analog Input/Output Connectors Appendix a EVM Connector DescriptionsAnalog Interface Connectors Table A-1. Analog Input/Output ConnectorsBlock a and Block B Digital Interface Connectors J16 and J17 Table A-2. Block a and Block B Digital Interface PinoutPower Supply Connector Pin Header, J15 Table A-3. Power Supply PinoutAppendix B TLV320AIC3107EVM Schematic TP4 Avdd DACAppendix B Figure C-1. Assembly layer Appendix C TLV320AIC3107EVM Layout ViewsFigure C-3. Layer Figure C-5. Bottom Layer Appendix D TLV320AIC3107EVM Bill of Materials Table D-1. TLV320AIC3107EVM Bill of MaterialsNot Appendix E USB-MODEVM Schematic Ti a HIGH-PERFORMANCE Analog Division Appendix F USB-MODEVM Bill of Materials Table F-1. USB-MODEVM Bill of Materials Designators Description Manufacturer USB-MODEVM Protocol Table G-2. Data Packet ConfigurationAppendix G USB-MODEVM Protocol Table G-1. USB Control Endpoint Hidsetreport Request0x12 0xA0 0x02 0x05 0xAA 0x55 0x01 0xA0 0x02 0x05 Gpio Capability Table G-3. Gpio Pin AssignmentsWriting Scripts Writing Scripts Evaluation BOARD/KIT Important Notice FCC WarningImportant Notice