EV6090 COMMUNICATION SEMICONDUCTORS CMX639 CVSD CODEC Evaluation Kit USER MANUAL ADVANCE INFORMATION • • • CMX639 Product Evaluation Telephone Handset Connectors On-board Speaker Driver • Variable Gain Input Amplifier • • • Input Conditioning Selectable Sample Clock Rates Easy Jumper/Switch configuration User Prototyping PCB Area P1: 1 Audio -In P1: 2 P1: 3,4 Gain Block x(-1) Audio +In S 2 -20dB to +20dB Enc Out E3 x(-47) D M Enc In 0dB to -6dB Dec In D M Dec Out Data Clocks E4 Mic Input Data Rate (2) Algorithm Telephone Handset (Mic) 3 Direct In CMX639 Force Idle (2) Data En Powersave Direct Out 4 V+I N Speaker Driver +20dB Telephone Handset (Earpiece) XTAL VDDI N Dec In AGND V-I N Power Conditioning Computer Interface Switch Control (Local) The EV6090 is a single board evaluation platform used for the evaluation of the CMX639 CVSD codec. The board is powered from an external supply that can be used to evaluate CVSD encoder and decoder performance at different supply voltages. Jumpers are provided to select signal paths, clock source, measure device current, etc. Convenient I/O allows connection to a telephone handset, microphone, and/or a loudspeaker for simple experiments. 2001 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480218.003 All trademarks and service marks are held by their respective companies. CVSD CODEC Evaluation Kit 2 EV6090 Evaluation Kit CONTENTS Section Page 1 Block Diagrams..............................................................................................................3 2 Preliminary Information.................................................................................................5 2.1 Laboratory Equipment ..........................................................................................................5 2.2 Handling Precautions ...........................................................................................................5 2.2.1 Static Protection ......................................................................................................................5 2.2.2 Contents - Unpacking..............................................................................................................5 3 Operation........................................................................................................................5 3.1 Set-Up ..................................................................................................................................5 3.1.1 Default Jumper Configuration .................................................................................................5 3.1.2 Connect external regulated power supply...............................................................................6 3.1.3 Set Mode of Operation ............................................................................................................6 3.1.4 Quick Test ...............................................................................................................................6 3.1.5 Further experimentation ..........................................................................................................6 3.2 Adjustments .........................................................................................................................6 3.3 Operation .............................................................................................................................6 3.3.1 E3 Audio Input routing (to the CVSD encoder) .......................................................................6 3.3.2 E4 Audio output routing (from the CVSD decoder).................................................................6 3.3.3 S1 and S2 Switch Settings ......................................................................................................7 4 Schematic Diagrams and PCB Layout .........................................................................9 5 Specifications...............................................................................................................11 MX-COM, Inc. reserves the right to change specifications at any time and without notice. 2001 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480218.003 All trademarks and service marks are held by their respective companies. 2001 MX-COM, Inc. 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Direct In Mic Input x(-47) x(-1) V-I N AGND VDDI N V+I N Power Conditioning Telephone Handset (Mic) Audio +In Audio -In Input Conditioning 3 4 Dec In Force Idle (2) Data En Powersave Data Rate (2) Algorithm E3 Switch Control (Local) S -20dB to +20dB Gain Block XTAL Dec Out D M Dec In P1: 2 CMX639 Computer Interface Enc In D M Enc Out P1: 1 Data Clocks 2 P1: 3,4 E4 Speaker Driver +20dB 0dB to -6dB Direct Out Telephone Handset (Earpiece) CVSD CODEC Evaluation Kit 3 EV6090 Evaluation Kit 1 Block Diagrams Figure 1: Block Diagram www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 All trademarks and service marks are held by their respective companies. Doc. # 20480218.003 CVSD CODEC Evaluation Kit 4 EV6090 Evaluation Kit Digital Gates Input Conditioning & Gain CMX639 Output Gain E6 PC +V Speaker Driver V+ V+I N VDD VDDI N Power Conditioning GND GND V- V-I N AGND DGND Figure 2: Power Conditioning Block Diagram Local Digital Control J1 Encode Out Data Rate (2) Algorithm Decode In 3 Encode Clock 4 CMX639 Decode Clock Powersave Data Enable Force Idle To PC Interface 3 4 Figure 3: Digital Block Diagram 2001 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480218.003 All trademarks and service marks are held by their respective companies. CVSD CODEC Evaluation Kit 5 EV6090 Evaluation Kit 2 Preliminary Information 2.1 Laboratory Equipment The following laboratory equipment must be user supplied to use this evaluation kit: Required • 2.7-5.0V regulated DC Power Supply Optional • 8Ω speaker or headphones. NOTE: A stereo jack is supported because it is popular and available. If a mono plug is connected it will mute the output signal by creating a short to ground. A mono loudspeaker may be connected but it must have a stereo plug. • Microphone • POTS (Plain Old Telephone System) telephone handset may be used to listen to CVSD encoded and decoded speech. 2.2 Handling Precautions This evaluation kit is designed for use in office and laboratory environments. The following practices will help ensure its proper operation. 2.2.1 Static Protection This product uses low power CMOS circuits which can be damaged by electrostatic discharge. Partially damaged circuits can function erroneously, leading to misleading results. Observe ESD precautions at all times when handling this product. 2.2.2 Contents - Unpacking Please ensure that you have received all of the items on the separate information sheet (EK6090) and notify MX-COM within 7 working days if the delivery is incomplete. 3 Operation 3.1 Set-Up THE EV6090 IS CONFIGURED WITH A CMX639 DIP DEVICE FOR OPERATION AT 2.7 to 5.0VDC. A 4-conductor modular jack (J2), sometimes referred to as an ‘RJ22 jack,’ has been provided to allow for quick speak/listen evaluation using a standard POTS handset. The following quick start will allow connection of a handset and power supply to quickly evaluate encoded and decoded CVSD audio. The user can select different sample clock rates and modes of operation to familiarize themselves with the operation of the CVSD device. J2 EV6090 J1 Power Supply Figure 4: POTS Set-Up 3.1.1 Default Jumper Configuration • For single supply operation ensure shorting jumpers are installed at locations: E12, E6, E8, P4, and E5. • To use the on-board crystal ensure jumpers E1 and E2 are installed. • Ensure jumper E3 is set to position 1 and position 2, and jumper E4 is shorting position 2 to position 3 for audio routing to the handset. • Install E13 to route handset to summing amplifier. 2001 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480218.003 All trademarks and service marks are held by their respective companies. CVSD CODEC Evaluation Kit 3.1.2 6 EV6090 Evaluation Kit Connect external regulated power supply. • Adjust the supply for 5.0V • Connect the positive lead from the power supply to “VDDIN” (P3:2) and the negative lead to “GND” (P3:3). 3.1.3 Set Mode of Operation To begin EV6090 operation, set switches S1-C1 (“CLKMODE1”) to OFF and S1-C2 (“CLKMODE2”) to ON to enable 32kbps sampling mode. Next, ensure that switch S1-C3 (“ALGORITHM”) is set to OFF to enable the 3-bit algorithm. Alternatively, change S1 switch position C1 and C2 as shown in Table 1 for other sample rates. 3.1.4 Quick Test Connect handset and apply power. Adjust R6 clockwise to increase microphone audio level. Adjust R31 counterclockwise to increase audio level in the ear piece. 3.1.5 Further experimentation Other modes of operation are available for test. Forced idle channel mode of either the encoder or decoder can be realized by changing dip switch settings. The use of Table 1, coupled with a review of the CMX639 data bulletin, will allow the user to exercise all operating modes. 3.2 Adjustments R6 - adjust audio input level to the CODEC. R31 - adjust level for both the telephone hand set and speaker volume. 3.3 Operation Jumpers E3 and E4 allow for different audio input and output routing. For testing with audio signals applied at the “AUDIO IN” jack, jumper E13 should be removed to avoid having undesired amplified signals injected into the encoder input. For testing with audio signals supplied by either the microphone input or the telephone handset, jumper E13 should be installed. Due to the high gain nature of this signal path, however, R6 doesn't need to be adjusted >0dB. 3.3.1 E3 Audio Input routing (to the CVSD encoder) Jumper position 1 to 2 enables the following: • RCA Audio input - RC1 • Mic Input – J3 • Telephone Hand set input – J2 Jumper position 2 to 3 enables the following • 3.3.2 Screw Terminal strip P2:1 input E4 Audio output routing (from the CVSD decoder) Jumper position 1 to 2 enables output audio to the following: • RCA Audio output – RC2 • Screw Terminal strip P2:3 output Jumper position 2 to 3 enables output audio to the following: • Telephone Hand set output – J2 • Speaker output J4 2001 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480218.003 All trademarks and service marks are held by their respective companies. CVSD CODEC Evaluation Kit 3.3.3 7 EV6090 Evaluation Kit S1 and S2 Switch Settings Switch Name Description Circuit Condition When Switch Is: ON OFF S1-C1 CLKMODE1 Used in conjunction with CLKMODE2 to set sampling rate and source (internal or external). See table on EV6090 for switch combinations. S1-C2 CLKMODE2 Used in conjunction with CLKMODE1 to set sampling rate and source (internal or external). See table on EV6090 for switch combinations. S1-C3 ALGORITHM Determines whether 3-bit or 4-bit companding algorithm will be used. In general, 3-bit companding yields better results at rates of 32kbps and below, while 4-bit companding should be used at 48kbps and above. 4-bit algorithm 3-bit algorithm S1-C4 DATAEN This switch is used in combination with the /POWERSAVE switch to determine the state of the CMX639 encoder output. Encoder output is at high impedance regardless of state of /POWERSAVE switch. Encoder output is enabled if /POWERSAVE switch is OFF, and is set to VSS if it is ON. S2-C1 /ENCODERFORCEIDLE This switch causes a “perfect idle” pattern of 0101… to be present at encoder output. Encoder produces idle pattern at output. Encoder operates normally. S2-C2 DECIN This switch selects the source of the decoder input signal. Decoder input taken from PCMCIA interface. Decoder input taken from either DECIN screw terminal or encoder output. S2-C3 /DECODERFORCEIDLE This switch causes a 0101… pattern to be internally applied to the CMX639 decoder, resulting in the decoder output pin going to VDD/2. Decoder output is VDD/2. Decoder operates normally. 2001 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480218.003 All trademarks and service marks are held by their respective companies. CVSD CODEC Evaluation Kit S2-C4 8 /POWERSAVE EV6090 Evaluation Kit This switch is used in combination with the DATAEN switch to determine the state of the CMX639 encoder output. CMX639 is in powersave mode. CMX639 operates normally. Table 1: S1 and S2 Switch Settings C1 Not Idle CMX639 or Screw Terminal /Encoder Force Idle DEC IN Idle PCMCIA Interface S2 ON Not Idle Not Powersaved /Decoder Force Idle /Powersave Idle C2 Sampling Clocks C1 External Clocks C1 64kbps C1 32kbps C1 16kbps S1 ON 3-Bit CLK MODE 1 CLK ALGORITHM DATA EN MODE 2 Powersaved 4-Bit S2 C4 S1 C4 Enabled Encoder Output State C1 Enabled C1 Vss C1 High Impedance C1 High Impedance Figure 5: EV6090 Switch Settings 2001 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480218.003 All trademarks and service marks are held by their respective companies. 2 1 P3:4 V- IN P3:2 VDD IN P3:3 P3:1 V+ IN E12 E5 E6 AGND AGND 10K 100 Ohm R43 E10 10K R19 10K 1000UF C32 3.9 5 6 + - 1 AGND L1 4 V- C14 10K R7 7 DGND E9 LM6482 P4 2 TP1 AGND 3 1 A/D_SHORT DGND E3 .1UF C36 1UF U2:B 3 4.4mH 2 1 I/P_BIAS R6 100K AGND 3 10K R20 E11 R8 SUMIN R1 1K R11 1K R10 V+_IN C8 .1UF C4 LM6482 1 .1UF U2:A 10K C3 4 8 C7 2200PF R5 10 3 2200PF R9 + - V- 3 2 V+ S1:4 PCV+ 11 1 S2:1 1K R29 1 R42 3 AGND 1 13 12 10 9 8 XTAL C33 AMPS J1:25 J1:33 DGND VDD V+ AGND 1.024MHz X1 1M R2 XTAL N/C POWERSAVE DECFORCEIDLE DECIN ENCOUT ALGORITHM CMX639 DECOUT N/C ENCIN BIAS N/C DATAEN 1000UF .1UF CLKMODE1 VSS VDD ENCFORCEIDLE CLKMODE2 N/C DECCLK ENCCLK DGND C31 100 Ohm E4 2 1UF C9 BIAS 7 6 3 18 4 U1 2 14 15 16 17 5 19 20 21 11 22 J1:7 J1:6 J1:5 J1:4 10K R44 .1UF C37 1UF C11 VDD DGND 9 DGND 4 5 1K R13 13 11 DGND DGND 1 10K R24 10K S3 3 74HC04 12 U3:F 74HC04 10 U3:E 1 1K R15 1K 74HC04 2 U3:A 10K 4 R16 S2:2 R23 5 6 R21 10K R26 1K R12 74HC04 1K R14 U3:C 74HC04 74HC04 8 U3:D AGND 3 U3:B AGND 10K R25 DGND S2:4 10 9 1K S2:3 PCV+ 11 7 1K R18 10K 9 4 3 R22 S1:3 S1:2 S1:1 R39 7 5 1 J1:9 P1:2 J1:1 P1:1 J1:28 J1:8 PCMCIA:A7 PCMCIA:EXCLK-0 PCMCIA:C5 GND P1:5 PCMCIA:C4 PCMCIA:B0 DECIN PCMCIA:A0 ENCOUT PCMCIA:C3 PCMCIA:C2 PCMCIA:C1 J1:22 DGND J1:21 DGND J1:20 J1:19 DGND J1:18 9 AGND J1:24 PCMCIA:C7 AGND RC2 AUDIO OUT GND GND P2:3 P2:4 10K .1UF DECOUT R4 C6 10K .1UF P2:1 P2:2 2 1 ENCIN RC1 AUDIO IN R3 J1:15 DGND C5 PCMCIA:B6 PCMCIA:C0 J1:17 P1:4 DECCLK R28 2 1K C10 J1:2 J1:3 1000UF PCMCIA:A1 E8 PCMCIA:A2 C15 1K C2 P1:3 C12 E1 ENCCLK C13 68PF R17 E2 E7 C1 J1:26 10UF 33PF PCMCIA:OUT-0 .1UF www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 .1UF 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA 1K 2001 MX-COM, Inc. R27 CVSD CODEC Evaluation Kit EV6090 Evaluation Kit 4 Schematic Diagrams and PCB Layout Figure 6: CVSD Control Section All trademarks and service marks are held by their respective companies. Doc. # 20480218.003 www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 SPEAKER J4 HANDSET J2 1 2 3 4 C5 C4 C3 C2 C1 TEL_JACK/4 TELEPHONE J3 C5 C4 C3 C2 C1 100UF 5 U5 AGND V+_IN C22 8 7 1 1UF C35 AGND 4 + - 6 2 AGND 3 10K .1UF 100K AGND LM6482 + - 1 5 6 .1UF C18 LM6482 U4:A C19 V- 4 8 .1UF 470K C16 100PF R32 470PF + R33 3 - V+ 2 U4:B 7 NEW_BIAS R35 C20 0.1UF LM386 AGND 10UF C21 C24 AGND R36 AGND 100K 0.047UF MIC C23 R38 NEW_BIAS 100K R34 AGND 1 0.1UF C27 2 100K R31 3 E13 0.1UF C28 10K R30 AMPS SUMIN V+ 10K R41 R40 V- 5 6 3 2 + - + - V+ V- 4 8 1 7 LM6482 U6:B .1UF C25 LM6482 U6:A .1UF C26 AGND I/P_BIAS NEW_BIAS 10 10 Ohm C34 R37 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA 0.1UF C17 C29 V+ .1UF 2001 MX-COM, Inc. 100K CVSD CODEC Evaluation Kit EV6090 Evaluation Kit Figure 7: Audio Amp Section All trademarks and service marks are held by their respective companies. Doc. # 20480218.003 10K 0.01UF C30 J1 R42 100 Ω 1K C35 1UF 10K R44 1K R14 P3 .1UF C37 C11 68PF C2 1UF C28 GND OFF ON OFF ON 16Kbit 32Kbit 64Kbit EXTERNAL ALGORITHM 3bit OFF 4bit ON 2 3 C3 4 C1 1 10K R20 10K R21 10K R26 10K R23 10K R39 10K R19 C1 1 2 3 S1 C3 4 100K R31 DATAEN CLKMODE1 C4 CLKMODE2 ALGORITHM C2 ON POWERSAVE DECIN C4 DECFORCEIDLE OUTPUT DRIVER SECTION C2 ON ENCFORCEIDLE P2 ENCIN C23 DECOUT GND GND 10 Ohm R38 100UF 0.047UF SPEAKER J4 S2 0.1UF E4 ENCCLK DECCLK LOCAL DIGITAL CONTROL SECTION AUDIO OUT/ VOL ADJ 1 2 3 C22 0.1UF LM386 100K OFF OFF ON ON MX6X9 CIRCUIT SECTION 1UF C9 R34 E3 100K U5 ENCOUT CLKMODE1 CLKMODE2 10K R24 .1UF C26 C30 R40 10K C25 .1UF 1 2 3 R43 DECIN EV6090 TP1 0.01UF .1UF C29 U6 1UF C14 100 Ω P1 www.mxcom.com www.cmlmicro.co.uk www.cmlmicro.com.sg E7 .1UF C36 1000UF C32 U1 1M R2 E2 C12 E5 C13 .1UF POWER CONDITIONING SECTION P4 C1 33PF 100K 470PF R33 R1 3.9 10K R25 1K 1K X1 1.024MHz .1UF C3 R7 10K 10K R5 R32 470K C18 .1UF .1UF C16 U4 R41 10K C17 100PF R35 10K TEL HNDSET 10K R9 E1 C15 .1UF C10 S3 CMX639 .1UF C34 C8 2200PF C4 .1UF C27 .1UF 100K R37 U2 LM6482 C21 C6 .1UF 10K R4 LM6482 10UF C7 2200PF R8 10K AUDIO OUT RC2 10K R3 R36 MIC 1000UF S3 HALT E9 10UF E6 E11 C24 J3 E8 1000UF C33 R16 .1UF C5 R30 10K E13 J2 E10 LM6482 RC2 1K R27 100K C20 .1UF RC1 AUDIO IN AUDIO IN ADJ C19 RC1 R28 E12 R17 R6 U3 R22 1K R15 R10 R29 1K 1K R18 1K 1K 1K 1K 1K R13 R11 C31 74HC04 COMPUTER CONTROL SECTION R12 AUDIO CONTROL SECTION L1 20 1 33PF 37 19 GND V-IN EV6090 Evaluation Kit V+IN 11 VDDIN CVSD CODEC Evaluation Kit Figure 8: Evaluation Board Layout 5 Specifications Characteristic Signal Designator Storage temperature Operating temperature Analog ground Analog positive supply voltage Analog negative supply voltage DUT & Digital supply voltage Microphone input jack type V+ IN V- IN J2:4, J3:C1, J4:C1, P2:2, P2:4, P3:3 P3:1 P3:4 VDD IN MIC P3:2 J3:C1, C5 Speaker output jack type SPEAKER J4:C1, C3, C5 2001 MX-COM, Inc. AGND Connector Designator Min -20 10 0 Typ Max 0 70 35 0 Unit s °C °C V 5.5 0 V V 5.5 V 2.7 -5.5 3.0 mono or stere o stere o www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480218.003 All trademarks and service marks are held by their respective companies. CML Microcircuits COMMUNICATION SEMICONDUCTORS CML Product Data In the process of creating a more global image, the three standard product semiconductor companies of CML Microsystems Plc (Consumer Microcircuits Limited (UK), MX-COM, Inc (USA) and CML Microcircuits (Singapore) Pte Ltd) have undergone name changes and, whilst maintaining their separate new names (CML Microcircuits (UK) Ltd, CML Microcircuits (USA) Inc and CML Microcircuits (Singapore) Pte Ltd), now operate under the single title CML Microcircuits. These companies are all 100% owned operating companies of the CML Microsystems Plc Group and these changes are purely changes of name and do not change any underlying legal entities and hence will have no effect on any agreements or contacts currently in force. CML Microcircuits Product Prefix Codes Until the latter part of 1996, the differentiator between products manufactured and sold from MXCOM, Inc. and Consumer Microcircuits Limited were denoted by the prefixes MX and FX respectively. These products use the same silicon etc. and today still carry the same prefixes. In the latter part of 1996, both companies adopted the common prefix: CMX. This notification is relevant product information to which it is attached. Company contact information is as below: CML Microcircuits (UK)Ltd CML Microcircuits (USA) Inc. CML Microcircuits (Singapore)PteLtd COMMUNICATION SEMICONDUCTORS COMMUNICATION SEMICONDUCTORS COMMUNICATION SEMICONDUCTORS Oval Park, Langford, Maldon, Essex, CM9 6WG, England Tel: +44 (0)1621 875500 Fax: +44 (0)1621 875600 [email protected] www.cmlmicro.com 4800 Bethania Station Road, Winston-Salem, NC 27105, USA Tel: +1 336 744 5050, 0800 638 5577 Fax: +1 336 744 5054 [email protected] www.cmlmicro.com No 2 Kallang Pudding Road, 09-05/ 06 Mactech Industrial Building, Singapore 349307 Tel: +65 7450426 Fax: +65 7452917 [email protected] www.cmlmicro.com D/CML (D)/1 February 2002