EV3101A DSP-1KM Evaluation Board Introduction The EV3101A provides an evaluation and development platform for the AL3101 DSP-1K Audio Processor IC. With the EV3101A, users may evaluate the DSP-1K using either its serial interface or parallel interface modes. Auto-load mode, using boot code from an EEPROM, may also be tested. The EV3101A provides analog inputs and outputs, or I/O in the ADAT® Optical format. Several jumpers and test points provide additional flexibility in evaluation and development. Perforated circuit board areas with plated-through holes are incorporated to allow for easy experimentation with external components. On-board connectors allow for simplified system expansion. Development software is included with the EV3101A, as is an AC adaptor and a RS-232 serial interface cable. Table of Contents Introduction ............................................................................... 1 Table of Contents ....................................................................... 1 Using the EV3101A .................................................................... 2 Power and Gnd Connections ............................................. 2 External Power Source Connections ....................... 2 Audio Input Connections .................................................. 2 Audio Output Connections ................................................ 2 RS-232 Connection ........................................................... 3 Expansion Connections .................................................... 3 Word Clock Selection ........................................................ 3 MSTRWCLK Select ................................................. 3 Reset Selection ................................................................. 4 Microprocessor Interface Selection .................................... 4 Audio Input Selection ....................................................... 4 SER_IN Select ........................................................ 4 Audio Output Selection ..................................................... 4 SER_OUT Select .................................................... 4 Standalone EEPROM Use ........................................................... 5 EV3101A Circuit Layout ............................................................ 5 External Devices ........................................................................ 5 Data Converters ................................................................ 5 ADAT® Optical Devices ..................................................... 5 Microcontroller ................................................................. 5 Notice and Contact Information ............................................... 6 Evaluation Board Schematic ...................................................... 7 Evaluation Board Top Layer Silkscreen ..................................... 9 Evaluation Board Top Layer Copper Trace ............................... 10 Evaluation Board Bottom Layer Copper Trace .......................... 11 Wavefront Semiconductor ∴ 200 Scenic View Drive ∴ Cumberland, RI 02864 ∴ U.S.A. Tel: +1 401 658-3670 ∴ Fax: +1 401 658-3680 ∴ Email: info@wavefrontsemi.com On the web at www.wavefrontsemi.com 1 EV3101A-0305 Using the EV3101A Power and Gnd Connections The AC input power jack for the EV3101A is at the connector J2. A power supply “wall wart” is provided with the board (The country of origin should be specified when ordering. In most cases, Wavefront will be able to provide an appropriate power supply). DC voltages for the board are generated through on-board regulators. The required voltages are +5VDC (can be monitored at test point T1), +12VDC (can be monitored at T3) and –12VDC (can be monitored at T4). To use external DC supplies (when Wavefront cannot provide an appropriate country-specific power supply, for example, or when it is desirable to experiment with other supply voltages) remove or cut wires R1, R2, and/or R3 as needed, and feed an appropriate DC supply to the test points as shown below: External Power Source Connections Nominal DC Supply Resistor to Cut +5VDC R2 +12VDC R1 -12VDC R3 Test Point to Feed T1 T3 T4 Test point T2 is provided as a ground reference from/to these DC sources. Test points T9, T15, T25, T33, T34, T40, T46, T54 and T55 are Gnd test points and may be used for oscilloscope or other test equipment ground connections. There is only one ground plane on the board (see PCB layout section). Resistor R9 is provided as a location to measure the current being supplied to the DSP-1K. Use test point T24 to monitor the VDD of the AL3101 directly, and T28 to monitor the internally regulated 3.3V source. Audio Input Connections The Left and Right analog inputs are provided by way of unbalanced RCA jacks – connector J9 for the Left channel and J18 for the Right channel. An 8VP-P signal at J9 or J18 is the maximum amplitude signal allowable before clipping occurs at the AL1101 ADC. A TOSLINK optical input at connector J33 allows connection of up to 4 stereo channels of digital audio input using the ADAT® Optical format. Test point T52 is for monitoring the ADAT Optical bitstream (which is subsequently decoded by the AL1402 OptoRec IC). Test point T49 allows for monitoring the error status of the optical input – a ‘high’ logic level at this test point while the optical input is in use indicates an error receiving data and the validity of the connection should be checked before proceeding with further evaluation. Audio Output Connections There are two analog outputs fed to unbalanced RCA jacks – connector J29 for the Left Channel and J31 for the Right Channel. An 8VP-P signal is the maximum amplitude output from the AL1201 DAC connected to J29 and J31. In addition, an ADAT® Optical output is provided from the TOSLINK optical output at connector J33 (encoded by the AL1401A OptoGen IC). A test point for monitoring the output bitstream is available at T53. USER0_IN (test point T51) and USER1_IN (T50) are used to feed any user bits (non-audio) into the optical data stream. To be used these test points must be tied to an appropriate data signal through a wire clip or similar connection. Please note the comments about noise and the RS-232 cable in the next section. www.wavefrontsemi.com 2 RS-232 Connection J32 is used to connect between the EV3101A and the serial port on the user’s computer via the supplied RS-232 cable. Note that the noise floor of the audio output may be adversely affected by the RS-232 cable creating a ground loop, or corrupting the ground floor at low frequencies due to a noisy computer environment. We suggest evaluating the DSP-1K with the RS-232 cable disconnected. If excessive noise appears at the outputs when evaluating user-developed algorithms, disconnect the RS-232 after the program is loaded. Reconnect the cable as needed to reprogram the chip. Expansion Connections J1 and J3 are the expansion connectors. Through J1 the DSP-1KM may be expanded to accept serial inputs and outputs directly from/to the connector. Also +5VDC and Gnd may be expanded outward. J3 allows the microcontroller port pins to be accessed in an emulator environment. It also allows for an external EEPROM interface and for +5VDC and Gnd expansion. Wordclock Selection The master wordclock (MSTRWCLK) for the board is monitored at T29 and selected by the position of jumpers J22, J21 and J20 which obtain the MSTRWCLK source from one of the following: A) The 48kHz XTALWCLK from the on-board, divided-down 12.288MHz crystal (M2). B) A user-supplied EXT WCLK (via T30 and a ground connection – at T25, for example). C) The OPWCLK recovered from the ADAT® Optical connection and AL1402 OptoRec. Alternatively, the master wordclock may be supplied from a standalone 87C31 microprocessor or emulator on the U9 socket (keeping in mind that the existing U9 chip must be removed). The Jumpers J20, J21, and J22 set the MSTRWCLK source for the board. See the following table for the setting of the jumpers for each desired MSTRWCLK source. MSTRWCLK Select MSTRWCLK Source XTALWCLK EXTWCLK OPWCLK MICROWCLK J20 Setting WCLKBRD WCLKBRD WCLKBRD MICROWCLK J21 Setting WCLK WCLK OPWCLK N/A J22 Setting XTALWCLK EXT_WCLK N/A N/A * N/A denotes that the jumper may be in either position. When using clocks other than the internal crystal clock, J30 must be set to Gnd to disable the internal clock (XTALWCLK). This will minimize interference from two clocks being at the same frequency on the board at the same time. Most other Wavefront ICs on the board (AL3101, AL1101, AL1201, and AL1401A) require only the master wordclock as a clock input to function. The AL1402 OptoRec is in Master Mode and, when receiving ADAT® Optical signals, will supply MSTRWCLK from OPWCLK (make sure to set the jumpers appropriately). When using the on-board oscillator (XTALWCLK), various clocks – MCLK at test point T36, BCLK at T48, and /BCLK at T47) are available if needed, but are not used to clock anything on the board. www.wavefrontsemi.com 3 Reset Selection J23 is the DSP-1K reset jumper. It should be positioned to \RESET which derives the reset signal from on-board power-up circuitry or from a switch (S1) available to the user. The jumper may be repositioned to \MICRORESET for use with an emulator if desired. Microprocessor Interface Selection J14 is the \AUTOLOAD jumper. It should be set to \ALOADSEL for proper use with the supplied development software. Position the jumper to Gnd if autoloading from the EEPROM program on power-up is desired (see the Standalone EEPROM Use section). J19 is the serial/parallel mode select jumper (\SER_MICPR). It should be set to \SERINSEL to allow the supplied development software to configure the DSP-1K appropriately via the microprocessor. When the jumper is removed (and J14 configured appropriately – see Standalone EEPROM Use section) the internal pull-up of the DSP-1K configures for auto-load from the EEPROM. Setting the jumper to Gnd is not needed within the software development system. Audio Input Selection The DSP-1K audio serial inputs (SER_IN0-3) may be selected through jumper positions and monitored on test points T5-T8. Each input is a stereo pair (i.e., left and right). See the following table for the proper jumper configuration. SER_IN Select SER_IN0/1/2/3 ADCDATA OPIN0/1/2/3 MICROSERIN J4 Setting ADCDATA N/A MICROSERIN J5/6/7/8 Setting SERIN OPIN0/1/2/3 SERIN * N/A denotes that the jumper may be in either position. When jumper J4 is set for either ADCDATA or MICROSERIN, multiple inputs (SER_IN0-3) may be fed from the source selected by J4. Otherwise, each optical input pair (OPIN0-3) is fed from a dedicated optical input channel pair from the AL1402 OptoRec (U16). MICROSERIN is designed for use with an emulator if desired. Audio Output Selection The DSP-1K audio serial outputs (SER_OUT0-3) may be selected through jumper positions and monitored on test points T41-T44. Each output is a stereo pair (i.e., left and right). See the table below for the proper jumper configuration. SER_OUT Select SER_OUT0/1/2/3 DACDATA OPOUT0/1/2/3 MICROSEROUT J24 Setting DACDATA N/A MICROSEROUT J25/26/27/28 Setting SEROUT OPOUT0/1/2/3 SEROUT * N/A denotes that the jumper may be in either position. Note that only one of the jumpers J25, J26, J27, or J28 should be in the SEROUT position at one time to avoid tying these outputs together. Each optical output pair (OPOUT0-3) feeds a dedicated optical output channel pair on the AL1401A OptoGen (U17). MICROSEROUT is designed for use with an emulator if desired. www.wavefrontsemi.com 4 Standalone EEPROM Use The AT17C65 serial EEPROM (U4) is provided for use on the board to store a standalone program. Note that this part has been superceded by the AT17LV65, and complete data on it is available at www.atmel.com. U4 is shipped in an unprogrammed state, and may be removed and programmed using standard IC programmers. To load the code from the EEPROM to the AL3101 the AUTOLOAD jumper J14 should be set to Gnd on power up, the SER _MICPR jumper J19 removed to allow the internal pull-up to bring SER _MICPR high, and the SER_EN jumper J13 set to +5V. The D1/SCC jumper J10 should be set to SCC (serial communication clock) and the D0/SCD jumper J15 set to SCD (serial communication data). The SCC jumper J11 and the SCD jumper J16 should be set for INTernal mode if the on-board EEPROM is being used or to EXTernal mode if an off-board EEPROM is being used (brought in through the expansion connector, J1). If the INTernal (onboard) EEPROM is being used then the EEDATA jumper J17 and the EECLK jumper J12 should be set to INTernal mode. See the DSP-1K AL3101 data sheet under Serial PROM Autoload Interface for more information on loading code from the EEPROM. EV3101 Circuit Layout The EV3101A uses a two-layer PCB with the ground plane as a continuous copper pour on the bottom of the PCB, a practice we recommend for new designs. A ground plane directly under the chip reduces any EMI emissions emanating from the chip. The PCB traces and components are split into a digital side and an analog side to keep high frequency digital traces away from sensitive analog traces. All 0.1µF bypass capacitors are placed as close as possible to the pins they are filtering. Surface mount 0.1µF ceramic capacitors (type X7R) are used for bypassing, allowing close placement. Electrolytic capacitors (10µF) are connected to the power lines. For information on circuit layout for the Wavefront AL1101, AL1201, AL1401A and AL1402, please see their respective datasheets. External Devices Data Converters Data conversion is provided by Wavefront’s AL1101 ADC and AL1201 DAC. These components provide excellent 48kHz performance (-107dB dynamic range), and are available at pricing suitable for the musical instrument market. The use of these ICs also simplifies circuit layout because Wavefront ADCs and DACs derive all high speed clocks via high-quality on-chip PLL circuits (ClockEZ™ technology). As a result, only the 48kHz wordclock need be supplied to each converter. ADAT® Optical Devices The AL1401A OptoGen and AL1402 OptoRec provide digital I/O for the EV3101A board using the industry-standard ADAT® Optical protocol. These devices are capable of transporting up to 8 channels (four stereo pairs) of digital audio over a single optical fiber at a 48kHz sample rate. Microcontroller The on-board microcontroller is an 87C51 custom programmed to work with the supplied development software. However, almost any micro-controller (PIC, etc.) may be used to program and control the DSP-1K. Please refer to the interface and timing descriptions in the DSP-1K AL3101 datasheet for more information. www.wavefrontsemi.com 5 NOTICE Wavefront Semiconductor reserves the right to make changes to their products or to discontinue any product or service without notice. All products are sold subject to terms and conditions of sale supplied at the time of order acknowledgement. Wavefront Semiconductor assumes no responsibility for the use of any circuits described herein, conveys no license under any patent or other right, and makes no representation that the circuits are free of patent infringement. Information contained herein is only for illustration purposes and may vary depending upon a user’s specific application. While the information in this publication has been carefully checked, no responsibility is assumed for inaccuracies. Wavefront Semiconductor products are not designed for use in applications which involve potential risks of death, personal injury, or severe property or environmental damage or life support applications where the failure or malfunction of the product can reasonably be expected to cause failure of the life support system or to significantly affect its safety or effectiveness. All trademarks and registered trademarks are property of their respective owners. Contact Information: Wavefront Semiconductor 200 Scenic View Drive Cumberland, RI 02864 U.S.A. Tel: +1 401 658-3670 Fax: +1 401 658-3680 On the web at www.wavefrontsemi.com Email: info@wavefrontsemi.com Copyright © 2005 Wavefront Semiconductor Application note revised March, 2005 Reproduction, in part or in whole, without the prior written consent of Wavefront Semiconductor is prohibited. www.wavefrontsemi.com 6