User's Guide SLAU280A – March 2009 – Revised October 2012 TLV320AIC36EVM-K This user's guide describes the characteristics, operation, and use of the TLV320AIC36EVM-K. This evaluation module (EVM) features a complete stereo audio codec with several inputs and outputs, extensive audio routing, mixing, and effects capabilities. A complete circuit description, schematic diagram, and bill of materials are also included.
www.ti.com 11 DAC Biquad Filter Tool ................................................................................................... 18 12 Automatic Gain Control Panel ........................................................................................... 20 13 Dynamic Range Compression Panel ................................................................................... 21 14 Headset Detection Circuit ......................................................................................
EVM Overview www.ti.com 1 EVM Overview 1.1 Features • • • • Full-featured evaluation board for the TLV320AIC36 stereo audio codec. USB connection to PC provides power, control, and streaming audio data for easy evaluation. Onboard microphone 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 TLV320AIC36EVM is a double-wide modular EVM, it is installed with connections to both EVM positions, which connects the TLV320AIC36 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 TLV320AIC36EVM, SW-2 positions 1, 3, 4, 5, 6, and 7 must be set to ON, whereas SW-2.2 and SW-2.8 must be set to OFF. If the TLV320AIC36EVM is to be used with an external audio interface, SW2.4 and SW2.5 also need to be set to OFF and such interface must be connected as explained in Section 2.4 Table 1.
EVM Description and Basics www.ti.com Table 2. List of Jumpers (continued) Jumper Default Position Jumper Description W14 1-2 Connects AVDD_ADC to AVDD2 or an external +1.8V supply (through J17.3). W15 Open Connects AVSS_REG to an external –2.5V supply (through J18.1). Do not connect if the charge pump is enabled. W16 1-2 Connects AVDD_DAC to AVDD1 or an external +1.8V supply (through J17.3). W17 1-2 Connects AVSS_DAC to AVSS1 or an external –1.8V supply (through J17.1).
TLV320AIC36EVM-K Setup and Installation www.ti.com 2.5.1 Stand-Alone Operation When used as a stand-alone EVM, power is applied to P3/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 TLV320AIC36 data sheet before applying power to the EVM. P3/J3 provides connection to the common power bus for the TLV320AIC36EVM. Power is supplied on the pins listed in Table 7.
TLV320AIC36EVM-K Setup and Installation 3.2 www.ti.com EVM Connections 1. Ensure that the TLV320AIC36EVM is installed on the USB-MODEVM Interface board, aligning J1, J2, J3, J4, and J5 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.
TLV320AIC36EVM-K Setup and Installation www.ti.com The TLV320AIC36EVM-K software can now be launched. The user sees an initial screen that looks similar to Figure 2. Figure 2.
TLV320AIC36EVM-K Setup and Installation www.ti.com If running the software in Windows Vista or Windows 7, right-click the AIC36EVM-K CS shortcut and select Properties. Configure the Compatibility tab as shown in Figure 3 Figure 3.
AIC36 Control Software www.ti.com 4 AIC36 Control Software The AIC36 Control Software (CS) is an intuitive, easy-to-use, powerful tool to learn, evaluate, and control the TLV320AIC36. This tool was specifically designed to make learning the TLV320AIC36 easy. The following sections describe the operation of this software. NOTE: For configuration of the codec, the TLV320AIC36 block diagram located in the TLV320AIC36 data sheet is a good reference to help determine the signal routing. 4.
AIC36 Control Software 4.1.1 www.ti.com Typical Configurations This category can help users to quickly become familiar with the TLV320AIC36. Each of the panels that can be accessed through this menu have controls relevant to the selected configuration; a tab shows the script that will be loaded for that particular configuration. Each script includes a brief description of the selected configuration, as shown in Figure 4. Figure 4. Playback Script Tab 4.1.1.
AIC36 Control Software www.ti.com Figure 5. Playback Panel 4.1.1.2 Recording The Recording panel (shown in Figure 7) has the following configurations: • Stereo ADC Recording - LINEIN_L and LINEIN_R are routed to the left ADC and right ADC, respectively, in a single ended fashion. • Differential On-Board Mic - The on-board microphone is routed to EXTMIC and to the left ADC. The jumper settings for this configuration are shown in Figure 6.
AIC36 Control Software www.ti.com INPUT TYPE MODE DIFFERENTIAL MONO CODEC INPUTS EXTMIC_P EXTMIC_M ONBOARD MIC JUMPERS W2 W3 IN IN INPUT CONFIG JUMPER SETTINGS W5 W6 W7 W8 IN IN IN 2-3 Figure 6. Differential Microphone Figure 7. Recording Panel 4.1.2 Features The Features category allows the user to evaluate various features of the TLV320AIC36.
AIC36 Control Software www.ti.com Figure 8. DRC Information Tab Any item in the Features category can be accessed by a double-click. As soon as a Features panel opens, a pop-up message appears asking to program the codec for that feature (see Figure 9). A command script is sent to the codec if the OK button is clicked. This script programs all registers necessary to evaluate the feature. This can be bypassed by clicking the Cancel button. Figure 9.
AIC36 Control Software 4.1.2.1 www.ti.
AIC36 Control Software www.ti.com Step 2: Specify the Sample Rate - This is a key design parameter input to the Biquad Tool. The default is 44.1kHz which is the sample rate used on the EVM. The tool will work with any sample rate from 8kHz to 96kHz, however, if a sample rate other than 44.1kHz is selected then the user must go the the clock panel to modify the PLL and/or clock settings so that the desired sample rate is setup properly when used with an external audio interface.
AIC36 Control Software www.ti.com Figure 11. DAC Biquad Filter Tool To test the filters with USB Audio, select a configuration from the 'Typical Configurations>Playback' panel. The 'Stereo DAC Playback' configuration is optimized for any 'Filter A' processing block. Alternatively, a custom script can be loaded into the Command-Line Interface panel before downloading coefficients. This tool assumes that Adaptive Filtering is enabled for real-time filtering.
AIC36 Control Software www.ti.com 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. Use the "Plot" Check-Box to select the filters to plot and/or download. 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.
AIC36 Control Software www.ti.com Figure 12. Automatic Gain Control Panel 4.1.2.4 Dynamic Range Compression Dynamic Range Compression (DRC) can be enabled by checking the Enable Left DRC and Enable Right DRC boxes. The level transfer characteristic graph is a function of the applied digital gain and the threshold parameter.
AIC36 Control Software www.ti.com Figure 13. Dynamic Range Compression Panel 4.1.2.5 Headset Detection Screw terminal J10 (EXT MIC IN) is provided to connect an external microphone, as well as unique push button combinations. As an example, the circuit shown below, connects a push button-resistor combination.
AIC36 Control Software www.ti.com J10 1 2 R1 R2 3 EXT MIC IN Figure 14. Headset Detection Circuit This circuit can be used in combination with the on-board differential microphone (MK1) by using the following jumper settings: Table 3.
AIC36 Control Software www.ti.com The DETECT SAR section in the image below shows a result of 19 as its Raw detect value. The WINDOW COMPARATOR section is configured for three windows separated by two threshold levels: window 0 (bits 0 to 13), window 1 (bits 14 to 27) and window 2 (bits 28 to 31). The detected window is "window 1" (raw detect value of 19) as shown in the PULSE DETECT sections. Figure 15.
AIC36 Control Software www.ti.com Figure 16. DC Measurement Panel 4.1.3 Control Categories The Digital Settings, Analog Settings, and Signal Processing categories provide control of many registers and other features of the TLV320AIC36 . These categories are intended for the advanced user. Hovering the mouse cursor on top of a control displays a tip strip that contains page, register, and bit information.
AIC36 Control Software www.ti.com Figure 17. Audio Inputs Panel All • • • 4.1.4 controls 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. EEPROM Writer The EEPROM Writer allows the user to upgrade the firmware used by the TAS1020B USB Controller.
AIC36 Control Software 4.2 www.ti.com Status Flags Panel The TLV320AIC36 status flags can monitored in the Status Flags panel (Figure 19) which is located below the Panel Selection Tree . Pressing the POLL 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 chang ing the value in the Polling Interval numeric control.
AIC36 Control Software www.ti.com Figure 20. Register Tables Panel 4.4 Command-Line Interface Panel The Command-Line Interface panel provides a means to communicate with the TLV320AIC36 using a simple scripting language (described in Section G.1). The TAS1020B USB Controller (located on the USBMODEVM motherboard) handles all communication between the PC and the TLV320AIC36.
AIC36 Control Software www.ti.com Figure 21.
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 TLV320AIC36EVM 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 4. Analog Interface Pinout (continued) A.1.2 PIN NUMBER SIGNAL DESCRIPTION J2.20 NC Not Connected Analog Screw Terminal and Audio Jack Details, J6 to J18 The analog inputs and outputs can be accessed through screw terminals or audio jacks. Also, provision is made to connect power supply sources to screw terminals. Table 5 summarizes the screw terminals and audio jacks available on the TLV320AIC36EVM. Table 5.
Digital Interface Connectors, P4/J4 and P5/J5 www.ti.com A.2 Digital Interface Connectors, P4/J4 and P5/J5 The TLV320AIC36EVM is designed to easily 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 P4/J4 and P5/J5. These headers/sockets provide access to the digital control and serial data pins of the device. Consult Samtec at www.samtec.
Power Supply Connector Pin Header, P3/J3 www.ti.com Note that P5/J5 comprises the signals needed for an I2S™ serial digital audio interface and the control interface ( I2C™). A.3 Power Supply Connector Pin Header, P3/J3 P3/J3 provides connection to the common power bus for the TLV320AIC36EVM. Power is supplied on the pins listed in Table 7. Table 7. Power Supply Pin Out SIGNAL PIN NUMBER SIGNAL NC P3.1/J3. 1 P3.2/J3.2 NC +5VA P3.3/J3. 3 P3.4/J3.4 NC DGND P3.5/J3. 5 P3.6/J3.6 AGND +1.8VD P3.
www.ti.com Appendix B TLV320AIC36EVM Schematic The schematic diagram for the TLV320AIC36EVM is provided as a reference.
1 2 3 4 5 6 REVISION HISTORY REV AIC36_DIGITAL AIC36_DIGITAL AIC36_ANALOG AIC36_ANALOG RESET GPIO1 GPIO2 D AIC36_Power AIC36_Power DOUT DIN WCLK BCLK MCLK APPROVED Daughtercard_Interface Daughtercard_Interface HPLOUT HPROUT HPCOM LINEIN_L LINEIN_R MIC1_P MIC1_M EXTMIC_P EXTMIC_M MICDET MICBIAS SDA SCL ENGINEERING CHANGE NUMBER RESET GPIO1 GPIO2 D SDA SCL HPLOUT HPCOM HPROUT MICBIAS MICDET LINEIN_R LINEIN_L MIC1_P MIC1_M EXTMIC_P EXTMIC_M DOUT DIN WCLK BCLK MCLK C C TYPICAL INPUT CONFI
1 2 3 4 5 6 REVISION HISTORY REV J6 2 4 5 3 1 APPROVED U1A TLV320AIC36 - ANALOG SJ1-3515-SMT TP1 LINEIN_R J7 D ENGINEERING CHANGE NUMBER C1 1 RIGHT 0.1uF C2 2 0.1uF LINEIN_R G7 LINEIN_L G6 D LINEIN_R HPL TP2 LINEIN_L 3 TP13 HPL LINEIN_L HPL F9 LEFT 2 4 5 3 1 TP14 HPR TP3 MIC1P PLUS HPR MIC1P 0.1uF C4 2 J6 MIC1M 0.
1 2 3 4 5 6 REVISION HISTORY REV ENGINEERING CHANGE NUMBER APPROVED U1B TLV320AIC36 - POWER AVDD_CP +2.5 Typical A1 B2 D AVDD_CP AVDD_REG AVDD_CP AVDD_REG C8: Non-electorlytic, Low ESR. Place as close to the pins as possible. Route with low impedance trace. C21 1uF AVSS_REG AVSS_REG H1 AVDD_REG +2.5V Typical G3 C27 1uF E1 C28 1uF E3 -2.5V Typical G1 +1.8V High Current D C15: Non-electorlytic, Low ESR. Place as close to the pins as possible. Route with low impedance trace.
1 2 3 4 5 6 REVISION HISTORY REV ENGINEERING CHANGE NUMBER APPROVED U1C TLV320AIC36 - DIGITAL IOVDD D W20 I2C_ADR0 W21 1 2 3 D I2C_ADDR0 G4 F5 1 2 3 I2C_ADDR0 I2C_ADDR1 IOVDD W24 I2C_ADDR1 IOVDD I2C_ADR1 IOVDD A2 1 2 TP47 IOVDD J4 C37 0.1uF C38 10uF TP36 SDA SDA SCL IOVDD SDA G5 SCL H4 SDA R17 10K S2 /RESET DVDD SCL TP37 SCL DVDD DVDD TP38 RESET /RESET E5 W25 1 B5 2 TP48 DVDD H5 C39 0.1uF C40 10uF RESETB /RESET C36 0.
1 2 3 4 5 6 REVISION HISTORY REV ENGINEERING CHANGE NUMBER APPROVED D D GPIO1 J1 1 3 5 7 9 11 13 15 17 19 A0(-) A1(-) A2(-) A3(-) AGND AGND AGND VCOM AGND AGND GPIO2 J4/P4 A0(+) A1(+) A2(+) A3(+) A4 A5 A6 A7 REFREF+ 2 4 6 8 10 12 14 16 18 20 1 3 5 7 9 11 13 15 17 19 DAUGHTER-ANALOG CNTL CLKX CLKR FSX FSR DX DR INT TOUT GPIO5 GPIO0 DGND GPIO1 GPIO2 DGND GPIO3 GPIO4 SCL DGND SDA 2 4 6 8 10 12 14 16 18 20 W30 1 2 /RESET RESET DAUGHTER-SERIAL J4 (BOTTOM) = SAMTEC p/n:SSW-110-22-F-D-VS-K
www.ti.com Appendix C TLV320AIC36EVM Layout Views C.1 Layout Views Figure 22. Top Layer Figure 23.
Layout Views www.ti.com Figure 24. Mid-Layer 2 Figure 25.
Layout Views www.ti.com Figure 26. Top Overlay Figure 27.
Layout Views www.ti.com Figure 28. Drill Drawing Figure 29.
www.ti.com Appendix D TLV320AIC36EVM Bill of Materials The complete bill of materials for the TLV320AIC36EVM is provided as a reference. Table 8. TLV320AIC36EVM Bill of Materials PCB Qty Value Ref Des Description Vendor 1 N/A TLV320AIC36_ZQE_EVM_RevA (PWB) Texas Instrument s Part number Qty Value Ref Des Description Vendor 3 0 R1, R15, R16 RES ZERO OHM 1/10W 5% 0603 SMD Panasonic ERJ-3GEY0R00V 1 32.4 R7 RES 32.
Appendix D www.ti.com Table 8. TLV320AIC36EVM Bill of Materials (continued) 2 S1, S2 SWITCH LT TOUCH 6X3.5 240GF SMD Panasonic EVQ-5PN04K 3 J6, J11, J12 3.5mm Audio Jack, T-R-S, SMD CUI Inc.
www.ti.com Appendix E USB-MODEVM Schematic The schematic diagram for USB-MODEVM Interface Board is provided as a reference.
1 2 3 4 6 5 REVISION HISTORY REV ENGINEERING CHANGE NUMBER APPROVED D D USB Interface USB Interface Daughtercard Interface Daughtercard Interface MCLK BCLK LRCLK I2SDIN I2SDOUT MISO MOSI SS SCLK RESET INT PWR_DWN P3.3 P3.4 P3.5 P1.0 SDA SCL P1.1 P1.2 P1.3 C MCLK BCLK LRCLK I2SDIN I2SDOUT MISO MOSI SS SCLK RESET INT PWR_DWN P3.3 P3.4 P3.5 P1.0 SDA SCL P1.1 P1.2 P1.3 C B B ti A DATA ACQUISITION PRODUCTS HIGH-PERFORMANCE ANALOG DIVISION SEMICONDUCTOR GROUP 6730 SOUTH TUCSON BLVD.
1 2 3 4 6 5 REVISION HISTORY REV ENGINEERING CHANGE NUMBER APPROVED D 1 2 3 D J11 J12 A0(-) A1(-) A2(-) A3(-) AGND AGND AGND VCOM AGND AGND 2 4 6 8 10 12 14 16 18 20 A0(+) A1(+) A2(+) A3(+) A4 A5 A6 A7 REFREF+ 1 3 5 7 9 11 13 15 17 19 +5VA DAUGHTER-ANALOG 1 3 5 7 9 +5VD JMP1 1 -VA -5VA AGND VD1 +5VD SCLK TP1 TP2 J12A (TOP) = SAM_TSM-110-01-L-DV-P J12B (BOTTOM) = SAM_SSW-110-22-F-D-VSIOVDD +5VD RESET IOVDD IOVDD C3 TP3 PWR_DWN 2 JMP3 R21 390 2.
1 2 3 4 6 5 REVISION HISTORY REV C33 +3.3VD +3.3VD APPROVED C41 0.1uF 5 1 IOVDD C32 ENGINEERING CHANGE NUMBER SDA C31 U11 VREF1 J6 1 3 SDA1 SCL1 GND EXTERNAL I2C 0.1uF 0.1uF USB I2S SN74AVC4T245PW PCA9306DCT +3.3VD 5 VCCB VCCA OE1 DIR1 OE2 DIR2 1B1 1A1 1B2 1A2 2B1 2A1 2B2 2A2 GND GND 0.1uF SCL C19 C C20 J7 USB SLAVE CONN 46 47 48 1 3 5 6 7 4 16 28 45 100pF GND D+ DVCC 4 3 2 1 C21 R9 1.5K R12 3.09K .001uF R10 27.
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 Designators 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) Designators 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 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.
Writing Scripts www.ti.com 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.
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.
IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete.