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.
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 ......................................................................................
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
ADC3101 Control Software www.ti.com Figure 12. Processing Blocks Panel 4.1.4.
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.
ADC3101 Control Software www.ti.com Figure 13.
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.
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.
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.
ADC3101 Control Software www.ti.com Figure 17.
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.
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.
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.
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.
www.ti.
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.
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
www.ti.com Appendix C TLV320ADC3101EVM Layout Views C.1 Layout Views K001 Figure 20. Top Layer K002 Figure 21.
Layout Views www.ti.com K003 Figure 22. Top Overlay K004 Figure 23.
Layout Views www.ti.com D001 Figure 24. Drill Drawing D001 K005 Figure 25.
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.
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.
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
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.
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.
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-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.
USB-MODEVM Protocol www.ti.
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.
Writing Scripts www.ti.com The first command, I, sets the interface to use for the commands to follow.
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.
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.