® DEM-DAI1704 EVALUATION FIXTURE INSTRUCTION MANUAL FEATURES DESCRIPTION ● INCLUDES TWO PCM1704 DACs, ONE DF1704 The DEM-DAI1704 is a complete evaluation fixture for the PCM1704 (24-bit, sign-magnitude digital-toanalog converter) and the DF1704 digital interpolation filter. The demonstration board includes all the necessary power supply and interface connectors, as well as analog signal conditioning circuitry for the DAC outputs. An on-board S/PDIF receiver provides an industry-standard interface to audio measurement systems and commercial audio equipment. 8x INTERPOLATION FILTER, TWO OPA627 OP AMPS (utilized as I/V converters), ONE OPA2134 (provides DAC low-pass filters) ● ON-BOARD DIGITAL AUDIO RECEIVER ACCEPTS S/PDIF DATA INPUT UP TO 96kHz (RCA and optical input connectors provided) ● DEMONSTRATION SOFTWARE FOR PROGRAMMING DF1704 CONTROL REGISTERS (requires Intel-standard PC with Microsoft Windows 3.1, 95, or 98) ● INTERFACE CABLE FOR CONNECTION TO PC PRINTER PORT (required for the demonstration software) ● POWER SUPPLY REQUIREMENTS: ±5V for PCM1704 DACs ±15V for Op Amps +5V for Digital Audio Receiver and DF1704 Digital Filter BLOCK DIAGRAM CND1 Control CN1 ±5V +5V +VDD ±VA VCC PCM1704 UD2 CN2 DAC OPA627 OPA2134 I/V LPF OPA627 OPA2134 I/V LPF PJ2 Right DF1704 Optical Digital Audio Receiver Digital Filter Header CN3 PCM1704 Coax DAC PJ1 Left DEM-DAI1704 Digital Section DAC Section International Airport Industrial Park • Mailing Address: PO Box 11400, Tucson, AZ 85734 • Street Address: 6730 S. Tucson Blvd., Tucson, AZ 85706 • Tel: (520) 746-1111 Twx: 910-952-1111 • Internet: http://www.burr-brown.com/ • Cable: BBRCORP • Telex: 066-6491 • FAX: (520) 889-1510 • Immediate Product Info: (800) 548-6132 ® © 1999 Burr-Brown Corporation LI-539 1 Printed in U.S.A. November, 1999 DEM-DAI1704 DIGITAL SECTION DEMONSTRATION BOARD HARDWARE The digital section includes the DF1704 digital interpolation filter (UD1), which 8x over samples the data from the onboard digital audio receiver (UD2) or an external source at connector CND2. DIP switches are provided to configure the DF1704 filter settings. The DF1704 is socketed for easy replacement. ANALOG SECTION The analog section of the demonstration board includes two PCM1704 D/A converters, two OPA627s utilized as current-to-voltage (I/V) converters, and an OPA2134 dual op amp providing second-order low-pass filters for the Right and Left audio channels. The D/A converters and op amps are socketed for easy replacement. Connectors Connector CND1provides two functions. First, it is used to provide the +5V digital power supply connections. The supplied PC interface cable includes two banana plugs; the Red plug is connected to a +5V power supply, while the Black plug is connected to the power supply’s ground. Connectors Connector CN1 provides power for the PCM1704 DACs. +VCC should be set for +5VDC, while –VCC should be set for –5VDC. CND1 is also used in conjunction with the supplied demonstration software and PC interface cable to provide a means to control the DF1704’s MC, ML, MD, and RST lines when the DF1704 is set to Software mode (see Table II). The demonstration software utilizes a PC printer port to program the DF1704’s internal control registers via CND1. Connector CN2 provides power for the OPA627 and OPA2134 op amps. +VA is typically set for +15VDC (maximum is +18VDC), while –VA is typically set to –15VDC (minimum is –18VDC). Connector CND2 provides the interface between the digital audio source and the DF1704 digital interpolation filter. The digital source will usually be the on-board digital audio receiver (UD2). In this case, BCK, LRCK, DATA, XTI, and GND must have jumpers installed to connect the digital audio receiver outputs to the DF1704 clock and data inputs. Alternatively, an external digital audio source may be connected to the demo board via CND2. The GND pins on connectors CN1 and CN2 are connected to the analog ground plane of the DAC Section. CN3 is used to connect the audio interface of the Digital Section to the audio inputs of the PCM1704 D/A converters. Normally, jumpers should be installed for BCK, WDCK, DOL, DOR, and GND. However, if the user desires to bypass the circuitry of the Digital Section and drive the DACs directly from another digital signal source, this can be accomplished through connector CN3. Connector PJ1 provides the electrical input for the digital audio receiver, UD2. RCA jacks PJ1 and PJ2 are the Left and Right audio outputs. They provide direct connection to measurement and commercial audio equipment. Connector UD5 provides the optical input for the digital audio receiver, UD2. Switches Switches DIP switch SW0 is used to set the data word length and output polarity for the two PCM1704 DACs. DIP switches SW1 and SW2 are used to set the configuration of the DF1704 digital filter. The DF1704 can be controlled using Hardware or Software modes, which is determined by the logic state of the MODE switch. Table II shows the operation of DIP switch SW1. Table III shows the operation of DIP switch SW2 in Hardware Mode. SW2 settings are ignored in Software Mode. Table I shows the function of the DIP switch settings. SW0 FUNCTION SETTINGS 20BIT Selects Data Word Length for both DACs H = 24 Bits L = 20 Bits INVL Selects Phase for Left Channel DAC H = Normal L = Inverted INVR Selects Phase for Right Channel DAC H = Normal L = Inverted TABLE I. DAC Data Format Configuration. The information provided herein is believed to be reliable; however, BURR-BROWN assumes no responsibility for inaccuracies or omissions. BURR-BROWN assumes no responsibility for the use of this information, and all use of such information shall be entirely at the user’s own risk. Prices and specifications are subject to change without notice. No patent rights or licenses to any of the circuits described herein are implied or granted to any third party. BURR-BROWN does not authorize or warrant any BURR-BROWN product for use in life support devices and/or systems. ® DEM-DAI1704 2 SW1 FUNCTION SETTINGS MODE Mode Control ML/RESV Software Mode: Control Port Word Clock Set to H Hardware Mode: Reserved, Not used Set to H Software Mode: Control Port Bit Clock Set to H MC/LRIP MODE = H = Software Mode MODE = L = Hardware Mode Hardware Mode: LRCIN Polarity MD/CKO Software Mode: Control Port Data RST Reset MUTE Software Mode: Ignored SW5 SW6 L L H H L H L H L L H L OUTPUT FORMAT 16- to 24-Bit, Left-Justified, MSB-First(1) 16- to 24-Bit, I2S(2) 16-Bit, Standard(2) 18-Bit, Standard, Right-Justified, MSB-First(2) NOTES: (1) Jumper JP1 must be set in the INV position for this format. (2) Jumper JP1 must be set in the NML position for this format. TABLE IV. Setting the Digital Audio Receiver Data Format. LRIP = L = Normal LRCIN Polarity LRIP = H = Inverted LRCIN Polarity Switch SW3 is used to reset the digital audio receiver when necessary. It is a normally open push-button switch. Press and release to perform a reset. Set to H Hardware Mode: CLKO Output Frequency SW4 CKO = L : fCLKO = fXTI CKO = H : fCLKO = fXTI /2 Switches SW4 through SW6 are used to the select the output data format for the digital audio receiver. Table IV shows the format selection for use with the DF1704 digital filter. RST = L = Reset Mode RST = H = Normal Operation Set to H Hardware Mode: Soft Mute Enable SCHEMATICS MUTE = L = Mute Enabled MUTE = H = Mute Disabled Figure 1 shows the circuit connections for the Digital Section of the demo board. TABLE II. SW1 Operation. Figure 2 shows the circuit diagram for the DAC Section of the demo board. SW2 DESCRIPTION I2S Input Data Format Controls PCB PLOTS IW0 IW1 I2S L L L L H H SRO Digital Filter Roll-Off SRO = H = Slow Roll-Off SRO = L = Sharp Roll-Off OW0 Output Data Format Controls OW1 OW1 L L H H SF0 SF1 Sample Rate Selection for De-Emphasis Control SF1 SF0 Sampling Rate L L 44.1kHz L H Not Used H L 48kHz H H 32kHz DEM Digital De-Emphasis DEM = H = De-Emphasis On DEM = L = De-Emphasis Off IW1 L L H H L L IW0 L H L H L H OW0 L H L H Input Format 16-Bit, Standard, MSB-First, Right-Justified 20-Bit, Standard, MSB-First, Right-Justified 24-Bit, Standard, MSB-First, Right-Justified 24-Bit, MSB-First, Left-Justified 16-Bit, I2S 24-Bit, I2S Figures 3 through 5 show the silk screen, as well as the top and bottom layer plots of the DEM-DAI1704. Output Format 16-Bit, MSB-First 18-Bit, MSB-First 20-Bit, MSB-First 24-Bit, MSB-First TABLE III. SW2 Operation (hardware mode only). ® 3 DEM-DAI1704 6 3 Coax R1 75Ω C16 10µF For UD4 C18 0.1µF + R4 470Ω R2 47kΩ +VDD + C10 10µF +VDD For UD3 C17 0.1µF +VDD C15 0.01µF C14 0.01µF C11 0.1µF M0 SW6 1 14 13 12 11 10 9 8 7 6 5 4 3 2 1 VA+ AGND FILT MCK VD+ DGND RXP RXN U CS12/FCK SCK UD4 HC14 CBL SEL M3 M2 M0 FSYNC M1 ERF Cb/E2 C0/E0 SDATA Cc/F0 Ca/E1 VERF Ca/F2 Cd/F1 UD2 CS8414 C SW3 PUSHSW D1 1S1588 FIGURE 1. Digital Section for the DEM-DAI1704. PJ1 + C13 10µF M1 M2 C12 0.1µF SW5 2 SW4 4 5 12 13 10 9 2 1 UD5 TORX176 1 +VDD 11 8 +VDD M2 M1 M0 3 15 16 17 18 19 20 21 22 23 24 25 26 27 28 JP1 M3 M2 M0 M1 +VCC C8 0.1µF C9 0.068µF R3 470Ω C07 10µF + +VDD Unmounted C6 22pF C5 22pF CND2 Digital Input XTAL GND CLKO XTI DATA BCK LRCK SW1 MUTE RST 3 IIS M3 2 4 5 6 GND 14 13 12 11 10 9 8 7 6 5 4 3 2 1 C3 0.1µF SW2 DSS10 RST ML/RESV MC/LRIP MD/CKO MODE CLKO VSS XTO XTI IW1 IW0 I2S BCKIN UD1 DF1704 +VDD C4 100µF + DIN 1 IW1 2 IW0 +VDD SRO +VDD OW0 UD4 HC14 SF1 UD3 HC32 OW1 4 +VDD MUTE 15 DEM 16 SF0 17 SF1 18 OW0 19 OW1 20 NC 21 VDD 22 DOR 23 DOL 24 WCKO 25 BCKO 26 SR0 27 LRCIN 28 SF0 DEM-DAI1704 DEM ® MC 4 MD 5 ML 6 MODE MD/CKO RST ML/RESV MC/LRIP +VDD C2 10µF + C1 0.1µF GND DOR DOL WDCK BCK CN3 5 DEM-DAI1704 ® INVL SW0 INVR INVL + + –VCC C10 4.7µF C11 4.7µF + + FIGURE 2. Analog Section for DEM-DAI1704. L H 20-Bit BCK WDCK DOL DOR C3 4.7µF C4 4.7µF 20-Bit DAC Section CN3 Digital Section NC BPO DC +VCC AGND IOUT SERVO DC AGND –VCC REF DC NC WCLK NC 20-Bit INVERT DGND +VDD DATA BCLK NC –VDD NC BPO DC +VCC –VCC REF DC NC SERVO DC AGND AGND IOUT UA2 PCM1704U 20-Bit INVERT WCLK NC DGND +VDD NC –VDD DATA BCLK UA1 PCM1704U C1 4.7µF + C8 4.7µF + C14 100µF + C7 100µF + C13 47µF + C12 47µF + C6 47µF + C5 47µF + C9 4.7µF + C2 4.7µF + + – + – +VCC 4 CF2 47pF UA4 OPA627AP 3 2 4 RF2 2.5kΩ UA3 OPA627AP 3 2 CF1 47pF RF1 2.5kΩ –VCC + 7 + 7 C22 4.7µF 6 C16 4.7µF 6 + C21 4.7µF C15 4.7µF + R4 4.7kΩ R1 4.7kΩ R2 2kΩ R5 2kΩ C23 2200pF R6 4.7kΩ C19 2200pF R3 4.7kΩ + – + – UA5B 1/2 OPA2134PA 5 6 C24 560pF UA5A 1/2 OPA2134A 2 C20 560pF 1 7 C18 4.7µF + 8 4 C17 4.7µF + +VA R8 100Ω R7 100Ω –VA PJ2 Rch Out PJ1 Lch Out ® DEM-DAI1704 6 FIGURE 3. Silk Screen for the DEM-DAI7104. 7 DEM-DAI1704 ® FIGURE 4. Top Layer for the DEM-DAI1704. ® DEM-DAI1704 8 FIGURE 5. Bottom Layer for the DEM-DAI1704. The Execute menu includes three selections: Initialize, Reset, and Exit. Selecting Initialize will instruct the program to write all of the DF1704’s internal registers with the default values. Selecting Reset will instruct the program re-write the DF1704’s internal registers with the data currently selected in the application windows. Selecting Exit will close the application. DEMONSTRATION SOFTWARE Software is provided with the DEM-DAI1704 to allow programming of the DF1704’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 CND1 of the DEM-DAI1704 using a standard printer cable and the supplied PC interface cable. INSTALLATION The Window menu includes three selections: Attenuate, Function, and DataForm. The following sections provide an explanation of each window. HOLD and PASS The demo software is distributed on a 3.5-inch floppy disk. There is a single folder on the disk, named “Dem1704.” This folder contains the application and all support files. To install the software on your computer, first create a new folder on your hard drive with an appropriate name (e.g., Dem1704, Pcm1704, etc.). Then open the “Dem1704” folder on the installation floppy and copy all of the files to your new folder. 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, you can change the settings in a window, 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, changes made in a window are immediately written to the corresponding register(s). Open the configuration settings file named “Dem1704” with a text editor, such as Notepad. When the file is opened, find the following line: PCMIFADR = &h378 Attenuation Window The Attenuate window is used to set the digital attenuation registers internal to the DF1704 and is shown in Figure 7. There is an separate attenuator for both the left and Right output channels, each with it’s own independent register to control it’s level. In the Attenuation window, there is a slider for each attenuator. 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. Just below each slider is a status display showing the current step setting (in decimal) and the corresponding attenuation level in decibels (dB) relative to the input signal level. The &h378 indicates the printer port address that the demo software will use to communicate with the DEM-DAI1704. This address must be set to &h378, &h278, or &h3BC. Most PC’s use &H378 as the default printer port address. If your printer port is not located at &h378, edit the address to match your computers port address. USING THE DEMO SOFTWARE Double click on the application file named “dem1704”. A window will appear on your screen, as shown in Figure 6. There are two menus near the top of the DF1704 Control window, named Execute and Window. FIGURE 7. Attenuation Window. FIGURE 6. DF1704 Control Window. ® 9 DEM-DAI1704 Function Window DataForm Window The Function window is used to set the DF1704 input and output data formats, as well as the soft mute and digital deemphasis functions. The data format and de-emphasis functions are programmed using pop-up menus, while the soft mute function is operated using a check box. Figure 8 shows the contents of the Function window. For more information regarding the functions controlled by this window, please refer to the DF1704 data sheet. The DataForm window is used to set DF1704 digital filter roll off , dependent or independent attenuation control, LRCIN polarity (for Standard and Left-Justified data formats), and the CLKO output frequency. Pop-up menus are used to set all functions in the DataForm window, as shown in Figure 9. FIGURE 8. Function Control Window. FIGURE 9. Operational Control Window. For more information regarding the functions controlled by this window, please refer to the DF1704 data sheet. ® DEM-DAI1704 10