DEM-PCM3002-1 DEM-DAI3002-1 DEM-PCM3003 DEM-DAI3003 EVALUATION FIXTURE ® GENERAL DESCRIPTION ORDERING INFORMATION The DEM-PCM3002-1 and DEM-PCM3003 are basic demonstration boards for the PCM3002 and PCM3003 Stereo Audio CODECS. The demo board includes vertical header connectors for audio clocks & data, power supplies, and Left & Right audio inputs/outputs. A connector is included for accessing the PCM3002’s three-wire serial control port, which is used to write the internal registers of the device. PRODUCT DESCRIPTION DEM-PCM3002-1 DEM-PCM3002 Demonstration Board, PC Interface Cable, and Demonstration Software DEM-DAI3002-1 DEM-PCM3002 Demonstration Board, DEMDAI Mother Board, PC Interface Cable, and Demonstration Software DEM-PCM3003 Basic Demonstration Board for the PCM3003 DEM-DAI3003 DEM-PCM3003 Demonstration Board and DEM-DAI Mother Board The DEM-DAI3002-1 and DEM-DAI3003 include both the PCM3002/3003 demo board and the DEMDAI mother board. The DEM-DAI board includes a digital audio receiver and transmitter for interfacing to audio measurement systems and consumer audio equipment that support S/PDIF digital input and output. The DEM-DAI board also includes on-board clock circuitry for stand-alone operation, power supply connectors, and DAC post filters for the Left and Right audio outputs. Host Interface Power Supply CN1 CN2 MC ML MD RSTB PCM3003 Mode Control Audio System Interface +VCC VCC JP1 ZERO(1) SW1 CN5 DEM0 DEM1 PDDA PDAD 20BIT SCKI LRCK BCK DIN DOUT + CN3 Audio and Zero Outputs CN4 Audio Inputs + VOUTL VOUTR PCM3002 or PCM3003 + + VINL VINR NOTE: (1) PCM3002 only. 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-525 1 Printed in U.S.A. December, 1999 DEM-PCM3002, DEM-PCM3003 DEM-PCM3002/3003 HARDWARE DESCRIPTION SW1 DESCRIPTION The DEM-PCM3002/3003 are basic demonstration boards for the PCM3002 and PCM3003 stereo audio CODECS. They interface directly to the DEM-DAI mother board for quick customer evaluation. A zero insertion force socket is provided for easy replacement of the PCM3002/3003 CODEC. The demo boards also include a connector (CN1) for interfacing to the parallel port of an IBM PC, which is used by the demonstration software for programming the PCM3002 internal registers. PDAD Power Down/Reset PDDA DEM0 PDDA FUNCTION OFF OFF ON ON OFF ON OFF ON Reset (ADC and DAC power down) ADC Power Down/DAC Operates Normally DAC Power Down/ADC Operates Normally Normal Operation (DAC and ADC Operate Normally) Digital De-Emphasis DEM1 DEM1 OFF OFF ON ON Connectors CN1 is used to interface the PCM3002 control port to an external host in order to program the CODEC’s internal registers. The MC, MD, ML, and RSTB pins of the PCM3002 are buffered by Schmitt-Trigger U2, which provides +5V to +3V logic level translation and edge restoration. A +3V power supply and ground may also be supplied at this connector using the Red (+3V) and Black (GND) banana jacks available on the interface cable (supplied with the DEM-PCM3002-1 and DEM-DAI3002-1). 20BIT DEM0 OFF ON OFF ON FUNCTION De-Emphasis De-Emphasis De-Emphasis De-Emphasis Enabled for 44.1kHz Disabled Enabled for 48kHz Enabled for 32kHz Audio Data Format Selection 20BIT = OFF ADC: 16-Bit, MSB-First, Left-Justified DAC: 16-Bit, MSB-First, Right-Justified 20BIT = ON ADC: 20-Bit, MSB-First, Left-Justified DAC: 20-Bit, MSB-First, Right-Justified TABLE I. DIP Switch Functions for the PCM3003. Schematic Diagram Figure 1 provides a complete schematic of the DEMPCM3002/3003 demo board. Refer to the DEM-DAI data sheet for schematics of the mother board. CN2 provides an alternate connection for the +3V power supply and ground when jumpers are installed at JP1 see the Jumpers section in this data sheet for more information. CN3 provides access to the PCM3002/3003 Left and Right audio outputs, VOL and VOR, as well as the ZERO output pin of the PCM3002. The audio outputs are AC coupled to CN3. An analog ground connection is also provided. DEM-DAI3002/3003 The DEM-DAI3002-1 and the DEM-DAI3003 include both the DEM-PCM3002/3003 demonstration board and the DEMDAI mother board. The DEM-DAI includes a S/PDIF digital audio receiver and transmitter, making it easy to evaluate the PCM3002/3003 with standard audio test equipment that includes S/PDIF digital I/O. This also allows for direct connection to digital audio equipment, such as CD and DVD players, which incorporate a S/PDIF digital audio output. CN4 provides access to the PCM3002/3003 Left and Right audio inputs, VINL and VINR. These inputs are AC coupled to the CODEC. An analog ground connection is also provided. CN5 is used to interface the CODEC to an audio data and clock source, such as the DEM-DAI mother board. All signals are passed through buffer U3, which provides +5V to +3V logic level translation. Refer to the DEM-DAI data sheet for more information regarding the use and configuration of the mother board. Jumpers Jumper JP1 is used to enable or disable the connection of a +3V power supply and ground through connector CN2. Jumpers should be inserted when using CN2, and removed when using CN1 for power supply connections. DEMONSTRATION SOFTWARE Software is provided with the DEM-PCM3002-1 and DEMDAI3002-1 to allow programming of the PCM3002’s internal registers. The software will operate on computers running Microsoft Windows 3.1, 95, or 98. The demonstration software requires that the PC printer port be connected to connector CN1 of the DEM-PCM3002 using a standard printer cable and the supplied PC interface cable. When using the DEM-PCM3002/3003 board with the DEMDAI mother board, the jumpers on JP1 must be removed so that the DEM-PCM3002/3003 may be powered from a +3V supply connected to CN1. Installation The demo software is distributed on a 3.5-inch floppy disk. There is a single folder on the disk, named “Dem3002”. 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., Dem3002, Pcm3002, etc.). Then open the “Dem3002” folder on the installation floppy and copy all of the files in it to your new folder. Switches The function of DIP switch SW1 is dependent upon which CODEC is being used. For the PCM3003, SW1 provides the necessary mode configuration controls, as shown in Table I. When using the PCM3002, all switches on SW1 should be set to their OFF position. ® DEM-PCM3002, DEM-PCM3003 PDAD 2 Open the configuration settings file named “Dem3002” with a text editor, such as Notepad. When the file is opened, find the following line: 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. PCMIFADR = &h378 The &h378 indicates the printer port address that the demo software will use to communicate with the DEM-PCM3002. VCC ML MD MC GND VCC RA1 10kΩ U2 74LCX14 8 GND RSTB VCC CN1 6 5 4 3 2 CN2 1 1 2 9 MC JP1 4 MD 3 10 11 ML 12 RSTB + 13 2 1 6 5 C1 100µF C2 0.1µF 20-BIT PDAD PDDA DEM0 DEM1 VCC VCC SW DSS105 C3 0.1µF C6 0.1µF U1 PCM3002, 3003 C4 0.1µF + VCC1 VCC2 24 2 VCC1 AGND1 23 3 VINR AGND2 22 4 VREF1 VCOM 21 5 VREF2 VOUTR 20 6 VINL VOUTL 19 RSTB 7 RST/PDAD MC/DEM0 18 MC ML 8 ML/PDDA MD/DEM1 17 MD VCC C16 0.1µF (U2) C17 0.1µF (U3) C10 4.7µF + + C11 4.7µF U3 74LCX244 CN3 SCKI GND LRCK DIN BCK DOUT 1 2 2 3 3 4 4 5 6 5 6 7 8 9 19 1A1 1Y1 2Y4 2A4 1A2 1Y2 2Y3 2A3 1A3 1Y3 2Y2 2A2 1A4 1Y4 2Y1 2A1 OE2 OE1 C5 10µF + 1 18 9 SYSCLK 10 LRCIN 11 BCKIN VDD 14 12 DOUT DGND 13 C9 4.7µF + CN3 C12 10µF + 1 C13 10µF + 3 2 4 VOUTL VOUTR ZERO GND R1(1) 10kΩ ZFLG/20-Bit 16 17 16 15 14 DIN 15 + C7 10µF C8 0.1µF 13 12 11 1 C15 1.0µF + + C 15 1.0µF 1 2 3 NOTE: (1) Not installed. CN4 VINL VINR 1 GND FIGURE 1. Demonstration Board Schematic. ® 3 DEM-PCM3002, DEM-PCM3003 Using the Demo Software Double click on the application file named “dem3002”. A window will appear on your screen, as shown in Figure 2. There are two menus near the top of the DF1704 Control window, named Execute and Window. The Attenuation Control Window The Attenuate window is used to set the digital attenuation registers internal to the PCM3002 and is shown in Figure 3. 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 Execute menu includes two selections: Reset and Exit. Selecting Reset will instruct the program to re-write all registers with the data currently selected in the Attenuation, Function, and Format Control windows. Selecting Exit will close the application. The Window menu includes three selections: Attenuate, Function, and DataForm. The following sections provide an explanation of each window. The Function Control Window The Function window is used to configure several PCM3002 functions, including: • Digital De-Emphasis (DeEmph) • Infinite Zero Detect Mute (IZD) • DAC Output Enable (Output) • Soft Mute (Mute) • Attenuation Control (AttCtrl), either Independent (L< >R) or Common (L= =R) • ADC High Pass Filter Bypass (BYPS) • DAC Power-Down (DAPdn) • ADC Power-Down (ADPdn) FIGURE 2. PCM3002 Control Window. 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, 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). FIGURE 3. Attenuation Window. ® DEM-PCM3002, DEM-PCM3003 4 All functions are controlled using check boxes, with the exception of the De-Emphasis and Attenuation Controls, which use pop-up menus. Figure 4 shows the Function Control window. For more information regarding the functions controlled by this window, please refer to the PCM3002/3003 data sheet. the ADC-to-DAC Loop Back function. Pop-up menus are used to select LRCIN polarity and data formats, while a check box is used to toggle the status of the Loop Back function ( On or Off ). Figure 5 shows the Format Control window. For more information regarding the functions controlled by this window, please refer to the PCM3002/3003 data sheet. The Format Control (or DataForm) Window The Format Control window is used to set the audio data formats for the ADC and DAC, LRCIN clock polarity, and FIGURE 4. Function Control Window. FIGURE 5. Format Control Window. ® 5 DEM-PCM3002, DEM-PCM3003