DEM-DAI1602 EVALUATION FIXTURE www.ti.com ML MC MDI RST MDO GND +3.3V GND +5V –15V GND +15V 3.3V SW5 Opt Coax JUMPER Digital Audio Receiver and Logic +5V REG. 2nd-Order LPF OPA2134 SYSCLK SCKO VOUT2 L/R ch PCM1604 Daughter Card BCLK LRCK DIN1 L/R ch 2nd-Order LPF OPA2134 VOUT3 VOUT4 L/R ch DIN2 VOUT1 DIN3 2nd-Order LPF OPA2134 VOUT5 VOUT6 SW1 - SW3 Format Control FEATURES ● COMPLETE EVALUATION PLATFORM FOR THE PCM1602 6-CHANNEL AUDIO D/A CONVERTER ● DIGITAL AUDIO INTERFACE SUPPORTS S/PDIF INPUTS UP TO 96kHz FROM COMMERCIAL AUDIO EQUIPMENT AND AUDIO MEASUREMENT SYSTEMS (Both RCA and Optical Input Connectors Provided) ● DUAL IN-LINE HEADER SUPPORTS CONNECTION TO AN EXTERNAL AUDIO DSP OR DECODER ● SECOND-ORDER LOW-PASS ACTIVE FILTERS FOR EACH DAC OUTPUT ● INCLUDES DEMONSTRATION SOFTWARE FOR WRITING AND READING PCM1602 CONTROL REGISTERS (Requires a PC with Microsoft Windows® 3.1, 95, or 98) ● CENTRONICS CONNECTOR PROVIDED FOR CONNECTION TO A PC PRINTER PORT (Required for Demonstration Software) Copyright © 2001, Texas Instruments Incorporated ● REQUIRES THREE POWER SUPPLIES: +5V, +15V, AND –15V ● ONBOARD REGULATOR GENERATES +3.3V FROM THE +5V SUPPLY ● SUPPORTS AN OPTIONAL EXTERNAL +3.3V SUPPLY Windows is a registered trademark of Microsoft Corp. DESCRIPTION The DEM-DAI1602 demonstration board provides an ideal platform for evaluating the performance and operation of the PCM1602 6-channel audio Digital-toAnalog converter (DAC). Demonstration software is included for controlling the PCM1602’s programmable functions. The DAC outputs are filtered and passed on to RCA jacks for connection to audio measurement equipment and commercial audio gear. A digital audio receiver allows connection to S/PDIF data streams, while an onboard connector provides an interface to audio Digital Signal Processors (DSP) and decoders. SBAU035 Printed in U.S.A. January, 2001 GENERAL DISCUSSION POWER SUPPLIES The DEM-DAI1602 requires three external supplies: a +5V supply (VCC) is required for the PCM1602; a digital audio receiver (U3); and associated logic circuitry (U3, U4). An onboard regulator (the REG1117-3.3) is used to generate +3.3V from VCC, which is required by the PCM1602 and associated buffers (U5, U6). The output of the regulator can be disabled by a jumper (JP3) and an external +3.3V supply may then be provided at connector CN4. The op amps used for the low-pass active filters (U50 through U52 ) require positive and negative power supplies. The +VS supply is typically +15V, with a maximum value of +18V and a minimum value of +5V. The –VS supply is typically –15V, with a minimum value of –18V and a maximum value of –5V. The power supplies used for VCC, +VS, and –VS should be well regulated and filtered. Switching power supplies may be used, but linear regulated supplies are recommended for optimal performance. All supplies should be rated for a minimum of 500mA of output current. DIGITAL AUDIO INTERFACE The digital audio interface is provided by a Crystal CS8414 digital audio receiver (U3). The interface is used to receive a stereo, linear PCM, S/PDIF data stream from either an electrical or optical source. The electrical input is furnished by an RCA connector (PJ1), while the optical input is provided by a Toshiba TOSLINK optical receiver (OPT). S/PDIF streams are available from industry standard audio test systems (Audio Precision, Rhode & Schwarz), as well as commercial audio equipment (DVD, CD, and DAT players). PC PRINTER PORT INTERFACE A Centronics connector is included so that the DEM-DAI1602 may be connected to a PC printer port. The demonstration software included with the DEM-DAI1602 uses this connection to write and read the PCM1602’s internal registers through the MDO, MDI, MC, and ML pins. CONNECTORS CN1 is the main power-supply connector. Connections for VCC, +VS, –VS, and power-supply grounds are provided. CN2 is the zero-flag connector. Connector pins ZFLGA and ZFLG1 through ZFLG6 correspond directly to the zero-flag output pins of the PCM1602. Alternatively, the zero-flag outputs may be used as general-purpose logic outputs. CN3 is a Centronics connector used to interface the DEMDAI1602 to a PC printer port. The +5V logic signals from the printer port are buffered by U6. CN4 is used to connect an optional external +3.3V power supply to the DEM-DAI1602. Typically, this connector is not used since an onboard regulator IC (U8) is used to generate the +3.3V supply. If an external +3.3V supply is used, remove the jumper at JP3. CN10 through CN13 provide the connection to the PCM1602 daughter board. Figure 1 shows the electrical connections for CN10 through CN13. Figure 4 shows the daughter card schematic. The mapping between the daughter card connectors and CN10 through CN13 is shown in Table I. DEM-DAI1602 CONNECTOR DAUGHTER-CARD CONNECTOR CN10 CN001 CN11 CN002 CN12 CN003 CN13 CN004 The CS8414 outputs a stereo data stream at its SDATA pin. This may be used by any or all of the PCM1602’s three data inputs, DIN1 through DIN3. Jumper block JP2 is used to connect the CS8414 data output to the desired PCM1602 data input pins. TABLE I. Daughter-Card Connector Mapping. PCM1602 DAUGHTER CARD The PCM1602 package is soldered directly to a small printed circuit board, referred to as the “daughter card.” PJ1 is the RCA connector used for shielded cable input to the CS8414 digital audio receiver. The daughter card includes four male connectors that plug into four corresponding female connectors on the DEMDAI1602 board. The daughter card arrangement is used to provide the best possible dynamic performance, while allowing the PCM1602 to be easily interchanged with future multichannel DAC products. DAC OUTPUT FILTERS Three dual op amps (the OPA2134 ) are included to provide second-order Butterworth low-pass filters for the DAC outputs. These filters are required to attenuate the out-of-band noise generated by the PCM1602’s delta-sigma DACs. 2 OPT is the optical receiver input to the CS8414 digital audio receiver. PJ2 is the audio output connector corresponding to the PCM1602’s VOUT1 output. PJ3 is the audio output connector corresponding to the PCM1602’s VOUT2 output. PJ4 is the audio output connector corresponding to the PCM1602’s VOUT3 output. PJ5 is the audio output connector corresponding to the PCM1602’s VOUT4 output. PJ6 is the audio output connector corresponding to the PCM1602’s VOUT5 output. PJ7 is the audio output connector corresponding to the PCM1602’s VOUT6 output. DEM-DAI1602 SBAU035 SWITCHES Switches SW1 through SW3 are used to select the audio data output format for the CS8414. Table II shows the output format selections that are used with the PCM1602. SW1 SW2 SW3 L L H H L H L H L L H L DATA FORMAT 16-24 16-24 16-bit 18-bit Bit Left-Justified, MSB-First(1) Bit I2S(2) Standard Right-Justified, MSB-First(2) Standard Right-Justified, MSB-First(2) NOTE: (1) Jumper JP1 must be set to the INV position when using this format. (2) Jumper JP1 must be set to the NML position when using this format. TABLE II. Digital Audio Receiver Output Data Format Settings. Switch SW5 is used to set the state of the reset (RST) pin of the PCM1602. Table III shows the reset selections. CKS0 and CKS1 are unused and should be set to ‘L’. RST MODE OF OPERATION L H Normal Reset(1) NOTE: (1) The RST pin of the PCM1602 is active LOW. Due to the demo board design, the ‘H’ selection closes the switch and connects RST to ground. The ‘L’ selection opens the switch and the RST pin is set to logic ‘1’ by an internal pull-up resistor. TABLE III. Reset (RST) Operation. JUMPERS Jumper JP1 is used to select a non-inverted (NML) or inverted (INV) bit clock for the PCM1602. Table IV shows the proper settings for JP1 for the four input data formats shown in Table II. DATA FORMAT JP1 SELECTION 16 - 24-Bit Left-Justified, MSB-First 16 - 24-Bit I2S 16-Bit, Standard Right-Justified, MSB-First 18-Bit, Standard Right-Justified, MSB-First INV NML NML NML TABLE IV. JP1 Jumper Selection for Audio Data Formats. Jumper block JP2 is used to connect the digital audio receiver output data and clocks to the PCM1602 daughter card. The jumpers may be removed from JP2 to allow connection to an audio DSP or decoder. Figure 1 shows the electrical connections for JP2. Note that pins DIN1 through DIN3 include 10kΩ pull-down resistors that may be used to set the data inputs to logic ‘0’ for testing zero detection functions and output cross talk performance. Jumper JP3 is used to enable or disable the onboard +3.3V regulator output. When the jumper is installed, the regulator is used as the +3.3V supply. When it is removed, an external supply, connected at CN4, may be used to supply the +3.3V. SCHEMATICS Schematics for the DEM-DAI1602 are shown in Figures 1 through 4. Figure 1 shows the digital audio receiver, associated logic, and digital I/O connectors. Figure 2 shows the DAC low-pass filters, while Figure 3 illustrates the powersupply connections. Figure 4 shows the PCM1602 daughtercard circuitry and connectors. DEM-DAI1602 SBAU035 3 FIGURE 1. Main Schematic for the DEM-DAI1602. 3 +VCC PJ1 C1 0.1µF R1 75Ω U1 TORX176 1 OPT COAX 2 4 5 6 + C4 10µF C3 0.01µF C2 0.01µF C5 0.1µF + C6 10µF +VCC M2 M1 M0 M3 14 13 12 11 10 9 8 7 6 5 4 3 2 1 6 2 M1 4 M2 U4 HC14 SW2 4 5 12 13 10 9 1 2 SEL CBL SW1 U2 HC32 +VCC 11 8 3 U CS12/FCK M3 SCK MCK RXN M2 FILT RXP FSYNC VA+ AGND DGND M0 VD+ M1 Cb/E2 C0/E0 ERF Cc/F0 Ca/E1 Ca/F2 SDATA Cd/F1 VERF 3 U3 CS8414 C JP1 TP1 SBAU035 M0 TP2 C8 0.1µF 1 M3 + C9 0.068µF R3 470Ω R4 470Ω SW4 PUSHSW D1 1S1500 + +VCC C11 10µF R2 47kΩ +VCC C7 10µF NML INV M2 +VCC M0 M1 SW3 U4 HC14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 9 8 7 6 5 4 3 2 Y6 Y7 Y8 A6 A7 A8 OE2 OE1 Y5 Y4 Y3 Y2 Y1 A5 A4 A3 A2 A1 U5 VHC541 1 19 11 12 13 14 15 16 17 18 TP3 1 19 2 20 ML JP2 RST 9 27 10 28 R14 R13 R12 R11 R10 R9 R8(1) C13 10µF + +VCC3 MDO 8 26 NOTE: (1) Resistors R8 - R14 are 22Ω. R7 10kΩ R6 10kΩ R5 10kΩ 3 21 4 22 5 23 6 24 MDI MC SW5 DSS203 7 25 +VCC3 19 9 8 7 6 5 4 3 1Y2 2A3 1Y3 2A2 1Y4 2A1 1A2 2Y3 1A3 2Y2 1A4 2Y1 CN2 1 11 12 13 14 15 16 17 18 CN13 OE1 2A4 2Y4 OE2 1Y1 1A1 U6 VHC244 DIN3 DIN2 DIN1 LRCK BCK GND SCKO SCKI GND VCC3 CN10 RST 11 29 12 30 13 31 14 32 2 15 33 16 34 17 35 18 36 GND ZFLG6 ZFLG5 ZFLG4 ZFLG3 ZFLG2 ZFLG1 ZFLGA CN3 NC GND VOUT6 VOUT5 GND VOUT4 VOUT3 GND VOUT2 VOUT1 CN11 GND NC MDO GND ZFLGA ZFLG1 ZFLG2 ZFLG3 ZFLG4 ZFLG5 ZFLG6 RA1 10kΩ +VCC3 VCC CN12 +VCC VCC MC 4 DEM-DAI1602 MDI ML C20 10µF + C21 10µF + C22 10µF + C23 10µF + C24 10µF + C25 10µF + TP5 TP6 TP7 TP8 TP6 + TP4 C15 10µF VOUT6 VOUT5 VOUT4 VOUT3 VOUT2 VOUT1 R56 15kΩ R50 8.2kΩ R62 1kΩ VOUT1 C50 2700pF R57 15kΩ R51 8.2kΩ R63 1kΩ VOUT2 C51 2700pF R58 15kΩ R52 8.2kΩ R64 1kΩ VOUT3 C52 2700pF R59 15kΩ R53 8.2kΩ R65 1kΩ VOUT4 C53 2700pF R60 15kΩ R54 8.2kΩ R66 1kΩ VOUT5 C54 2700pF R61 15kΩ R55 8.2kΩ R67 1kΩ VOUT6 C55 2700pF C56 270pF 2 3 U50 OPA2134 1 R68 100Ω PJ2 DAC1 AOUT C57 270pF 6 5 U50 OPA2134 7 R69 100Ω PJ3 DAC2 AOUT C58 270pF 2 3 U51 OPA2134 1 R70 100Ω PJ4 DAC3 AOUT C59 270pF 6 5 U51 OPA2134 7 R71 100Ω PJ5 DAC4 AOUT C60 270pF 2 3 U52 OPA2134 1 R72 100Ω PJ6 DAC5 AOUT C61 270pF 6 5 U52 OPA2134 7 R73 100Ω PJ7 DAC6 AOUT FIGURE 2. DAC Output Filters. DEM-DAI1602 SBAU035 5 FIGURE 3. Power Supply Connections. 6 DEM-DAI1602 SBAU035 2 For U5, U6 C80 0.1µF +VCC3 +VCC3 GND 1 C86 0.1µF CN4 +VCC JP3 + For U2, U4 C82 0.1µF 3.3V C84 0.1µF C81 10µF 1 GND 2 3 Out GND IN U8 REG1117-3.3 + C91 2.2µF For U51, U52, U53 + + 1 + C95 2.2µF CN1 For U51, U52, U53 C94 2.2µF +VS C93 100µF + 2 +VS GND GND + C88 2.2µF +VCC –VS C92 100µF + 3 –VS + GND C90 0.1µF C89 100µF + 4 +VS C87 2.2µF C83 0.1µF +VCC 5 –VS +VCC GND + C96 2.2µF FIGURE 4. PCM1602 Daughter Card. DEM-DAI1602 SBAU035 7 DEMONSTRATION SOFTWARE Software is provided with the DEM-DAI1602 to allow programming of the PCM1600’s internal registers. The software will operate on computers running Microsoft Windows 3.1, 95 or 98. The demo software requires that the PC printer port be connected to CN3 of the DEM-DAI1602 using a standard printer cable. The Execute menu includes three selections: Initialize, Reset, and Exit. Selecting Initialize will instruct the program to write all of the PCM1602’s internal registers with the default values. Selecting Reset will instruct the program to rewrite the PCM1602’s internal registers with the data currently selected in the application windows. Selecting Exit will close the application. Installation The demo software is distributed on a 3.5 inch floppy disk. On the disk, there is a single folder named “Dem1602.” This folder contains the application and all support files. The Window menu includes four selections: Attenuation, Operational Control, Function Control, and Register Read. The following sections provide an explanation of each window. To install the software on your computer, first create a new folder on your hard drive with an appropriate name (e.g., DEM1602, PCM1602, etc.). Then open the “Dem1602” folder on the installation floppy and copy all the files in it to your new folder. Open the configuration settings file named “Dem1602” with a text editor, such as Notepad. When the file is opened, find the following line: HOLD and PASS Each window has a button near the top. It’s labeled either HOLD or PASS. The current setting is toggled by clicking on the button. When set to HOLD, the settings in a window can be changed, but they will not be written to the register(s) until the OK button (which appears at the bottom of the window) is pressed. When set to PASS, setting changes made in a window are immediately written to the corresponding register(s). Using the Demo Software Double click on the application file named “Dem1602.” A window will appear on your screen, as shown in Figure 5. There are two menus near the top of the window named Execute and Window. Attenuation Window The Attenuation window is used to set the digital attenuation registers internal to the PCM1602 and is shown in Figure 6. There is an attenuator for each of the six output channels, and each attenuator has its own independent register to control its attenuation level. In the Attenuation window, there is a slider for each attenuator register. Use the slider handle or the arrows at each end of the slider to adjust the attenuation level. The left and right arrow keys on the keyboard can also be used to adjust the level. To the right of each slider is a status display showing the current register setting (in decimals) and the corresponding attenuation level in decibels (dB) relative to the input signal level. FIGURE 5. Start Up Window. FIGURE 6. Attenuation Window. PCMIFADR = &h378 The &h378 indicates the printer port address that the demo software will use to communicate with the DEM-DAI1602. This address must be set to &h378, &h278, or &h3BC. Most PCs use &H378 as the default printer port address. If your printer port is not located at &h378, edit the address to match your computer’s port address. 8 DEM-DAI1602 SBAU035 Although the Attenuation window is used to set the level of the attenuation registers, the actual attenuators inside the PCM1602 will not be updated unless the attenuation load control, ATLD, (in the Operational Control window) is set to LOAD. While ATLD is set to OFF, the attenuation registers are written to, but the attenuators are not updated. When ATLD is switched from OFF to LOAD, all attenuators will be updated simultaneously. Operational Control Window The Operational Control window (labeled DAC Operation) is used to program the soft mute (MUT1-6) and DAC operation (DAC1-6) functions. The mute and DAC operation functions are set using check boxes, as shown in Figure 7. The labels associated with the check boxes change from ON to OFF as the settings are toggled. FIGURE 8. Function Control Window. Register Read Window The PCM1602 serial control interface includes register read capability. The Register Read window (or panel) allows the user to read the value of all PCM1602 registers by pressing a single button. The panel is shown in Figure 9. The Register Read panel provides a means to check for proper communications between the PC printer port and the DEM-DAI1602 by allowing the user to verify register write operations. FIGURE 7. Operational Control Window. For more information regarding these functions, please refer to the PCM1602 Product Data Sheet. Function Control Window The Function window hosts the remainder of the PCM1602 control functions. All functions are programmed using pulldown menus, as shown in Figure 8. Functions that can be programmed by this window include: • SCKO Output Enable (CLKE) and Rate (CLKD) Controls • De-Emphasis Control (DMC) and Sample Rate Selection (DMF) • Audio Data Format (I/F FORMAT) • Digital Filter Roll-Off (ROLL-OFF) • Output Phase (Normal or Inverted) • Oversampling (64fS or 128fS) • Zero Flag Phase (Z-Flag Phase) These functions are described in detail in the PCM1602 Product Data Sheet. FIGURE 9. Register Read Window. DEM-DAI1602 SBAU035 9 GPO CONTROL WINDOW The PCM1602 allows the user to select the function of the ZERO1 through ZERO6 output pins. By default, these pins operate as zero-flag outputs for VOUT1 through VOUT6 respectively. Control Register 11 allows the user to select an alternate function for these pins. The ZERO1 through ZERO6 pins may be used as general-purpose outputs, or GPO1 through GPO6. When configured as GPO (General-Purpose Output) pins, Control Register 12 is utilized to set the output logic level for each pin. The GPO Control window provides a simple interface for utilizing the PCM1602’s GPO function. Figure 10 shows the default setting of the GPO Control window, where the ZERO1 through ZERO6 output pins are used as zero flags. Figure 11 shows the alternate function, where ZERO1 through ZERO6 are configured as general-purpose logic outputs GPO1 through GPO6. Check boxes are used to set the outputs to the ON (logic 1) or OFF (logic 0) states. FIGURE 10. GPO Control Window, Zero Flags Enabled (Default). FIGURE 11. GPO Control Window, General-Purpose Outputs Enabled. The GPO capability is useful for controlling external mute switches, or other digitally-controlled analog circuit functions. . 10 DEM-DAI1602 SBAU035 IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue any product or service without notice, and advise customers to obtain the latest version of relevant information to verify, before placing orders, that information being relied on is current and complete. All products are sold subject to the terms and conditions of sale supplied at the time of order acknowledgment, including those pertaining to warranty, patent infringement, and limitation of liability. TI warrants performance of its products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are utilized to the extent TI deems necessary to support this warranty. Specific testing of all parameters of each device is not necessarily performed, except those mandated by government requirements. Customers are responsible for their applications using TI components. In order to minimize risks associated with the customer’s applications, adequate design and operating safeguards must be provided by the customer to minimize inherent or procedural hazards. TI assumes no liability for applications assistance or customer product design. TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right of TI covering or relating to any combination, machine, or process in which such products or services might be or are used. TI’s publication of information regarding any third party’s products or services does not constitute TI’s approval, license, warranty or endorsement thereof. Reproduction of information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations and notices. Representation or reproduction of this information with alteration voids all warranties provided for an associated TI product or service, is an unfair and deceptive business practice, and TI is not responsible nor liable for any such use. Resale of TI’s products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service, is an unfair and deceptive business practice, and TI is not responsible nor liable for any such use. Also see: Standard Terms and Conditions of Sale for Semiconductor Products. www.ti.com/sc/docs/stdterms.htm Mailing Address: Texas Instruments Post Office Box 655303 Dallas, Texas 75265 Copyright 2001, Texas Instruments Incorporated