User's Guide SLAU201 – November 2006 TLV320DAC32EVM and TLV320DAC32EVM-PDK This user's guide describes the characteristics, operation, and use of the TLV320DAC32EVM, both by itself and as part of the TLV320DAC32EVM-PDK. This evaluation module (EVM) is a complete stereo audio DAC with digital audio inputs, two line inputs and analog outputs, extensive audio routing, mixing and effects capabilities. A complete circuit description, schematic diagram and bill of materials are also included.
www.ti.com EVM Overview 11 12 13 14 15 16 17 User Filters .................................................................................................................. 3D Effect Settings .......................................................................................................... Output Stage Configuration Tab ......................................................................................... High Power Output ........................................................................
www.ti.com Analog Interface 2 Analog Interface For maximum flexibility, the TLV320DAC32EVM is designed for easy interfacing to the input and outputs analog signals. 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 J1. These headers/sockets provide access to the analog input and output pins of the device. Consult Samtec at www.samtec.com or call 1-800-SAMTEC-9 for a variety of mating connector options.
www.ti.com Digital Interface 3 Digital Interface The TLV320DAC32EVM 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.
www.ti.com Power Supplies 2 Note that J5 comprises the signals needed for an I S™ serial digital audio interface; the control interface (I2C™ and RESET) signals are routed to J4. I2C is actually routed to both connectors; however, the device is connected only to J4. 4 Power Supplies J3 provides connection to the common power bus for the TLV320DAC32EVM. Power is supplied on the pins listed in Table 4. Table 4. Power Supply Pin Out SIGNAL PIN NUMBER SIGNAL NC J3.1 J3.2 NC +5VA J3.3 J3.4 NC DGND J3.
www.ti.com EVM Operation 5 EVM Operation This section provides information on the analog input and output, digital control, and general operating conditions of the TLV320DAC32EVM. 5.1 Analog Input The analog input sources can be applied directly to J1 (top or bottom side) or through signal conditioning modules available for the modular EVM system. The analog inputs may also be accessed through J8 and and screw terminal, J6. 5.
www.ti.com Kit Operation 6 Kit Operation The following section provides information on using the TLV320DAC32EVM-PDK, including set up, program installation, and program usage. 6.1 TLV320DAC32EVM-PDK Block Diagram change A block diagram of the TLV320DAC32EVM-PDK is shown in Figure 1. The evaluation kit consists of two circuit boards connected together. The motherboard is designated as the USB-MODEVM Interface board, while the daughtercard is the TLV320DAC32EVM described previously in this manual.
www.ti.com Kit Operation Table 6.
www.ti.com Kit Operation The software should automatically find the TLV320DAC32EVM, and a screen similar to the one in Figure 2 should appear. Figure 2. Digital Audio Data/DAC Tab 6.3 USB-MODEVM Interface Board The diagram shown in Figure 1 displays only the basic features of the USB-MODEVM Interface board. The board is built around a TAS1020B streaming audio USB controller with an 8051-based core.
www.ti.com Kit Operation 6.4.1 Interface Indicator At the top left of the screen is an Interface indicator. The TLV320DAC32 has an I2C interface. The indicator is lit after the program begins. 6.4.2 Firmware Information To the right of the Interface indicator is a group box called Firmware. This box indicates where the firmware being used is operating from — in this release, the firmware is on the USB-MODEVM, so USB-MODEVM should be visible in the box labeled Located On:.
www.ti.com Kit Operation Data going to the DACs is selected using the drop-down boxes under the Left and Right Datapath. Each DAC channel can be selected to be off, use left channel data, use right channel data, or use a mono mix of the left and right data. Analog audio coming from the DACs is routed to outputs using the Output Path controls in each DAC control panel.
www.ti.com Kit Operation Figure 3. Clocks Tab The codec clock source is chosen by the DAC_CLK Source control. When this control is set to CLKDIV_OUT, the PLL is not used; when set to PLLDIV_OUT, the PLL is used to generate the clocks. 6.6.1 Use Without PLL Setting up the TLV320DAC32 for clocking without using the PLL is straightforward. The CLKDIV_IN source can be selected as either MCLK or BCLK, the default is MCLK. The CLKDIV_IN frequency is then entered into the CLKDIV_IN box, in megahertz (MHz).
www.ti.com Kit Operation To use the PC software to find the ideal values of P, K, and R for a given PLL input frequency and desired Fsref, the Fsref must be set using the switch on this tab; it can be set to either 44.1kHz or 48kHz. Once the Fsref and PLLCLK_IN values are correctly set, pushing the Search for Ideal Settings button starts the software searching for ideal combinations of P, K, and R which achieve the desired Fsref.
www.ti.com Kit Operation The right-hand side of this tab shows a display that plots the magnitude and phase response of each biquad section, plus the combined responses of the two biquad sections. The coefficients used for the plotted responses are shown below the graph for both Biquad 1 and Biquad 2. Note that the plot shows only the responses of the effect filters, not the combined response of those filter along with the de-emphasis filters. 6.7.
www.ti.com Kit Operation To use these filters, enter the gain desired and the corner frequency. Choose the mode to use (Bass or Treble); the response will be plotted on the Effect Filter Response graph. 6.7.3 EQ Filters EQ, or parametric, filters can be designed on this tab (see Figure 7). Enter a gain, bandwidth, and a center frequency (Fc). Either bandpass (positive gain) or band-reject (negative gain) filters can be created Figure 7.
www.ti.com Kit Operation 6.7.4 Analog Simulation Filters Biquads are quite good at simulating analog filter designs. For each biquad section on this tab, enter the desired analog filter type to simulate (Butterworth, Chebyshev, Inverse Chebyshev, Elliptic or Bessel). Parameter entry boxes appropriate to the filter type will be shown (ripple, for example, with Chebyshev filters, etc.). Enter the desired design parameters and the response will be shown (see Figure 8.) Figure 8.
www.ti.com Kit Operation 6.7.5 Preset Filters Many applications are designed to provide preset filters common for certain types of program material. This tab (Figure 9) allows selection of one of four preset filter responses - Rock, Jazz, Classical, or Pop. Figure 9.
www.ti.com Kit Operation 6.7.6 De-emphasis Filters The de-emphasis filters used in the TLV320DAC32 can be programmed as described in the TLV320DAC32 data sheet, using this tab (Figure 10). Enter the coefficients for the de-emphasis filter response desired. While on this tab, the de-emphasis response will be shown on the Effect Filter Response graph; however, note that this response is not included in graphs of other effect responses when on the other filter design tabs. Figure 10.
www.ti.com Kit Operation 6.7.7 User Filters If filter coefficients are known, they can be entered directly on this tab (Figure 11) for both biquads for both left and right channels. The filter response will not be shown on the Effect Filter Response graph for user filters. Figure 11. User Filters 6.7.8 3D Effect The 3D effect is described in the TLV320DAC32 data sheet. It uses the two biquad sections differently than most other effect filter settings.
www.ti.com Kit Operation 6.8 Output Stage Configuration Tab The Output Stage Configuration tab (Figure 13) allows for setting several features of the output drivers. The Configuration may be set as either Fully-Differential or Pseudo-Differential. The output coupling can be chosen as either capless or AC-coupled. This setting should correspond to the setting of the hardware switch (SW1) on the TLV320DAC32EVM. Figure 13.
www.ti.com Kit Operation 6.9 High Power Outputs Tab This tab contains four groupings of controls, one for each of the high power outputs. Each output has a mixer to mix the LINE2L, LINE2R, DAC_L and DAC_R signals, assuming that the DACs are not routed directly to the high power outputs (see Section 6.5.1). Figure 14. High Power Output The controls are divided such that the right channel controls are on the left side of the tab and the left channel controls are on the right side of the tab.
www.ti.com Kit Operation 6.9.1 Command Line Interface Tab A scripting language controls the TAS1020B on the USB-MODEVM from the LabView™-based PC software. The main program controls, described previously, only write a script which is then transferred to an interpreter that sends the appropriate data to the correct USB endpoint.
www.ti.com Kit Operation The third menu item is a submenu of Recently Opened Files. This is a list of script files that have previously been opened, allowing fast access to commonly-used script files. The final menu item is Exit, which terminates the TLV320DAC32EVM software. Figure 16. File Menu Under the Help menu is an About... menu item which displays information about the TLV320DAC32EVM software. The actual USB protocol used as well as instructions on writing scripts are detailed in Section C.1.
www.ti.com Kit Operation Figure 17.
www.ti.com EVM Bill of Materials 7 EVM Bill of Materials Table 7 and Table 8 contain a complete bill of materials for the modular TLV320DAC32EVM and the USB-MODEVM Interface Board (included only in the TLV320DAC32EVM-PDK). Table 7. TLV320DAC32EVM Bill of Materials REF DES Install Value Size Description MFG MFG P/N C1–C4 √ 10µF 1206 6.3V Ceramic Chip Capacitor, ±10%, X5R TDK C3216X5R0J106K C5, C6 √ 0.1µF 0603 16V Ceramic Chip Capacitor, ±10%, X7R TDK C1608X7R1C104K 0.
www.ti.com EVM Bill of Materials Table 7.
www.ti.com EVM Bill of Materials Table 8. USB-MODEVM Bill of Materials Designators 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.
www.ti.com Appendix A Appendix A TLV320DAC32EVM Schematic The schematic diagram is provided as a reference.
1 2 3 4 6 5 Revision History REV ECN Number Approved IOVDD JMP5 1 2 3 JPR-1X3 J9 2 SW2 DVDD JMP6 5 6 IOVDD NI 1 2 3 HEADSET OUTPUT NI 10uF C14 10uF TP20 1 JMP8 NI 1 18 24 25 7 32 1 2 3 4 5 12 13 J6 DRVDD DRVDD AVDD_DAC DVDD IOVDD MCLK BCLK WCLK DIN LDO_SELECT LINE2LP_2 LINE2LP_1 HPCOM DRVSS SDA SCL TP5 MICBIAS HPLOUT HPLCOM HPROUT HPRCOM 26 21 6 31 9 8 17 TP14 NI 3 HPLCOM JMP14 HPL OUT 2 J13 47uF C26 TP26 HPRCOM 19 20 23 22 2 MINUS 47uF JMP15 HP
1 2 3 4 6 5 Revision History REV D ECN Number Approved D J4 J1 HPLCOM 1 3 5 7 9 11 13 15 17 19 HPRCOM IN2L 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 HPLOUT HPROUT IN2R 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 JMP9 1 2 RESET DAUGHTER-SERIAL MICBIAS J4A (TOP) = SAM_TSM-110-01-L-DV-P J4B (BOTTOM)
www.ti.com Appendix B Appendix B USB-MODEVM Schematic The schematic diagram is provided as a reference.
1 2 3 4 6 5 REVISION HISTORY REV IOVDD R5 2.7K 2 5 9 12 1 USB MCK 4 10 USB I2S 13 J6 Q2 ZXMN6A07F EXTERNAL I2C SDA SCL WP 8 A0 A1 A2 U1 VCC C9 1uF 4 1 1 3 5 7 9 11 3 2 44 43 42 41 40 39 37 38 36 35 34 32 R12 3.09K .001uF R10 27.4 R11 C13 47pF C14 47pF R7 2.7K JMP8 1 2 P1.2 P1.1 P1.0 +3.3VD C11 1uF C12 1uF C MOSI SS SCLK RESET 14 VCC J15 1 3 5 7 9 11 3 6 8 11 1Y 2Y 3Y 4Y 7 GND 2 4 6 8 10 12 EXTERNAL SPI USB RST USB SPI P3.5 JMP13 1 2 D2 +3.3VD YELLOW C25 R8 2.
1 2 3 4 5 6 REVISION HISTORY REV ENGINEERING CHANGE NUMBER APPROVED D 1 2 3 D J11 J12 A0(+) A1(+) A2(+) A3(+) A4 A5 A6 A7 REFREF+ 2 4 6 8 10 12 14 16 18 20 +5VA J13A (TOP) = SAM_TSM-105-01-L-DV-P J13B (BOTTOM) = SAM_SSW-105-22-F-D-VS-K DAUGHTER-ANALOG J11A (TOP) = SAM_TSM-110-01-L-DV-P J11B (BOTTOM) = SAM_SSW-110-22-F-D-VS-K +5VA +5VD JMP1 1 2 +VA +5VA DGND +1.8VD +3.3VD -VA -5VA AGND VD1 +5VD 2 4 6 8 10 GPIO0 DGND GPIO1 GPIO2 DGND GPIO3 GPIO4 SCL DGND SDA SCLK SS P3.
www.ti.com Appendix C Appendix C USB-MODEVM Communications Protocol The communications protocol used by the USB-MODEVM is provided as a reference. C.1 USB-MODEVM Protocol The USB-MODEVM is defined to be a Vendor-Specific class, and is identified on the PC system as an NI-VISA device. Because the 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.
www.ti.com USB-MODEVM Protocol Do the same with a fast mode [0] [1] [2] [3] [4] [5] I2C device: 0x12 0xA0 0x02 0x05 0xAA 0x55 Do the same with an SPI device which uses an 8-bit register address: [0] [1] [2] [3] [4] [5] 0x10 0xA0 0x02 0x05 0xAA 0x55 Do the same with a 16-bit register address, as found on parts like the TSC2101. Assume the register address (command word) is 0x10E0: [0] [1] [2] [3] [4] [5] 0x14 0x10→Note: the I2C address now serves as MSB of reg addr.
www.ti.
www.ti.com Writing Scripts C.2 Writing Scripts A script is a text file that contains data to send to the serial control buses. The scripting language is the parser for the language; therefore, the program is not tolerate mistakes made in the source script file. However, the formatting of the file is simple. Each line in a script file is one command. There is no provision for extending lines beyond one line. A line is terminated by a carriage return. The first character of a line is the command.
www.ti.com Writing Scripts This script begins with a comment which specifies that a fast I2C bus is used, then writes 0xAA 0x55 to the I2C slave device at address 0x90. The values are written 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 not necessary to set the R/W bit for I2C devices in the script; this is done by the read or write commands.
www.ti.com GPIO Capability C.3 GPIO Capability The USB-MODEVM has seven GPIO lines. Access the lines 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 C-3): Table C-3. GPIO Pin Assignments 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.
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, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete.