0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
TLV320ADC3101EVM-K

TLV320ADC3101EVM-K

  • 厂商:

    BURR-BROWN(德州仪器)

  • 封装:

    -

  • 描述:

    EVAL MODULE FOR TLV320ADC3001

  • 数据手册
  • 价格&库存
TLV320ADC3101EVM-K 数据手册
User's Guide SLAU267A – December 2008 – Revised October 2012 TLV320ADC3101-K This user's guide describes the characteristics, operation, and use of the TLV320ADC3101-K. This evaluation module (EVM) features a low-power stereo audio ADC with several analog inputs, digital output, audio routing, mixing, and digital filter capabilities. A complete circuit description, schematic diagram, and bill of materials are also included. Note that the TLV320ADC3101 uses the I2C™ bus for register control. Any reference to the SPI control bus in this document is due to the presence of this interface on the USB-MODEVM motherboard. The following related documents are available through the Texas Instruments Web site at www.ti.com. EVM-Compatible Device Data Sheets Device Literature Number TLV320ADC3101 SLAS553 TAS1020B SLES025 REG1117-3.3 SBVS001 TPS767D318 SLVS209 SN74LVC125A SCAS290 SN74LVC1G125 SCES223 SN74LVC1G07 SCES296 Contents 1 EVM Overview ............................................................................................................... 3 2 EVM Description and Basics .............................................................................................. 3 3 TLV320ADC3101-K Setup and Installation .............................................................................. 7 4 ADC3101 Control Software .............................................................................................. 11 Appendix A EVM Connector Descriptions ................................................................................... 25 Appendix B TLV320ADC3101EVM Schematic .............................................................................. 29 Appendix C TLV320ADC3101EVM Layout Views .......................................................................... 32 Appendix D TLV320ADC3101EVM Bill of Materials ........................................................................ 35 Appendix E USB-MODEVM Schematic ...................................................................................... 36 Appendix F USB-MODEVM Bill of Materials ................................................................................ 38 Appendix G USB-MODEVM Protocol ......................................................................................... 40 List of Figures 1 TLV320ADC3101-K Block Diagram ...................................................................................... 4 2 Initial Screen of TLV320ADC3101-K Software .......................................................................... 9 3 Compatibility Tab .......................................................................................................... 10 4 Record Script Tab ......................................................................................................... 12 5 Quick Start Information – USB-MODEVM Audio Interface Configuration .......................................... 13 6 External Audio Interface Configuration Panel 7 Recording Panel ........................................................................................................... 14 8 Clocks / Interface Panel .................................................................................................. 15 ......................................................................... 13 2 I S is a trademark of Koninklijke Philips Electronics N.V. Windows, Windows XP are trademarks of Microsoft Corporation. SPI is a trademark of Motorola, Inc. I2C is a trademark of Philips Corporation. SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated TLV320ADC3101-K 1 www.ti.com 9 Audio Inputs Panel ........................................................................................................ 16 10 Program Device for This Feature........................................................................................ 16 11 Automatic Gain Control (AGC) Panel ................................................................................... 17 12 Processing Blocks Panel ................................................................................................. 18 13 Biquad Filter Tool Panel .................................................................................................. 20 14 Command-line Interface Panel Record Function ...................................................................... 21 15 Status Flags Panel ........................................................................................................ 22 16 Register Tables Panel .................................................................................................... 23 17 Command-line Interface Panel Download Function 18 19 20 21 22 23 24 25 26 27 .................................................................. Schematic (Sheet 1 of 2) ................................................................................................. Schematic (Sheet 2 of 2) ................................................................................................. Top Layer ................................................................................................................... Bottom Layer ............................................................................................................... Top Overlay ................................................................................................................ Bottom Overlay ............................................................................................................ Drill Drawing ................................................................................................................ Composite .................................................................................................................. USB-MODEVM Schematic (Sheet 1 of 2) .............................................................................. USB-MODEVM Schematic (Sheet 2 of 2) .............................................................................. 24 30 31 32 32 33 33 34 34 36 37 List of Tables 2 1 USB-MODEVM SW2 Settings ............................................................................................. 5 2 List of Jumpers and Switches ............................................................................................. 6 3 Analog Interface Pinout ................................................................................................... 25 4 Three-Terminal Analog Input Connectors .............................................................................. 26 5 Audio Input Connector J9 ................................................................................................ 26 6 Digital Interface Pinout .................................................................................................... 27 7 J3 Power Supply Pin Out ................................................................................................. 28 8 TLV320ADC3101EVM Bill of Materials ................................................................................. 35 9 USB-MODEVM Bill of Materials ......................................................................................... 38 10 USB Control Endpoint HIDSETREPORT Request .................................................................... 40 11 Data Packet Configuration 12 GPIO Pin Assignments ................................................................................................... 43 TLV320ADC3101-K ............................................................................................... 40 SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated EVM Overview www.ti.com 1 EVM Overview 1.1 Features • • • • Full-featured evaluation board for the TLV320ADC3101 stereo audio analog-to-digital converter (ADC) USB connection to PC provides power, control, and streaming audio data for easy evaluation. Dual onboard microphones and line inputs for ADC evaluation Connection points for external control and digital audio signals for quick connection to other circuits/input devices. The TLV320ADC3101-K is a complete evaluation kit, which includes a universal serial bus (USB)-based motherboard and evaluation software for use with a personal computer running the Microsoft Windows™ operating system (Windows 2000 or Windows XP™). 1.2 Introduction The TLV320ADC3101EVM is in the Texas Instruments (TI) modular EVM form factor, which allows direct evaluation of the device performance and operating characteristics and eases software development and system prototyping. The TLV320ADC3101-K is a complete evaluation/demonstration kit, which includes a USB-based motherboard, called the USB-MODEVM interface board, and evaluation software for use with a personal computer (PC) running the Microsoft Windows operating system. The TLV320ADC3101-K is operational with one USB cable connection to a PC. The USB connection provides power, control, and streaming audio data to the EVM for reduced setup and configuration. The EVM also provides interfaces for external control signals, audio data, and power. This allows for the TLV320ADC3101 to be connected to the rest of a user development system. 2 EVM Description and Basics This section provides information on the analog input and output, digital control, power, and general connection of the TLV320ADC3101-K. 2.1 TLV320ADC3101-K Block Diagram The TLV320ADC3101-K consists of two separate circuit boards, the USB-MODEVM and the TLV320ADC3101EVM. The USB-MODEVM is built around the TAS1020B streaming audio USB controller with an 8051-based core. The motherboard features two positions for modular EVMs, or one double-wide serial modular EVM can be installed. The TLV320ADC3101EVM is one of the double-wide modular EVMs that is designed to work with the USB-MODEVM. The simple diagram of Figure 1 shows how the TLV320ADC3101EVM is connected to the USBMODEVM. The USB-MODEVM interface board is intended to be used in USB mode, where control of the installed EVM is accomplished using the onboard USB controller device. Provision is made, however, for driving all the data buses (I2C, SPI™, I2S™, etc.) externally. The source of these signals is controlled by SW2 on the USB-MODEVM. See Table 1 for details on the switch settings. The USB-MODEVM has two EVM positions that allow for the connection of two small evaluation module or one larger evaluation module. The TLV320ADC3101EVM is designed to fit over both of the smaller evaluation module slots as shown in Figure 1. SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated TLV320ADC3101-K 3 EVM Description and Basics 2.1.1 www.ti.com USB-MODEVM Interface Board The simple diagram of Figure 1 shows only the basic features of the USB-MODEVM interface board. Because the TLV320ADC3101EVM is a double-wide modular EVM, it is installed with connections to both EVM positions, which connects the TLV320ADC3101 digital control interface to the I2C port realized using the TAS1020B, as well as the TAS1020B digital audio interface. In the factory configuration, the board is ready to be used with the USB-MODEVM. To view all the functions and configuration options available on the USB-MODEVM board, see the USB-MODEVM interface board schematic in Appendix G. TLV320ADC3101EVM TLV320ADC3101 USB-MODEVM EVM Position 1 Control Interface 2 I C TAS1020B USB 8051 Microcontroller EVM Position 2 USB 2 I S Audio Interface B0346-01 Figure 1. TLV320ADC3101-K Block Diagram 4 TLV320ADC3101-K SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated EVM Description and Basics www.ti.com 2.2 2.2.1 Default Configuration and Connections USB-MODEVM Table 1 provides a list of the SW2 settings on the USB-MODEVM. For use with the TLV320ADC3101EVM, SW-2 positions 1, 2, 3, 4, 5, 6, and 7 must be set to ON, whereas SW-2.8 must be set to OFF. If the TLV320ADC3101EVM is to be used with an external audio interface, SW2.4 and SW2.5 must be set to OFF. This interface must be connected as explained in Section 2.4. Table 1. USB-MODEVM SW2 Settings SW-2 Switch Number Label 1 A0 USB-MODEVM EEPROM I2C Address A0 ON: A0 = 0 OFF: A0 = 1 Switch Description 2 A1 USB-MODEVM EEPROM I2C Address A1 ON: A1 = 0 OFF: A1 = 1 3 A2 USB-MODEVM EEPROM I2C Address A2 ON: A2 = 0 OFF: A2 = 1 4 USB I2S I2S Bus Source Selection ON: I2S bus connects to TAS1020. OFF: I2S Bus connects to USB-MODEVM J14. 5 USB MCK I2S bus MCLK Source Selection ON: MCLK connects to TAS1020. OFF: MCLK connects to USB-MODEVM J14. 6 USB SPI SPI bus Source Selection ON: SPI bus connects to TAS1020. OFF: SPI bus connects to USB-MODEVM J15. 7 USB RST RST Source Selection ON: EVM reset signal comes from TAS1020. OFF: EVM 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. SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated TLV320ADC3101-K 5 EVM Description and Basics 2.2.2 www.ti.com TLV320ADC3101 Jumper Locations Table 2 provides a list of jumpers found on the EVM and their factory default conditions. Table 2. List of Jumpers and Switches Jumper Designator Jumper Type Default Position Jumper Description W1 2-pin Soldered Provides +3.3VA voltage source to AVDD input pin 10 of ADC3101. W2 2-pin Soldered Provides IOVDD voltage source to IODD input pin 21 of ADC3101. W3 2-pin Soldered Provides +1.8VD voltage source to DVDD input pin 22 of ADC3101. W4 2-pin Installed Enables audio connector J9 input to IN1L(P) - pin 8 of ADC3101. W5 2-pin Installed Enables audio connector J9 input to IN1R(M) - pin 11 of ADC3101. W6 3-pin 1–2 Input DMCLK (1–2) or GPIO0 (2–3) to pin 20 of ADC3101. W7 3-pin 1–2 Input DMDIN (1–2) or GPIO1 (2–3) to pin 19 of ADC3101. W8 3-pin 2–3 Selects IOVDD voltage source (1–2 selects 1.8 V and 2–3 selects 3.3 V). W9 2-pin Not Installed Use GPIO1. W10 2-pin Not Installed Enable hardware reset if available. W11 2-pin Not Installed When not installed, selects USB-MODEVM EEPROM as firmware source. When installed, selects onboard EEPROM as firmware source. W12 2-pin Installed When installed, enables MICBIAS1 to left microphone (MK1). W13 2-pin Installed When installed, enables MICBIAS2 to right microphone (MK2). 2.3 2.3.1 Analog Signal Connections Analog Inputs The analog input sources can be applied directly to terminal blocks J6, J7, and J8 or input jack J9. The connection details can be found in Appendix A. 2.4 Digital Signal Connections The digital signals (BCLK, WCLK, DOUT, and MCLK) can be monitored via J5. If external digital signals are connected to the EVM, these digital inputs must be connected via J14 on the USB-MODEVM, and the SW2 switch must be changed accordingly (see Section 2.2.1). The connector details are available in Section A.2. 2.5 Power Connections The TLV320ADC3101EVM can be powered independently when being used in stand-alone operation or by the USB-MODEVM when it is plugged onto the motherboard. 6 TLV320ADC3101-K SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated TLV320ADC3101-K Setup and Installation www.ti.com 2.5.1 Stand-Alone Operation When used as a stand-alone EVM, power is applied to J3 directly, making sure to reference the supplies to the appropriate grounds on that connector. CAUTION Verify that all power supplies are within the safe operating limits shown on the TLV320ADC3101 data sheet before applying power to the EVM. J3 provides connection to the common power bus for the TLV320ADC3101EVM. Power is supplied on the pins listed in Table 7. The TLV320ADC3101-K motherboard (the USB-MODEVM interface board) supplies power to J3 of the TLV320ADC3101EVM. Power for the motherboard is supplied either through its USB connection or via terminal blocks on that board. 2.5.2 USB-MODEVM Operation The USB-MODEVM interface board can be powered from several different sources: • USB • 6-Vdc to 10-Vdc AC/DC external wall supply (not included) • Laboratory power supply When powered from the USB connection, JMP6 must have a shunt from pins 1–2 (this is the default factory configuration). When powered from a 6-Vdc to 10-Vdc power supply, either through the J8 terminal block or J9 barrel jack, JMP6 must have a shunt installed on pins 2–3. If power is applied in any of these ways, onboard regulators generate the required supply voltages, and no further power supplies are necessary. If laboratory supplies are used to provide the individual voltages required by the USB-MODEVM Interface, JMP6 must have no shunt installed. Voltages are then applied to J2 (+5VA), J3 (+5VD), J4 (+1.8VD), and J5 (+3.3VD). The +1.8VD and +3.3VD can also be generated on the board by the onboard regulators from the +5VD supply; to enable this configuration, the switches on SW1 must be set to enable the regulators by placing them in the ON position (lower position, looking at the board with text reading right-side up). If +1.8VD and +3.3VD are supplied externally, disable the onboard regulators by placing SW1 switches in the OFF position. Each power-supply voltage has an LED (D1–D7) that lights when the power supplies are active. 3 TLV320ADC3101-K Setup and Installation The following section provides information on using the TLV320ADC3101-K, including setup, program installation, and program usage. NOTE: If using the EVM in stand-alone mode, the software must be installed per the following instructions, but the hardware configuration may be different. 3.1 Software Installation 1. Download the latest version of the ADC3101 Control Software (CS) located in the TLV320ADC3101-K Product Folder. 2. Open the installation file. 3. Extract the software to a known folder. 4. Install the EVM software by double-clicking the Setup executable, and follow the directions. The user may be prompted to restart the computer. This installs all the TLV320ADC3101-K software and required drivers onto the PC. SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated TLV320ADC3101-K 7 TLV320ADC3101-K Setup and Installation 3.2 www.ti.com EVM Connections 1. Ensure that the TLV320ADC3101EVM is installed on the USB-MODEVM interface board, aligning J1B, J2B, J3B, J4B, and J5B with the corresponding connectors on the USB-MODEVM. 2. Verify that the jumpers and switches are in their default conditions. 3. Attach a USB cable from the PC to the USB-MODEVM interface board. The default configuration provides power, control signals, and streaming audio via the USB interface from the PC. On the USBMODEVM, LEDs D3, D4, D5, and D7 light to indicate that the USB is supplying power. 4. For the first connection, the PC recognizes new hardware and begins an initialization process. The user may be prompted to identify the location of the drivers or allow the PC to automatically search for them. Allow the automatic detection option. 5. Once the PC confirms that the hardware is operational, D2 on the USB-MODEVM lights to indicate that the firmware has been loaded and the EVM is ready for use. If D2 does not light, verify that the EEPROM jumper and switch settings conform to Table 1 and Table 2. After the TLV320ADC3101-K software installation (described in Section 3.2) is complete, evaluation and development with the TLV320ADC3101 can begin. 8 TLV320ADC3101-K SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated TLV320ADC3101-K Setup and Installation www.ti.com The TLV320ADC3101-K software can now be launched. The user sees an initial screen that looks similar to Figure 2. Figure 2. Initial Screen of TLV320ADC3101-K Software SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated TLV320ADC3101-K 9 TLV320ADC3101-K Setup and Installation www.ti.com If running the software in Windows Vista or Windows 7, right-click the ADC3101-K CS shortcut and select Properties. Configure the Compatibility tab as shown in Figure 3 Figure 3. Compatibility Tab 10 TLV320ADC3101-K SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated ADC3101 Control Software www.ti.com 4 ADC3101 Control Software The ADC3101 Control Software (CS) is an intuitive, easy-to-use, powerful tool to learn, evaluate, and control the TLV320ADC3101. The following sections describe the operation of this software. NOTE: For configuration of the device, the TLV320ADC3101 block diagram located in the TLV320ADC3101 data sheet is a good reference to help determine the signal routing. 4.1 Main Panel Window The main panel window, shown in Figure 2, provides easy access to all the features of the TLV320ADC3101 CS. The FIRMWARE NAME and VERSION boxes provide information about the firmware loaded into the EVM's EEPROM. NOTE: • Double-click to access items in the Panel Selection Tree (e.g. "Quick Start Info" or "Recording" Applications) • Single-click to access "STATUS FLAGS", "REGISTER TABLES" or "COMMAND-LINE INTERFACE" Applications The USB-MODEVM interface drop-down menu allows the user to select which communication protocol the TAS1020B USB Controller uses to communicate with the TLV320ADC3101 or to toggle the TAS1020B GPIO pins. The TLV320ADC3101 supports I2C standard and fast modes. The USB-MODEVM interface selection is global to all panels, including the COMMAND-LINE INTERFACE. The panel selection tree provides access to typical configurations, features, and other panels that allow the user to control the TLV320ADC3101. The tree is divided into several categories which contain items that pop up panels. A panel can be opened by double-clicking any item inside a category in the panel selection tree. Below the panel-selection tree are three buttons that pop up the following: • • • STATUS FLAGS - Allows the user to monitor the TLV320ADC3101 status flags. REGISTER TABLES - A tool to monitor register pages. COMMAND-LINE INTERFACE - A tool to execute/generate scripts and monitor register activity. The USB LED indicates if the EVM kit is recognized by the software and the ACTIVITY LED lights every time a command request is sent. The dialog box at the bottom of the main panel provides feedback of the current status of the software. Note that most controls used in the pop-up panel applications update their status with respect to the register contents in the following conditions: • A panel is opened. • The Execute Command Buffer button in the Command-Line Interface is pressed. • The Refresh button at the bottom right of a panel is pressed. SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated TLV320ADC3101-K 11 ADC3101 Control Software 4.1.1 www.ti.com TLV320ADC3101EVM Quick-Start Panels The ADC3101 Control Software Quick Start Panels help users to become familiar with the TLV320ADC3101. The Quick Start Info panel shows how to configure the EVM hardware for the USBMODEVM audio interfaces or external audio interfaces. The Audio Recording panel contains three typical EVM recording configurations. Line-in recording, external microphone recording, and on-board microphone recording scripts and controls are provided. After selecting the configuration, the user can inspect the I2C script by clicking on the Script tab. Each script includes a brief description of the selected configuration including EVM jumpers, as shown in Figure 4. Figure 4. Record Script Tab 4.1.1.1 Quick Start Info The Quick Start Information panel (shown in Figure 5) shows the following configurations: • USB-MODEVM Audio Interface Configuration. • External Audio Interface Configuration. 12 TLV320ADC3101-K SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated ADC3101 Control Software www.ti.com Figure 5. Quick Start Information – USB-MODEVM Audio Interface Configuration Figure 6. External Audio Interface Configuration Panel 4.1.1.2 Audio Recording The Audio Recording panel (shown in Figure 7) provides the following configurations: • Line-In (J9) Stereo Recording – this configuration programs the TLV320ADC3101 to record a line-level signal input at EVM audio connector J9. • External Microphone (J9) Recording – this configuration programs the TLV320ADC3101 to record a SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated TLV320ADC3101-K 13 ADC3101 Control Software www.ti.com • microphone-level signal input at EVM audio connector J9. On-Board Microphones Recording – this configuration programs the TLV320ADC3101 to record the EVM on-board microphones MK1 (left channel) and MK2 (right channel). Jumpers related to the onboard microphone must be set to their default configuration as described in Table 2. To • • • • use one of the configurations, perform the following steps: Select the desired EVM recording configuration. Inspect the command script (Script tab Figure 4) and configure the EVM jumpers as shown. Click the Load Script button. Capture and analyze the TLV320ADC3101 digital output signal. Figure 7. Recording Panel 4.1.2 Digital Settings – Clocks / Interface Panel The Digital Settings – Clocks / Interface Panel allows the user to set the clocks and audio interface for the TLV320ADC3101. This panel provides the following tabs: • • • • • • • 14 Clock / PLL Tab – Input clocks and PLL parameters can be specified. Dividers Tab – Specify NADC, MADC, and AOSR BCLK / CLOCKOUT Mux Tab – Specify BCLK and CLOOUT (DOUT) Audio Interface Tab – Audio Bus Settings, WCLK and BCLK Direction, Data Offsets, etc. DOUT Control Tab – DOUT pin control (Primary, In/Out, Interrupts, etc.) Digital Mic (GPIO) Control Tab – DMCLK and DMDIN Controls (Digital Mic, GPIO, Interrupts, Secondary Audio Clocks, etc.) Interrupt Control Tab – INT1 and INT2 Interrupt Control TLV320ADC3101-K SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated ADC3101 Control Software www.ti.com Figure 8. Clocks / Interface Panel 4.1.3 Analog Settings The TLV320ADC3101 software allows access to two analog panels: 1. Audio Inputs – This panel allows the user to access the Input Routing and Input Volume Control tabs shown in Figure 9. 2. Automatic Gain Control (AGC) – This panel allows the user to configure the AGC. Note that the TLV320ADC3101 supports the left and right channel AGCs, which are identical. The software supports the left AGC only. See Figure 11. Before changing a control, see the data sheet to ensure that a particular control is compatible with the current state of the device. As an example, some controls in the analog settings panels must be modified in a particular order as described in the data sheet. 4.1.3.1 Analog Audio Inputs The Input Routing tab allows selection of all available single-ended and differential inputs including any gain associated with the input. Also available are PGA bypass controls, unused inputs biasing, and ADC volume stepping. SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated TLV320ADC3101-K 15 ADC3101 Control Software www.ti.com The Input Volume Control tab allows the user to change the PGA gain (analog domain) and the ADC gain (digital domain). Also available is an ADC Phase Compensation block. MICBIAS1 and MICBAS2 controls are included on this tab. Figure 9. Audio Inputs Panel 4.1.3.2 Automatic Gain Control (AGC) To use the AGC feature, double-click the AGC text in the Panel Selection Tree. When the application pops up Figure 10, select OK to program the TLV320ADC3101 for the AGC feature. Otherwise, select Cancel. The left-channel automatic gain control (AGC) can be enabled by checking the Enable Left AGC box (Figure 11). Pressing the Capture Audio button records the left-channel audio. Its corresponding data is displayed in the audio capture graph window. The small white window located at the bottom right of the AGC tab displays the audio waveform of the recorded data. Ensure that the AIC32x4 EVM is selected as the computer's default audio capture device before pressing this button. To set the TLV320ADC3101-K as the default audio device, open the Windows™ Control Panel → Sounds and Audio Devices Properties and set the AIC32x4 EVM as the default audio recording device. Also, do not use any other media player or audio recording software while the control software is recording. Figure 10. Program Device for This Feature 16 TLV320ADC3101-K SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated ADC3101 Control Software www.ti.com The target level and noise threshold parameters can be modified by dragging the horizontal cursor lines located in the audio-capture graph window. Its numeric values are displayed to the right of the graph. Noise threshold can be disabled by unchecking the Enable Noise Threshold box. The AGC Max Gain control sets the maximum allowed AGC PGA gain. The AGC Gain indicator bar continuously displays the contents of Page 0/Register 93 if the Enable Polling box is checked. Other parameters can be accessed by checking the Advanced? box. For more information about AGC, see the Information tab and the data sheet. Other flags related to this feature can be accessed at the Status Flags panel. Figure 11. Automatic Gain Control (AGC) Panel 4.1.4 Signal Processing The Signal Processing category provides control of selection of Processing Blocks and includes a Biquad Filter Tool that allow the user to program biquad filters such as high-pass, low-pass, EQ, notch, treble shelf, and bass shelf. 4.1.4.1 ADC Processing Blocks Panel The Figure 12 allows the user to view and select a particular processing block. The Information tab has an explanation of the ADC Decimation Filtering and Signal Processing Blocks. See the TLV320ADC3101 (SLAS553) data sheet for more detailed information. SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated TLV320ADC3101-K 17 ADC3101 Control Software www.ti.com Figure 12. Processing Blocks Panel 4.1.4.2 Biquad Filter Tool The Biquad Filter Tool allows the user to specify the following biquad filters downloadable to the TLV320ADC3101: • • • • • • • 18 All-pass High-pass (Butterworth first-order, Butterworth second-order, Bessel second-order, Linkwitz-Riley second-order, and variable-Q second-order) Low-pass (Butterworth first-order, Butterworth second-order, Bessel second-order, Linkwitz-Riley second-order, and variable-Q second-order) EQ (equalizer) Notch Treble shelf Bass shelf TLV320ADC3101-K SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated ADC3101 Control Software www.ti.com Using the Biquad Filter Tool: The easiest way to play with the Biquad Filter Tool is first to use the default EVM settings (fs = 44.1 kHz, etc.) with the Recording panel in the Quick-Start section of the software. For example, first run the Line-In (J9) Recording script. After inputting a sine-wave sweep into J9, design and download biquads into the TLV320ADC3101. The biquads can then be checked by running a frequency-response plot on the output. Steps to use the Biquad Filter Tool: 1. Step 1: Select the Processing Block – This specifies the number of biquads available (3 or 5) and stereo or mono (right). For best results use Processing Block PRB_R2 as this works well with the default EVM setup. 2. Step 2: Specify the Sample Rate – This is a key design parameter input to the Biquad Filter Tool. The default is 44.1 kHz which is the sample rate used on the USB interface for the EVM. The tool works with any sample rate from 8 kHz to 96 kHz; however, if a sample rate other than 44.1 kHz is selected, then the user must go to the clock panel and modify PLL and/or clock settings so that the desired sample rate is set correctly. 3. Step 3: Specify the Biquad Filters – Select the filter type and subtype and enter any required parameters. Note that the parameters not used will be grayed out. Using the Plot check-box, select the filters to plot and/or download. 4. Step 4: Calculate the Coefficients – Click on the Calculate Coefficients OK button. This calculates all the selected filters and plots the combined response of all the checked filters. If a filter is not checked, it is treated as an All-Pass filter. 5. Step 5: Inspect the Plots – Based on the selected filters determine if this is the total desired response. Also, inspect the Scale (dB) display. Some filters may create an overall negative gain error which is reflected in the Scale. For example, if the Scale displays 0.5 then there is a –0.5-dB gain error which can be corrected in the analog PGA or the digital volume. In the last column, the stability of the filter is indicated. If the roots of the filter denominator are less than 1, then the filter is stable and this field will display the text "Stable". Otherwise, it will display the text "Unstable," meaning that the unstable filter should be re-specified until it is stable. 6. Step 6: Download the Coefficients – Click the Download Coefficients OK button. This action downloads the filter coefficients to the TLV320ADC3101 device. Note that the process of downloading coefficients is accomplished by the following register writes to the device: • Page 0 - Select processing block and power down both ADCs • Page 4 - Write filter coefficients to both left and right channels as required • Page 0 - Power up both ADCs Note that the filter coefficients can be saved as an I2C script by using the Command-line Interface Record button. The I2C commands will be displayed in the Command Buffer (Figure 14),which can be selected and copied to a text command file. SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated TLV320ADC3101-K 19 ADC3101 Control Software www.ti.com Figure 13. Biquad Filter Tool Panel 20 TLV320ADC3101-K SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated ADC3101 Control Software www.ti.com Figure 14. Command-line Interface Panel Record Function 4.2 Status Flags Panel The TLV320ADC3101 status flags can monitored in the Status Flags panel (Figure 15) which is located below the Panel Selection Tree. Pressing the POLLING button continuously reads all the registers relevant to each flag and updates those flags accordingly. The rate at which the registers are read can be modified by changing the value in the Polling Interval numeric control. Note that a smaller interval reduces responsiveness of other controls, especially volume sliders, due to bandwidth limitations. By default, the polling interval is 200 ms and can be set to a minimum of 20 ms. The Sticky Flags tab contains indicators whose corresponding register contents clear every time a read is performed to that register. To read all the sticky flags, click the Read Sticky Flags button. SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated TLV320ADC3101-K 21 ADC3101 Control Software www.ti.com Figure 15. Status Flags Panel 4.3 Register Tables Panel The contents of configuration and coefficient pages of the TLV320ADC3101 can be accessed through the Register Tables panel (Figure 16). The Page Number control changes to the page to be displayed in the register table. The register table contains page information such as the register name, reset value, current value, and a bitmap of the current value. The contents of the selected page can be exported into a spreadsheet by clicking the Dump to Spreadsheet button. 22 TLV320ADC3101-K SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated ADC3101 Control Software www.ti.com Figure 16. Register Tables Panel 4.4 Command-Line Interface Panel The Command-Line Interface panel provides a means to communicate with the TLV320ADC3101 using a simple scripting language (described in Section G.3). The TAS1020B USB Controller (located on the USB-MODEVM motherboard) handles all communication between the PC and the TLV320ADC3101. A script is loaded into the Command Buffer (Figure 17), either by loading a script file using the File menu or by pasting text from the clipboard using the Ctrl-V key combination. When the command buffer is executed, the return data packets that result from each individual command are displayed in the Command History control. This control is an array (with a maximum size of 100 elements) that contains information about each command. The INTERFACE box displays the interface used for a particular command in the Command History array. The COMMAND box displays the type of command executed (i.e., write, read) for a particular interface. The FLAG RETRIES box displays the number of read iterations performed by a Wait for Flag command (see Section G.3 for details). The REGISTER DATA array displays the register number and data bytes that correspond to a particular command. The Information tab provides additional information related to the Command History as well as additional settings. The Syntax and Examples tabs provide useful information related to the scripting language. The File menu provides some options for working with scripts. The first option, Open Script File..., loads a command file script into the command buffer. This script can then be executed by pressing the Execute Command Buffer button. The contents of the Command Buffer can be saved using the Save Script File... option. Both the Command Buffer and Command History can be cleared by clicking their corresponding Clear buttons. SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated TLV320ADC3101-K 23 ADC3101 Control Software www.ti.com Figure 17. Command-line Interface Panel Download Function 24 TLV320ADC3101-K SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated www.ti.com Appendix A EVM Connector Descriptions This appendix contains the connection details for each of the main connectors on the EVM. A.1 Analog Interface Connectors A.1.1 Analog Dual-Row Socket Details, J1 and J2 The TLV320ADC3101EVM has two analog dual-row sockets located at the bottom of the board. These sockets provide support to the EVM and connect the analog ground plane of the EVM to the USBMODEVM analog ground. Consult Samtec at www.samtec.com or call 1-800-SAMTEC-9 for a variety of mating connector options. Table 3 summarizes the analog interface pinout for the TLV320ADC3101EVM. Table 3. Analog Interface Pinout PIN NUMBER SIGNAL DESCRIPTION J1.1 NC Not connected J1.2 NC Not connected J1.3 NC Not connected J1.4 NC Not connected J1.5 NC Not connected J1.6 NC Not connected J1.7 NC Not connected J1.8 NC Not connected J1.9 AGND Analog ground J1.10 NC Not connected J1.11 AGND Analog ground J1.12 NC Not connected J1.13 AGND Analog ground J1.14 NC Not connected J1.15 NC Not connected J1.16 NC Not connected J1.17 AGND Analog ground J1.18 NC Not connected J1.19 AGND Analog ground J1.20 NC Not connected J2.1 NC Not connected J2.2 NC Not connected J2.3 NC Not connected J2.4 NC Not connected J2.5 NC Not connected J2.6 NC Not connected J2.7 NC Not connected J2.8 NC Not connected J2.9 AGND Analog ground J2.10 NC Not connected J2.11 AGND Analog ground J2.12 NC Not connected J2.13 AGND Analog ground J2.14 NC Not connected J2.15 NC Not connected J2.16 NC Not connected J2.17 AGND Analog ground J2.18 NC Not connected J2.19 AGND Analog ground SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated EVM Connector Descriptions 25 Analog Interface Connectors www.ti.com Table 3. Analog Interface Pinout (continued) A.1.2 PIN NUMBER SIGNAL DESCRIPTION J2.20 NC Not connected Analog Screw Terminal and Audio Jack Details The analog inputs can be accessed through screw terminals or audio jacks. Table 4 summarizes the analog input screw terminals available on the TLV320ADC3101EVM. Table 5 summarizes the J9 input audio jack available on the TLV320ADC3101EVM. Table 4. Three-Terminal Analog Input Connectors Reference Pin1 Pin2 Pin3 J6 IN1L(P) AGND IN1R(M) J7 IN2L(P) AGND IN3L(M) J8 IN2R(P) AGND IN3R(M) Table 5. Audio Input Connector J9 Reference J9 26 Pin 1 Pin2 / Pin4 Pin3 / Pin 5 AGND Internal Microphone MK1 or external input to IN1L(P) Internal Microphone MK2 or external input to IN1L(M) EVM Connector Descriptions SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated Digital Interface Connectors, J4 and J5 www.ti.com A.2 Digital Interface Connectors, J4 and J5 The TLV320ADC3101EVM is designed to interface with multiple control platforms. Samtec part numbers SSW-110-22-F-D-VS-K and TSM-110-01-T-DV-P provide a convenient 10-pin, dual-row header/socket combination at J4 and J5. These headers/sockets provide access to the digital control and serial data pins of the device. Consult Samtec at www.samtec.com or call 1-800-SAMTEC-9 for a variety of mating connector options. Table 6 summarizes the digital interface pinout for the TLV320ADC3101EVM. Table 6. Digital Interface Pinout PIN NUMBER SIGNAL DESCRIPTION J4.1 NC Not connected J4.2 GPIO1 GPIO1 J4.3 NC Not connected J4.4 DGND Digital ground J4.5 NC Not connected J4.6 GPIO1 Jumper W9 provides GPIO1 J4.7 NC Not connected J4.8 RESET Jumper W10 provides RESET (same as pin 14) J4.9 NC Not connected J4.10 DGND Digital ground J4.11 NC Not connected J4.12 NC Not connected J4.13 NC Not connected J4.14 RESET TAS1020B reset J4.15 NC Not connected J4.16 NC Not connected J4.17 NC Not connected J4.18 DGND Digital ground J4.19 NC Not connected J4.20 NC Not connected J5.1 NC Not connected J5.2 NC Not connected J5.3 BCLK Audio serial data bus bit clock (input/output) J5.4 DGND Digital ground J5.5 NC Not connected J5.6 NC Not connected J5.7 WCLK Audio serial data bus word clock (input/output) J5.8 NC Not connected J5.9 NC Not connected J5.10 DGND Digital ground J5.11 NC Not connected J5.12 NC Not connected J5.13 DOUT Audio serial data bus data output (output) J5.14 NC Not connected J5.15 NC Not connected J5.16 SCL I2CTM clock J5.17 MCLK Master clock input J5.18 DGND Digital ground (I2C ground) J5.19 NC Not connected J5.20 SDA I2CTM Data SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated EVM Connector Descriptions 27 Power-Supply Connector Pin Header, J3 www.ti.com The signals needed for an I2S serial digital audio interface and the control interface I2C are available at J5. Reset control (RESET) is routed to J4. A.3 Power-Supply Connector Pin Header, J3 J3 provides connection to the common power bus for the TLV320ADC3101EVM. Power is supplied on the pins listed in Table 7. Table 7. J3 Power Supply Pin Out SIGNAL PIN NUMBER NC 1 NC 2 +5VA 3 NC 4 DGND 5 AGND 6 +1.8VD 7 NC 8 +3.3VD 9 NC 10 The TLV320ADC3101-K motherboard (the USB-MODEVM interface board) supplies power to J3 of the TLV320ADC3101EVM. Power for the motherboard is supplied either through its USB connection or via terminal blocks on that board. 28 EVM Connector Descriptions SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated www.ti.com Appendix B TLV320ADC3101EVM Schematic SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated EVM Connector Descriptions 29 2 1 3 IN1R(-) C7 0.47uF C8 0.47uF 2 1 2 4 5 3 1 Copyright © 2008–2012, Texas Instruments Incorporated DIFF3 J8 DIFF2 J7 3 2 1 3 2 1 IN3R(-) IN2R(+) IN3L(-) IN2L(+) 0.47uF C12 0.47uF C11 0.47uF C10 0.47uF C9 ON-BOARD MICROPHONE MD9745APZ-F MK2 EXT MIC IN SJ1-3515-SMT J9 ON-BOARD MICROPHONE MD9745APZ-F MK1 DIFF1 2 IN1L(+) NI C16 NI C15 R2 2.2K R4 R3 R1 2.2K W12 W13 2 1 1 2 1 TP9 IN3R(-) TP8 IN2R(+) TP7 IN3L(-) TP6 IN2L(+) TP11 MICBIAS2 0 0 TP10 MICBIAS1 TP5 IN1R(-) TP4 IN1L(+) 2 0.47uF 0.47uF C14 C13 NI NI C18 C17 C16, C17, and C18 are not installed, but can be used to +3.3VA W1 1 2 TP1 AVDD C4 10uF C1 0.1uF IN2L(P) DOUT /RESET 10 IN3R(-) MICBIAS2 IN2R(+) 12 IN1R(-) 11 AVDD 9 7 8 IN2L(+) IN1L(+) IN2R(P) IN1R(M) AVDD AVSS IN1L(P) DMDIN/GPIO1 DMCLK/GPIO2 I2C_ADR0 I2C_ADR1 24 TP13 MPF1_B R5 10K IOVDD SCL SW1 C&K_TDA02 R6 10K DMDIN/GPIO1 SDA DMCLK/GPIO0 19 MCLK 20 21 22 23 TP12 MPF1_A IOVDD DVDD DVSS MCLK U1 TLV320ADC3101IRGE BCLK 4 IN3L(-) 3 WCLK 1 MICBIAS1 PPAD 0 1 6 IN3L(M) IN3R(M) 13 W4 W5 5 MICBIAS1 MICBIAS2 14 1 2 2 /RESET I2C_ADR0 15 DOUT I2C_ADR1 16 WCLK SCL 17 BCLK SDA 18 TLV320ADC3101EVM Schematic 4 3 30 1 2 J6 C2 0.1uF C3 0.1uF C5 10uF C6 1.0uF TP2 IOVDD1 TP3 DVDD W2 1 W3 1 2 2 IOVDD +1.8VD TP19 DMDIN/GPIO1 DMDIN W7 1 2 3 TP21 DMCLK/GPIO0 DMCLK W6 1 2 3 TP23 SDA TP24 SCL TP22 GPIO1 TP20 GPIO0 TP14 /RESET TP15 DOUT TP16 WCLK TP17 BCLK TP18 MCLK S001 SCL SDA GPIO1 GPIO0 MCLK BCLK WCLK DOUT /RESET Appendix B www.ti.com The schematic diagram for the TLV320ADC3101EVM is provided as a reference. Figure 18. Schematic (Sheet 1 of 2) SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback A0(+) A1(+) A2(+) A3(+) A4 A5 A6 A7 REFREF+ 2 4 6 8 10 12 14 16 18 20 A0(+) A1(+) A2(+) A3(+) A4 A5 A6 A7 REFREF+ 2 4 6 8 10 12 14 16 18 20 DAUGHTER-ANALOG A0(-) A1(-) A2(-) A3(-) AGND AGND AGND VCOM AGND AGND J2 J2A (TOP) = SAMTEC - P/N: TSM-110-01-L-DV-P J2B (BOTTOM) = SAMTEC - P/N: SSW-110-22-F-D-VS - 1 3 5 7 9 11 13 15 17 19 J1A (TOP) = SAMTEC - P/N: TSM-110-01-L-DV-P J1B (BOTTOM) = SAMTEC - P/N: SSW-110-22-F-D- V DAUGHTER-ANALOG A0(-) A1(-) A2(-) A3(-) AGND AGND AGND VCOM AGND AGND W8 IOVDD 1 2 3 +1.8VD +5VA TP29 +1.8VD +3.3VD TP28 +3.3VD IOVDD TP27 IOVDD TP25 +5VA DGND TP30 DGND 1 3 5 7 9 VIN R8 0 R10 0 R9 0 -VA -5VA AGND VD1 +5VD VOUT DAUGHTER-POWER +VA +5VA DGND +1.8VD +3.3VD J3 C21 0.1uF U3 REG1117-3.3 2 4 6 8 10 2 TP32 AGND AGND TP33 AGND C20 10uF +3.3VA J3A (TOP) = SAMTEC - P/N: TSM-105-01-L-DV-P J3B (BOTTOM) = SAMTEC - P/N: SSW-105-22-F-D-V TP31 DGND C19 10uF 3 GND 1 J1 TP26 +3.3VA MCLK DOUT WCLK BCLK MCLK DOUT WCLK BCLK GPIO0 DGND GPIO1 GPIO2 DGND GPIO3 GPIO4 SCL DGND SDA DAUGHTER-SERIAL CNTL CLKX CLKR FSX FSR DX DR INT TOUT GPIO5 J4 2 4 6 8 10 12 14 16 18 20 GPIO0 DGND GPIO1 GPIO2 DGND GPIO3 GPIO4 SCL DGND SDA DAUGHTER-SERIAL CNTL CLKX CLKR FSX FSR DX DR INT TOUT GPIO5 J5 2 4 6 8 10 12 14 16 18 20 2 W10 1 W11 1 2 R7 2.7K C22 0.1uF +3.3VD 4 8 VSS VCC SDA SCL 2 W9 1 J5A (TOP) = SAMTEC - P/N: TSM-110-01-L-DV-P J5B (BOTTOM) = SAMTEC - P/N: SSW-110-22-F-D- V 1 3 5 7 9 11 13 15 17 19 J4A (TOP) = SAMTEC - P/N: TSM-110-01-L-DV-P J4B (BOTTOM) = SAMTEC - P/N: SSW-110-22-F-D- V 1 3 5 7 9 11 13 15 17 19 6 U2 S002 SDA SCL /RESET GPIO1 GPIO0 24LC64I/SN SDA A0 A1 A2 5 SCL WP Copyright © 2008–2012, Texas Instruments Incorporated 1 2 3 SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback 7 1 3 5 7 9 11 13 15 17 19 www.ti.com Appendix B Figure 19. Schematic (Sheet 2 of 2) TLV320ADC3101EVM Schematic 31 www.ti.com Appendix C TLV320ADC3101EVM Layout Views C.1 Layout Views K001 Figure 20. Top Layer K002 Figure 21. Bottom Layer 32 TLV320ADC3101EVM Layout Views SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated Layout Views www.ti.com K003 Figure 22. Top Overlay K004 Figure 23. Bottom Overlay SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated TLV320ADC3101EVM Layout Views 33 Layout Views www.ti.com D001 Figure 24. Drill Drawing D001 K005 Figure 25. Composite 34 TLV320ADC3101EVM Layout Views SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated www.ti.com Appendix D TLV320ADC3101EVM Bill of Materials The complete bill of materials for the TLV320ADC3101EVM is provided as a reference. Table 8. TLV320ADC3101EVM Bill of Materials Item No. Qty Value Ref Des Description Vendor Part Number PCB 1 1 N/A TLV320AIC3101_RGE_EVM_RevA (PCB) Texas Instruments RESISTORS 2 5 0 R3, R4, R8, R9, R10 RES 0-Ω, 1/10-W, 5%, 0603, SMD Panasonic ERJ-3GEY0R00V 3 2 2.2 kΩ R1, R2 RES 2.2-kΩ, 1/10-W, 5%, 0603, SMD Panasonic ERJ-3GEYJ222V 4 1 2.7 kΩ R7 RES 2.7-kΩ, 1/10-W, 5%, 0603, SMD Panasonic ERJ-3GEYJ272V 5 2 10 kΩ R5, R6 RES 10-kΩ, 1/10-W, 5%, 0603, SMD Panasonic ERJ-3GEYJ103V CAPACITORS 6 3 0.1 μF C1, C2, C3 CAP CER, 0.10-μF, 6.3-V, X5R, 10%, 0402 TDK Corporation C1005X5R0J104K 7 2 0.1 μF C21, C22 CAP CER, 0.1-μF, 25-V X7R, 0603 TDK Corporation C1608X7R1E104K 8 8 0.47 μF C7, C8, C9, C10, C11, C12, C13, C14 CAP CER, 0.47-μF, 10-V, X5R, 10%, 0603 Panasonic C1608X5R1A474K 9 1 1 μF C6 CAP CER, 1-μF, 10-V, X5R, 0603 Panasonic ECJ-BVB1A105K 10 2 10 μF C4, C5 CAP CER, 10-μF, 6.3-V, X5R, 0603 Panasonic ECJ-1VB0J106M 11 2 10 μF C19, C20 CAP CER, 10-μF, 16-V, X5R, 20%, 1206 TDK Corporation C3216X5R0J106M 12 4 Not installed C15, C16, C17, C18 Ceramic chip capacitor INTEGRATED CIRCUITS 13 1 U1 Audio ADC Texas Instruments TLV320ADC3101IRGE 14 1 U2 64K I2C EEPROM MicroChip 24LC64-I/SN 15 1 U3 3.3-V LDO voltage regulator Texas Instruments REG1117-3.3 16 3 J6, J7, J8 Screw terminal block, 3-position On Shore Technology ED555/3DS 17 1 J9 3.5-mm audio jack, T-R-S, SMD or alternate CUI Inc. SJ1-3515-SMT KobiConn 161-3335-E 18 2 J4A, J5A 20-pin SMT plug Samtec TSM-110-01-L-DV-P 19 4 J1B, J2B, J4B, J5B 20-pin SMT socket Samtec SSW-110-22-F-D-VS-K 20 1 J3A 10-pin SMT plug Samtec TSM-105-01-L-DV-P 21 1 J3B 10-pin SMT socket Samtec SSW-105-22-F-D-VS-K Samtec TSW-102-07-L-S TSW-103-07-L-S MISCELLANEOUS ITEMS 22 7 W4, W5, W9, W10, W11, W12, W13 2-position jumper, 0.1-inch (2.54-mm) spacing 23 3 W1, W2, W3 Bus wire (18–22 gauge) 24 3 W6, W7, W8 3-position jumper, 0.1-inch (2.54-mm) spacing Samtec 25 2 MK1, MK2 Omnidirectional microphone cartridge or alternate Knowles Acoustics 26 1 SW1 2-position half-pitch DIP switch C&K TDA02H0SB1 27 8 Not installed TP1, TP2, TP3, TP25, Test point, PC mini, 0.040-inch (1,016-mm) diameter, TP26, TP27, TP28, red TP29 Keystone Electronics 5000 28 21 Not installed TP4, TP5, TP6, TP7, TP8, TP9, TP10, TP11, TP12, TP13, TP14, TP15, TP16, TP17, TP18, TP19, TP20, TP21, TP22, TP23, TP24 Test point, PC mini, 0.040-inch (1.016-mm) diameter, white Keystone Electronics 5002 29 4 TP30, TP31, TP32, TP33 Test point, PC, multipurpose black Keystone Electronics 5011 N/A Header shorting block Samtec SNT-100-BK-T 30 Installed per test procedure SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback MD9745APZ-F MD9745APA-1 TLV320ADC3101EVM Bill of Materials Copyright © 2008–2012, Texas Instruments Incorporated 35 2 4 1 3 J9 6VDC-10VDC IN EXT PWR IN ED555/2DS J8 897-30-004-90-000000 GND D+ DVCC 4 3 2 1 VREF2 EN SDA2 SCL2 PCA9306DCT SDA1 SCL1 GND VREF1 J7 USB SLAVE CONN 4 3 1 2 U11 0.1uF CUI-STACK PJ102-BH 2.5 MM SCL EXTERNAL I2C J6 SDA D1 0.1uF C15 DL4001 0.1uF 7 8 5 6 C31 R23 200k VIN U2 REG1117-5 27.4 R11 27.4 R10 C16 0.33uF 3 R9 1.5K 24LC64I/SN VSS VCC U1 TP10 C9 0.1uF 4 8 +3.3VD TP9 4 3 R3 2.7K 2 SW1 1 2 C13 47pF R5 2.7K +3.3VD 6 C6 10uF GREEN D3 3.3VD ENABLE 1.8VD ENABLE R14 390 +5VD C14 47pF REGULATOR ENABLE VOUT JMP6 PWR SELECT 1 2 3 +3.3VD 5 SCL SDA A0 A1 A2 1 2 3 WP 7 C30 SML-LX0603GW-TR 100pF R15 10K .001uF C21 C20 33pF C18 EXT MCK R16 10K X1 1 2 3 4 5 6 7 8 R12 +3.3VD C17 0.33uF 649 R13 6.00 MHZ C19 MRESET TP11 XTALO XTALI PLLFILI PLLFILO MCLKI PUR DP DM DVSS DVSS DVSS AVSS 10 11 12 3 9 5 6 4 USB MCK 2OUT 2OUT 2RESET 1OUT 1OUT 1RESET 100K TPS767D318PWP 2EN 2IN 2IN 1GND 2GND 1IN 1IN 1EN U9 +3.3VD R17 SML-LX0603YW-TR YELLOW D2 USB ACTIVE 46 47 48 1 3 5 6 7 4 16 28 45 33pF 16 15 14 13 12 11 10 9 P1.7 P1.6 P1.5 P1.4 P1.3 P1.2 P1.1 P1.0 DVDD DVDD DVDD AVDD 18 17 22 24 23 28 C8 10uF C44 1uF 16 15 14 13 12 11 10 9 GREEN RED P3.3 P3.4 P3.5 C11 0.1uF C37 0.1uF 0.1uF 1 3 2 1 3 2 C36 IOVDD IOVDD 1 3 2 4 0.1uF 16 15 14 13 12 11 10 9 +3.3VD 6 4 IOVDD 5 10uF 10M IOVDD R38 TPS73201DBV IN OUT EN GND FB U14 2 U7 I2SDOUT LRCLK BCLK I2SDIN MCLK 6 4 5 0.1uF C38 2 IOVDD 1 2 3 4 5 6 7 8 2 4 6 8 10 12 8 7 6 5 4 3 2 1 GREEN R24 220 +3.3VD SML-LX0603GW-TR 4 0.1uF U16 D8 USB SPI 0.1uF C27 +3.3VD C39 IOVDD 1 3 2 0.1uF IOVDD C26 IOVDD SELECT SW3 TP6 1 3 5 7 9 11 75 R20 EXTERNAL AUDIO DATA J14 J10 EXT MCLK SN74LVC1G126DBV C41 0.1uF 4 JMP8 JPR-2X1 U15 +3.3VD SN74LVC1G06DBV IOVDD +3.3VD SN74AVC4T245PW 4 1.2V 9 1.4V 10 1.6V 11 1.8V 12 2.0V 13 2.5V 14 3.0V 15 3.3V 16 5 U4 VCCB VCCA OE1 DIR1 OE2 DIR2 1B1 1A1 1B2 1A2 2B1 2A1 2B2 2A2 GND GND 0.1uF SN74AVC1T45DBV C43 SN74AVC1T45DBV C25 1 VCCB VCCA B A DIR GND 0.1uF U10 2 1 SN74LVC1G125DBV C28 +3.3VD +3.3VD C42 VCCA VCCB A B GND DIR U13 C12 0.1uF +3.3VD P3.1-P3.2 C10 0.1uF P1.0 P1.1 P1.2 P1.3 SN74AVC1T45DBV D5 R4 10 C24 0.1uF D4 SML-LX0603GW-TR 31 30 29 27 26 25 24 23 8 21 33 2 0.1uF U5 0.1uF VCCB VCCA B A DIR GND C23 SN74AVC4T245PW VCCB VCCA OE1 DIR1 OE2 DIR2 1B1 1A1 1B2 1A2 2B1 2A1 2B2 2A2 GND GND 0.1uF U3 1 2 3 4 5 6 7 8 C22 IOVDD C35 6 4 IOVDD 5 U8 TAS1020BPFB +3.3VD 10uF C7 R19 220 +1.8VD C34 0.1uF +3.3VD USB I2S +3.3VD 5 3 C33 +3.3VD SN74AVC4T245PW VCCA VCCB DIR1 OE1 DIR2 OE2 1A1 1B1 1A2 1B2 2A1 2B1 2A2 2B2 GND GND MA-505 6.000M-C0 3.09K JMP7 JPR-1X3 1 2 3 44 43 42 41 40 39 37 38 36 35 34 32 SCL SDA VREN RESET MCLKO2 MCLKO1 CSCLK CDATO CDATI CSYNC CRESET CSCHNE MRESET TEST EXTEN RSTO P3.0 P3.1 P3.2/XINT P3.3 P3.4 P3.5 NC NC 9 10 11 12 13 14 15 17 18 19 20 22 5 3 0.1uF SML-LX0603IW-TR 2 1 5 IOVDD GND 1 Copyright © 2008–2012, Texas Instruments Incorporated 3 0.1uF U12 1 3 5 7 9 11 2 4 6 8 10 12 RESET SCLK SS MOSI MISO INT EXTERNAL SPI J15 PWR_DWN R26 52.3k R37 46.4k R35 39.2k 30.1k R18 30.9k R36 36.5k R34 48.7k R32 R33 32.4k 56.2k R31 R30 76.8k R28 137k RA1 10K 16 15 14 13 12 11 10 9 4 0.1uF C40 IOVDD USB RST A0 A1 A2 USB I2S USB MCK USB SPI USB RST EXT MCK IOVDD 28k R29 25.5k R27 22.1k R25 +3.3VD SW2 1 2 3 4 5 6 7 8 S003 SN74AUP1G125DBV 2 U17 SW DIP-8 1 USB-MODEVM Schematic 5 36 3 IOVDD C32 Appendix E www.ti.com Appendix E USB-MODEVM Schematic The schematic diagram for USB-MODEVM interface board is provided as a reference. Figure 26. USB-MODEVM Schematic (Sheet 1 of 2) SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback GREEN J2 +5VA 10uF C2 +5VD GREEN R22 390 TP2 2 D7 SML-LX0603GW-TR J1 -5VA 10uF C1 JPR-2X1 JMP1 +5VA 1 D6 SML-LX0603GW-TR R21 390 TP1 -5VA +5VA A0(+) A1(+) A2(+) A3(+) A4 A5 A6 A7 REFREF+ 2 4 6 8 10 12 14 16 18 20 SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated A0(+) A1(+) A2(+) A3(+) A4 A5 A6 A7 REFREF+ DAUGHTER-ANALOG A0(-) A1(-) A2(-) A3(-) AGND AGND AGND VCOM AGND AGND J16 J3 +5VD 10uF C3 2 4 6 8 10 12 14 16 18 20 +5VA TP5 +5VA +1.8VD J16A (TOP) = SAM_TSM-110-01-L-DV-P J16B (BOTTOM) = SAM_SSW-110-22-F-D-VS-K 1 3 5 7 9 11 13 15 17 19 TP3 +5VD J11A (TOP) = SAM_TSM-110-01-L-DV-P J11B (BOTTOM) = SAM_SSW-110-22-F-D-VS-K DAUGHTER-ANALOG A0(-) A1(-) A2(-) A3(-) AGND AGND AGND VCOM AGND AGND +VA +5VA DGND +1.8VD +3.3VD J13 -VA -5VA AGND VD1 +5VD +VA +5VA DGND +1.8VD +3.3VD J18 J4 +1.8VD -VA -5VA AGND VD1 +5VD 10uF C4 2 2 4 6 8 10 +5VD +5VD IOVDD -5VA J5 +3.3VD 10uF C5 IOVDD -5VA +3.3VD TP4 2 4 6 8 10 J18A (TOP) = SAM_TSM-105-01-L-DV-P J18B (BOTTOM) = SAM_SSW-105-22-F-D-VS-K DAUGHTER-POWER +3.3VD 1 3 5 7 9 +1.8VD 1 JMP2 DAUGHTER-POWER TP7 TP8 AGND DGND 1 3 5 7 9 J13A (TOP) = SAM_TSM-105-01-L-DV-P J13B (BOTTOM) = SAM_SSW-105-22-F-D-VS-K GPIO0 DGND GPIO1 GPIO2 DGND GPIO3 GPIO4 SCL DGND SDA DAUGHTER-SERIAL CNTL CLKX CLKR FSX FSR DX DR INT TOUT GPIO5 J12 2 4 6 8 10 12 14 16 18 20 GPIO0 DGND GPIO1 GPIO2 DGND GPIO3 GPIO4 SCL DGND SDA DAUGHTER-SERIAL CNTL CLKX CLKR FSX FSR DX DR INT TOUT GPIO5 2 4 6 8 10 12 14 16 18 20 JMP5 1 2 3 2.7K R2 2.7K R1 JMP4 J17A (TOP) = SAM_TSM-110-01-L-DV-P J17B (BOTTOM) = SAM_SSW-110-22-F-D-VS-K 1 3 5 7 9 11 13 15 17 19 J17 JMP3 IOVDD J12A (TOP) = SAM_TSM-110-01-L-DV-P J12B (BOTTOM) = SAM_SSW-110-22-F-D-VS-K 1 3 5 7 9 11 13 15 17 19 2 1 J11 2 1 1 3 5 7 9 11 13 15 17 19 BCLK LRCLK I2SDIN I2SDOUT MCLK SDA SCL MOSI MISO PWR_DWN RESET SS SCLK INT IOVDD IOVDD RA2 10k IOVDD 1 2 3 4 5 6 7 8 9 10 11 12 GATE B1 B2 B3 B4 B5 B6 B7 B8 B9 B10 B11 SN74TVC3010PW GND A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 U6 24 23 22 21 20 19 18 17 16 15 14 13 200k R6 C29 +3.3VD 0.1uF 200k R8 200k R7 +3.3VD S004 P3.1-P3.2 P1.3 P1.2 P1.1 P1.0 P3.5 P3.4 P3.3 www.ti.com Appendix E Figure 27. USB-MODEVM Schematic (Sheet 2 of 2) USB-MODEVM Schematic 37 www.ti.com Appendix F USB-MODEVM Bill of Materials The complete bill of materials for USB-MODEVM interface board is provided as a reference. Table 9. USB-MODEVM Bill of Materials Designator Description Manufacturer Mfg. Part Number R4 10Ω 1/10W 5% Chip Resistor Panasonic ERJ-3GEYJ1300V R10, R11 27.4Ω 1/16W 1% Chip Resistor Panasonic ERJ-3EKF27R4V R20 75Ω 1/4W 1% Chip Resistor Panasonic ERJ-14NF75R0U R19 220Ω 1/10W 5% Chip Resistor Panasonic ERJ-3GEYJ221V R14, R21, R22 390Ω 1/10W 5% Chip Resistor Panasonic ERJ-3GEYJ391V R13 649Ω 1/16W 1% Chip Resistor Panasonic ERJ-3EKF6490V R9 1.5KΩ 1/10W 5% Chip Resistor Panasonic ERJ-3GEYJ1352V R1–R3, R5–R8 2.7KΩ 1/10W 5% Chip Resistor Panasonic ERJ-3GEYJ272V R12 3.09KΩ 1/16W 1% Chip Resistor Panasonic ERJ-3EKF3091V R15, R16 10KΩ 1/10W 5% Chip Resistor Panasonic ERJ-3GEYJ1303V R17, R18 100kΩ 1/10W 5%Chip Resistor Panasonic ERJ-3GEYJ1304V RA1 10KΩ 1/8W Octal Isolated Resistor Array CTS Corporation 742C163103JTR C18, C19 33pF 50V Ceramic Chip Capacitor, ±5%, NPO TDK C1608C0G1H330J C13, C14 47pF 50V Ceramic Chip Capacitor, ±5%, NPO TDK C1608C0G1H470J C20 100pF 50V Ceramic Chip Capacitor, ±5%, NPO TDK C1608C0G1H101J C21 1000pF 50V Ceramic Chip Capacitor, ±5%, NPO TDK C1608C0G1H102J C15 0.1μF 16V Ceramic Chip Capacitor, ±10%, X7R TDK C1608X7R1C104K C16, C17 0.33μF 16V Ceramic Chip Capacitor, ±20%, Y5V TDK C1608X5R1C334K C9–C12, C22–C28 1μF 6.3V Ceramic Chip Capacitor, ±10%, X5R TDK C1608X5R0J1305K C1–C8 10μ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 Diode Lumex SML-LX0603GW-TR D5 Red Light Emitting Diode Lumex SML-LX0603IW-TR Q1, Q2 N-Channel MOSFET Zetex ZXMN6A07F X1 6MHz Crystal SMD Epson MA-505 6.000M-C0 U8 USB Streaming Controller Texas Instruments TAS1020BPFB U2 5V LDO Regulator Texas Instruments REG1117-5 U9 3.3V/1.8V Dual Output LDO Regulator Texas Instruments TPS767D318PWP U3, U4 Quad, 3-State Buffers Texas Instruments SN74LVC125APW U5–U7 Single IC Buffer Driver with Open Drain o/p Texas Instruments SN74LVC1G07DBVR U10 Single 3-State Buffer Texas Instruments SN74LVC1G125DBVR U1 64K 2-Wire Serial EEPROM I2C Microchip 24LC64I/SN USB-MODEVM PCB Texas Instruments 6463995 TP1–TP6, TP9–TP11 Miniature test point terminal Keystone Electronics 5000 TP7, TP8 Multipurpose test point terminal Keystone Electronics 5011 J7 USB Type B Slave Connector Thru-Hole Mill-Max 897-30-004-90-000000 J13, J2–J5, J8 2-position terminal block On Shore Technology ED555/2DS J9 2.5mm power connector CUI Stack PJ-102B J130 BNC connector, female, PC mount AMP/Tyco 414305-1 J131A, J132A, J21A, J22A 20-pin SMT plug Samtec TSM-110-01-L-DV-P J131B, J132B, J21B, J22B 20-pin SMT socket Samtec SSW-110-22-F-D-VS-K J133A, J23A 10-pin SMT plug Samtec TSM-105-01-L-DV-P J133B, J23B 10-pin SMT socket Samtec SSW-105-22-F-D-VS-K J6 4-pin double row header (2x2) 0.1" Samtec TSW-102-07-L-D J134, J135 12-pin double row header (2x6) 0.1" Samtec TSW-106-07-L-D JMP1–JMP4 2-position jumper, 0.1" spacing Samtec TSW-102-07-L-S 38 USB-MODEVM Bill of Materials SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated Appendix F www.ti.com Table 9. USB-MODEVM Bill of Materials (continued) Designator Description Manufacturer Mfg. Part Number JMP8–JMP14 2-position jumper, 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 switch C&K Division, ITT TDA02H0SK1 SW2 SMT, half-pitch 8-position switch C&K Division, ITT TDA08H0SK1 Jumper plug Samtec SNT-100-BK-T SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated USB-MODEVM Bill of Materials 39 www.ti.com Appendix G USB-MODEVM Protocol G.1 USB-MODEVM Protocol The USB-MODEVM is defined to be a Vendor-Specific class and is identified on the PC system as an NIVISA device. Because the TAS1020B 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 is passed from the PC to the TAS1020B using the control endpoint. Data is sent in a HIDSETREPORT (see Table 10). Table 10. USB Control Endpoint HIDSETREPORT Request Variable 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 in Table 11. The data packet consists of the following bytes, shown in Table 11: Table 11. Data Packet Configuration BYTE NUMBER 0 TYPE DESCRIPTION Interface Specifies serial interface and operation. The two values are logically ORed. Operation: READ WRITE 0x00 0x10 GPIO SPI_16 I2C_FAST I2C_STD SPI_8 0x08 0x04 0x02 0x01 0x00 Interface: 1 I2C slave address Slave address of I2C device or MSB of 16-bit register address for SPI 2 Length Length of data to write/read (number of bytes) 3 Register address Address of register for I2C or 8-bit SPI; LSB of 16-bit address for SPI Data Up to 60 data bytes could be written at a time. EP0 maximum length is 64. The return packet is limited to 42 bytes, so advise only sending 32 bytes at any one time. 4..64 Example usage: Write two bytes (AA, 55) to device starting at register 5 of an I2C device with address A0: [0]0x11 [1]0xA0 [2]0x02 [3]0x05 [4]0xAA [5]0x55 40 USB-MODEVM Protocol SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated USB-MODEVM Protocol www.ti.com Do the same with a fast mode I2C device: [0]0x12 [1]0xA0 [2]0x02 [3]0x05 [4]0xAA [5]0x55 Now with an SPI device which uses an 8-bit register address: [0]0x10 [1]0xA0 [2]0x02 [3]0x05 [4]0xAA [5]0x55 Now, do a 16-bit register address, as found on parts like the TSC2101. Assume the register address (command word) is 0x10E0: [0]0x14 [1]0x10→ Note: the I2C address now serves as the MSB of the register address. [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] [2] [3] [4..60] for I2C interfaces, the I2C address as sent for SPI interfaces, the read back-data from SPI line for transmission of the corresponding byte length as sent for I2C interfaces, the register address as sent for SPI interfaces, the read-back data from SPI line for transmission of the corresponding byte echo of data packet sent SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated USB-MODEVM Protocol 41 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 previously 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 42 USB-MODEVM Protocol SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated GPIO Capability www.ti.com The return packet is: [0]0x21 [1]0xA0 [2]0x02 [3]0x05 [4]0xAA [5]0x55 assuming that the values written starting at Register 5 were actually written to the device. G.2 GPIO Capability The USB-MODEVM has seven GPIO lines. Access them by specifying the interface to be 0x08, and then using the standard format for packets—but addresses are unnecessary. The GPIO lines are mapped into one byte (see Table 12): Table 12. GPIO Pin Assignments Bit 7 6 5 4 3 2 1 0 x P3.5 P3.4 P3.3 P1.3 P1.2 P1.1 P1.0 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 can also read back from the GPIO to see the state of the pins. Assume the previous example was just written to the port pins. Example: read the GPIO [0]0x08 → read, GPIO [1]0x00→ this value is ignored [2]0x01→ length - ALWAYS a 1 [3]0x00→ this value is ignored The return packet is: [0]0x28 [1]0x00 [2]0x01 [3]0x00 [4]0x40 G.3 Writing Scripts A script is simply a text file that contains data to send to the serial control buses. Each line in a script file is one command. No provision is made for extending lines beyond one line, except for the > command. A line is terminated by a carriage return. The first character of a line is the command. Commands are: I Set interface bus to use r Read from the serial control bus w Write to the serial control bus > Extend repeated write commands to lines below a w # Comment b Break d Delay f Wait for Flag SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated USB-MODEVM Protocol 43 Writing Scripts www.ti.com The first command, I, sets the interface to use for the commands to follow. This command must be followed by one of the following parameters: i2cstd i2cfast spi8 spi16 gpio Standard mode I2C bus Fast mode I2C bus SPI bus with 8-bit register addressing SPI bus with 16-bit register addressing Use the USB-MODEVM GPIO capability For example, if a fast mode I2C bus is to be used, the script begins with: I i2cfast A double quoted string of characters following the b command can be added to provide information to the user about each breakpoint. When the script is executed, the software's command handler halts as soon as a breakpoint is detected and displays the string of characters within the double quotes. The Wait for Flag command, f, reads a specified register and verifies if the bitmap provided with the command matches the data being read. If the data does not match, the command handler retries for up to 200 times. This feature is useful when switching buffers in parts that support the adaptive filtering mode. The command f syntax follows: f [i2c address] [register] [D7][D6][D5][D4][D3][D2][D1][D0] where 'i2c address' and 'register' are in hexadecimal format and 'D7' through 'D0' are in binary format with values of 0, 1 or X for don't care. Anything following a comment command # is ignored by the parser, provided that it is on the same line. The delay command d allows the user to specify a time, in milliseconds, that the script pauses before proceeding. The delay time is entered in decimal format. A series of byte values follows either a read or write command. Each byte value is expressed in hexadecimal, and each byte must be separated by a space. Commands are interpreted and sent to the TAS1020B by the program using the protocol described in Section G.1. The first byte following an r (read) or w (write) command is the I2C slave address of the device (if I2C is used) or the first data byte to write (if SPI is used—note that SPI interfaces are not standardized on protocols, so the meaning of this byte varies with the device being addressed on the SPI bus). The second byte is the starting register address that data will be written to (again, with I2C; SPI varies—see Section G.1 for additional information about what variations may be necessary for a particular SPI mode). Following these two bytes are data, if writing; if reading, the third byte value is the number of bytes to read, (expressed in hexadecimal). For example, to write the values 0xAA 0x55 to an I2C device with a slave address of 0x30, starting at a register address of 0x03, the user writes: #example script I i2cfast w 30 03 AA 55 r 30 03 02 This script begins with a comment, specifies that a fast I2C bus will be used, then writes 0xAA 0x55 to the I2C slave device at address 0x30, writing the values into registers 0x03 and 0x04. The script then reads back two bytes from the same device starting at register address 0x03. Note that the slave device value does not change. It is unnecessary to set the R/W bit for I2C devices in the script; the read or write commands does that. If extensive repeated write commands are sent and commenting is desired for a group of bytes, the > command can be used to extend the bytes to other lines that follow. A usage example for the > command follows: #example script for '>' command I i2cfast # Write AA and BB to registers 3 and 4, respectively w 30 03 AA BB # Write CC, DD, EE and FF to registers 5, 6, 7 and 8, respectively > CC DD EE FF # Place a commented breakpoint b "AA BB CC DD EE FF was written, starting at register 3" # Read back all six registers, starting at register 3 r 30 03 06 The following example demonstrates usage of the Wait for Flag command, f: #example script for 'wait for flag' command I i2cfast # Switch to Page 44 w 30 00 2C # Switch buffers w 30 01 05 # Wait for bit D0 to clear. 'x' denotes a don't care. f 30 01 xxxxxxx0 44 USB-MODEVM Protocol SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated Writing Scripts www.ti.com 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 written, it can be used in the command window by running the program, and then selecting Open Script File... from the File menu. Locate the script and open it. The script is then displayed in the command buffer. The user can also edit the script once it is in the buffer and save it by selecting Save Script File... from the File menu. Once the script is in the command buffer, it can be executed by pressing the Execute Command Buffer button. If there are breakpoints in the script, the script executes to that point, and the user is presented with a dialog box with a button to press to continue executing the script. When ready to proceed, push that button and the script continues. SLAU267A – December 2008 – Revised October 2012 Submit Documentation Feedback Copyright © 2008–2012, Texas Instruments Incorporated USB-MODEVM Protocol 45 EVALUATION BOARD/KIT IMPORTANT NOTICE Texas Instruments (TI) provides the enclosed product(s) under the following conditions: This evaluation board/kit is intended for use for ENGINEERING DEVELOPMENT, DEMONSTRATION, OR EVALUATION PURPOSES ONLY and is not considered by TI to be a finished end-product fit for general consumer use. Persons handling the product(s) must have electronics training and observe good engineering practice standards. As such, the goods being provided are not intended to be complete in terms of required design-, marketing-, and/or manufacturing-related protective considerations, including product safety and environmental measures typically found in end products that incorporate such semiconductor components or circuit boards. This evaluation board/kit does not fall within the scope of the European Union directives regarding electromagnetic compatibility, restricted substances (RoHS), recycling (WEEE), FCC, CE or UL, and therefore may not meet the technical requirements of these directives or other related directives. Should this evaluation board/kit not meet the specifications indicated in the User’s Guide, the board/kit may be returned within 30 days from the date of delivery for a full refund. THE FOREGOING WARRANTY IS THE EXCLUSIVE WARRANTY MADE BY SELLER TO BUYER AND IS IN LIEU OF ALL OTHER WARRANTIES, EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE. The user assumes all responsibility and liability for proper and safe handling of the goods. Further, the user indemnifies TI from all claims arising from the handling or use of the goods. Due to the open construction of the product, it is the user’s responsibility to take any and all appropriate precautions with regard to electrostatic discharge. EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE, NEITHER PARTY SHALL BE LIABLE TO THE OTHER FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES. TI currently deals with a variety of customers for products, and therefore our arrangement with the user is not exclusive. TI assumes no liability for applications assistance, customer product design, software performance, or infringement of patents or services described herein. Please read the User’s Guide and, specifically, the Warnings and Restrictions notice in the User’s Guide prior to handling the product. 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 engineer or visit www.ti.com/esh. No license is granted under any patent right or other intellectual property right of TI covering or relating to any machine, process, or combination in which such TI products or services might be or are used. FCC Warning This evaluation board/kit is intended for use for ENGINEERING DEVELOPMENT, DEMONSTRATION, OR EVALUATION PURPOSES ONLY and is not considered by TI to be a finished end-product fit for general consumer use. It generates, uses, and can radiate radio frequency energy and has not been tested for compliance with the limits of computing devices pursuant to part 15 of FCC rules, which are designed to provide reasonable protection against radio frequency interference. Operation of this equipment in other environments may cause interference with radio communications, in which case the user at his own expense will be required to take whatever measures may be required to correct this interference. EVM WARNINGS AND RESTRICTIONS It is important to operate the EVM daughterboard within the input voltage range specified in Table A-4 and the EVM motherboard within the input voltage range of 6 Vdc to 10 Vdc when using an external ac/dc power source. See the USB-MODEVM Interface Power section of this manual when using laboratory power supplies. Exceeding the specified input range may cause unexpected operation and/or irreversible damage to the EVM. If there are questions concerning the input range, please contact a TI field representative prior to connecting the input power. Applying loads outside of the specified output range may result in unintended operation and/or possible permanent damage to the EVM. Please consult the EVM User's Guide prior to connecting any load to the EVM output. If there is uncertainty as to the load specification, please contact a TI field representative. During normal operation, some circuit components may have case temperatures greater than 85°C. The EVM is designed to operate properly with certain components above 85°C as long as the input and output ranges are maintained. These components include but are not limited to linear regulators, switching transistors, pass transistors, and current sense resistors. These types of devices can be identified using the EVM schematic located in the EVM User's Guide. When placing measurement probes near these devices during operation, please be aware that these devices may be very warm to the touch. Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright © 2008, Texas Instruments Incorporated
TLV320ADC3101EVM-K 价格&库存

很抱歉,暂时无法提供与“TLV320ADC3101EVM-K”相匹配的价格&库存,您可以联系我们找货

免费人工找货