CMLMICRO EV6021

EV6021
Evaluation Kit
User Manual
UM6021/4 August 2000
1.0
Features
Advance Information
• For CMX602B Product Evaluation
• User’s Prototyping Area
• Adjunct Box or Feature Phone
Configuration
• Socketed Space for Optional and
Telco-Specific Components
• Single Power Supply Operation
• Socketed PIC 16-Series µC
• LCD Display or RS232 Link to PC with
Software
• On-Board PIC Programming with Serial
Interface and PC Software
• On-Board Regulator
• 2- to 4-Wire Interface with Handset
Socket
• Socketed Components for Adjustment
1.1
Brief Description
The EV6021 Evaluation Kit comprises a single board containing a CMX602B, line interface components, PIC
µController and the option of using either the on-board 4-line LCD module or interfacing to a PC via a serial
communications port. For the latter mode of operation Windows software is supplied. When using the LCD
module three switches are used to select the EV6021 mode of operation.
The board is powered from a single 8 - 14V dc power supply; an on-board regulator sets VDD. LEDs indicate
control, interrupt and detect line status (ZP, MODE, IRQN and DET) and the CMX602B may be driven from an
external clock, or from its own crystal oscillator. Important signals can be monitored by test points. The
CMX602B is socketed for easy replacement; there is room for the user to fit a ZIF socket. A user prototyping
area is provided.
On-board circuitry may be used to implement a wetting pulse and to place an ac or dc load on the line. A hook
relay connects the 2- to 4-wire interface/op-amp hybrid for voice communications to the line. An external
phone socket for adjunct box demonstration is provided, the connection to which can be disabled with a relay.
A mutable local voice input and DTMF generator (for CIDCW acknowledgement tone) are provided. Operation
is indicated by LEDs. The CMX602B supply current may be measured by removing a jumper. Where
components are telco-specific (line impedance, line protection, ac-load, wetting pulse, etc.) space is provided
for the user to add appropriate components.
 2000 Consumer Microcircuits Limited
Evaluation Kit for CMX602B
EV6021
CONTENTS
Page
Section
1.0
Features ...............................................................................................1
1.1
Brief Description..................................................................................1
1.2
Preliminary Information.......................................................................4
1.2.1 Laboratory Equipment ............................................................4
1.2.2 Handling Precautions .............................................................4
1.2.3 Telephone Line Connection ...................................................4
1.3
Quick Start ...........................................................................................5
1.3.1 Setting-Up................................................................................5
1.3.2 Operation.................................................................................5
1.4
Signal Lists ..........................................................................................6
1.5
Circuit Schematics and Board Layouts............................................ 10
1.6
Detailed Description .......................................................................... 12
1.6.1 Hardware Description - Evaluation Board ........................... 12
1.6.2 Software................................................................................. 14
1.6.3 Firmware................................................................................ 19
1.6.4 Additional Information.......................................................... 21
1.7
Performance Specification................................................................ 26
1.7.1 Electrical Performance.......................................................... 26
 2000 Consumer Microcircuits Limited
2
UM6021/4
Evaluation Kit for CMX602B
EV6021
Caller ID
Simulator
External phone
option
EV6021
Local speech
input options
Power
Supply
Optional
IBM-PC
Block Diagram
Figure 1 Block Diagram
 2000 Consumer Microcircuits Limited
3
UM6021/4
Evaluation Kit for CMX602B
1.2
Preliminary Information
1.2.1
Laboratory Equipment
EV6021
The following laboratory equipment is needed to use this evaluation kit:
1.2.1.1
8 - 14V DC Power Supply.
1.2.1.2
Caller ID Simulator
1.2.1.3
Speech Source
If the user wishes to control the EV6021 from a PC and/or re-program the PIC on the board.
1.2.1.4
An IBM compatible PC; 20MHz '386 or better, running Microsoft Windows 3.11 / '95 /NT. The reprogramming software supplied (PICPROGA.EXE) runs most efficiently under DOS and cannot be
used with Windows NT.
1.2.2
Handling Precautions
Like most evaluation kits, this product is designed for use in laboratory environments. The following
practices will help ensure its proper operation.
1.2.2.1
Static Protection
This product uses low power CMOS circuits which may be damaged by electrostatic discharge.
Partially damaged circuits may function erroneously, leading to misleading results. Observe ESD
precautions at all times when handling this product.
1.2.2.2
Contents - Unpacking
Please ensure that you have received all of the items listed on the separate information sheet
(EK6021) and notify CML within 7 working days if the delivery is incomplete.
1.2.3
Telephone Line Connection
This Evaluation Kit is not approved for direct or indirect connection to any public
telecommunication system. Users are advised to observe local statutory requirements which
may apply to this product.
 2000 Consumer Microcircuits Limited
4
UM6021/4
Evaluation Kit for CMX602B
1.3
EV6021
Quick Start
This section provides instructions for users who wish to experiment immediately with the evaluation
kit. A fuller description of the kit and its use linked to a PC appears later in this document.
1.3.1
Setting-Up
THE EV6021 COMES PRE-CONFIGURED FOR OPERATION AT 3.3 VOLTS.
An RJ11 (US style) phone jack is provided for caller ID simulator connection. Power is connected via
the two-way socket, J5. No board adjustments are required by the user. Telco-specific components
may be added, as required.
1.3.2
Operation
Ensure no connection to serial port connector J6 and switch on the power supply. The message
EF6021 Vx.x will be visible on the LCD module plus an indication as to which function option is
selected. The three switches, SW2 to SW4, give the options of BT or Bellcore, Type 1 or Type 2 and
Adjunct Box or Feature Phone.
JP5
R59
R1V1
JP6
D24
D19
RP2
C27
C28
R67
PROG
SW6
LCD1
U5
OP
EF6021Vx.x
C24
Bell, Type2, FP
R24
J6
C1
RS232
HAND
SET D16
R54
D17
D18
R58
D15
D21
J3
IRQN
ZP
MODE
3
4
2
DET L'CAL MUTE
BELL/BT
TYPE2/1
FP/ADJ
Figure 2 Function Selection
A fuller description of these functions is given later in the document.
If a type 2 demonstration is selected switch SW1 should be set to ‘RESISTIVE’ which selects a
factory-fitted 600Ω line termination, (R21) but an alternative value can be substituted.
If a complex line termination is required, positions C11, R16 and R19 can be used with switch SW1
set to ‘COMPLEX’.
An off-hook dc load is provided by R8. The factory-fitted value is 2k2Ω but this may be removed or
an alternative value substituted.
D7
HOOK
R45
T1
C10
D7
R21TP3
R45
HOOK
R19
T1
C10
R16 R19 TP3
R21
U3
C11
R8
U3
R30
C11
R16
SW1
C7
RESISTIVE
R8
TP4 C14
C7
COMPLEX
SW1
RESISTIVE
R30
TP4 C14
COMPLEX
Figure 3 Termination Positions
 2000 Consumer Microcircuits Limited
5
UM6021/4
Evaluation Kit for CMX602B
1.4
EV6021
Signal Lists
CONNECTOR PINOUT - EVALUATION BOARD
Connector
Ref.
Connector
Pin No.
Signal
Name
Signal
Type
J1
1, 2
-
-
Not Used. No connection needed.
3
A
BI
Bidirectional 'phone line (A = TIP).
4
B
BI
Bidirectional 'phone line (B = RING).
5, 6
-
-
Not Used. No connection needed.
1, 2
-
-
Not Used. No connection needed.
3
B
BI
Bidirectional external 'phone socket
(B = RING).
4
A
BI
Bidirectional external 'phone socket
(A = TIP).
5, 6
-
-
Not Used. No connection needed.
J2
J3
Description
1
Input
Microphone +ve.
2
Output
Speaker drive.
3
Output
Speaker drive.
4
Input
Microphone -ve.
J4
1
tip/pin2
VSS
speech
Power
Input
) Jack socket for mutable input
) from external speech source.
J5
1
VIN
Power
+ve power from external power supply.
2
VSS
Power
0V power from external power supply.
1
DCD
Output
PC connection (linked to DTR).
2
RXD
Output
PC data output.
3
TXD
Input
PC data input.
4
DTR
Input
PC connection.
5
VSS
Power
0V common connection to PC.
6
DSR
Output
PC connection (linked to DTR).
7
RTS
Input
PC ‘RTS’ connection.
8
CTS
Output
PC ‘CTS’ connection.
9
-
-
J6
 2000 Consumer Microcircuits Limited
6
Not used. No connection needed.
UM6021/4
Evaluation Kit for CMX602B
EV6021
TEST POINTS - EVALUATION BOARD
Test Point
Ref.
Default
Measurement
TP1
0V
VSS connection.
TP2
0V
VSS connection.
TP3
VDD/2
Line signal after transformer.
TP4
VDD/2
Hybrid transmit output (Local Voice).
TP5
VDD/2
Hybrid receive output (Remote Voice).
TP6
-
Muteable local speech input.
TP7
-
CMX602B RD input, pin 3.
TP8
-
CMX602B RT signal, pin 4.
TP9
-
CMX602B AOP signal, pin 5.
TP10
-
CMX602B RXD output, pin 15.
TP11
-
CMX602B RXCK input, pin 14.
TP12
-
CMX602B DET output, pin 13.
TP13
-
CMX602B IRQN output, pin 12. A pull-up resistor R11 is included on
board.
TP14
0V
VSS connection.
TP15
0V
VSS connection.
TP16
VDD
TP17
8 - 14V
VIN connection.
TP18
3.3V
VDD connection.
 2000 Consumer Microcircuits Limited
Description
VPP programming voltage input for PIC16C74A.
7
UM6021/4
Evaluation Kit for CMX602B
EV6021
JUMPERS - EVALUATION BOARD
Link
Ref.
Positions
Default
Position
JP1
1-2
s/c
Connect handset socket to muteable speech path.
JP2
1-2
s/c
Disconnect to supply an external clock to CMX602B via
pin 2.
JP3
1-2
s/c
Disconnect when supplying external clock to CMX602B
via JP2 pin 2.
JP4
1-2
s/c
Disconnect to measure IDD of evaluation device.
JP5
1-2
s/c
Disconnect to supply an external clock to PIC16C74A via
pin 1.
JP6
1-2
s/c
Disconnect when supplying external clock to PIC16C74A
via JP5 pin 1.
Description
s/c = short circuit
SWITCHES - EVALUATION BOARD
Link
Ref.
Positions
Default
Position
SW1
1-2/2-3
2-3
Resistive (default) or Complex line termination.
SW2
1-2/2-3
2-3
Feature Phone (default) or Adjunct Box.
SW3
1-2/2-3
2-3
Bellcore (default) or BT.
SW4
1-2/2-3
2-3
Type 2 or Type 1.
SW5
open/closed
open
PIC16C74A reset.
SW6
1-2,6-5/2-3,4-5
2-3,4-5
 2000 Consumer Microcircuits Limited
Description
Operating (default) or programming mode.
8
UM6021/4
6
4
2
6
4
PR1
1
3
J3
2
4
C1
GND
TP2
TP1
GND
47nF
C26
47nF
C25
SKT_HANDSET
C24
R2
VDD
10uF
47nF
R3
D1
10
7
10k
10nF
10k
R9
R5
VDD
RLY2:C
RLY1:C
250mA
C2
GND
1k
VDD
GND
VDD
EXTERNAL
PHONE
MUTE
skt
Wire Link
De-coupling for ICs 1 - 3.
GND
PHONE
5
3
1
J2
LINE
5
3
1
2
FS1
8
skt
Wire link
Not fitted
2
PROTO_12*20
7
R8
A
D12
D31
680pF
C6
680pF
C5
+
-
510k
C4
3
GND
LMC6482N
1
U1:A
1:1 600R
6
4
R10
1uF
R15
1
R16
240k
2
skt
skt
7
5
6
K
K
+
-
47k
R17
7
SW1
2
+
-
5
6
-
U3:A
100k
R22
2
10k
100k
R26
R24
100k
R23
R77
1
200k
R28
R27
GND
LMC6482N
3 +
COMPLEX
1
R25
R76
RING OR
LINE REVERSAL
SELECTION
470k
ZVNL120A
TR10
AC
LOAD
RESISTIVE
3
skt
C3
Not fitted
LMC6482N
U2:B
470k
R20
GND
skt
R6
Not fitted
600R
R19 skt
R21
TP3
160k
R18
1N4004
A
U1:B
LMC6482N
JP1
skt
C11
MATCH
TO
LINE
22uF
C10
470k
R12
470k
R11
100k
1N4004
A
D5
D4
1N4004
A
ZVNL120A
TR9
D3
K
K
skt
WETTING
PULSE
skt
1N4004
A
100k
D2
R13
K
100nF
27pF
3
A
1N4004
K
R14
1
A
1N4004
D30
C8
T1
GND
100nF
HOOK
2
K
K
C9
1N4004
GND
C7
2k2
skt
A
1N4004
D11
R7
Not fitted
1
10
8
1M8
TP6
TP4
TP5
390k
-
+
GND
LMC6482N
GND
TR2
2N7000
7
100nF
R31
J4
100k
U3:B
5
6
15k
R34
+
-
C13
270k
R35
TP9
skt
22pF
18pF
C18
TR4
TR3
BC183L
C16
ZVP4424A
GND
X1
3.579545
JP2
470k
skt
VDD
R36
External
CLOCK
GND
C17
TP8
TP7
100nF
270k
R32
330nF
R30
330pF
C14
200k
C12 skt
C15
470k
VDD
1
LMC6482N
R33
U2:A
ZVNL120A
TR1
82k
GND
R29
GND
120k
2
3
skt
R1
Not fitted
Not fitted
skt
JP3
100nF
4K7
R41
R37
1
2
J1
Not fitted
9
skt
1
2
 2000 Consumer Microcircuits Limited
RD
RT
AOP
INV
NINV
3
5
20k
GND
8
7
6
4
36k
C20
3.579545
GND
47nF
VDD
R40
U4
GND
100nF
C21
X2
7
6
5
4
3
2
1
16
14
R44
D6
VDD
RXD
9
10
11
12
TP5088
TONEOUT
N/C
D3
D2
D1
D0
MUTE
100nF
13
8
9
10
11
12
240R
R42
1k
GND
MUTE
DTMF_D0
DTMF_D1
DTMF_D2
DTMF_D3
DTMF
H/L
MODE
ZP
IRQN
DET
U5
TP10 TP11 TP12 TP13
100k
R/L
RXCK
GND
GND
R43
VDD
AC
WP
LV
13
C22
100nF
C23
JP4
VDD
Not fitted:C3 , C11, D1, R1, R2, R4, R6, R7, R16 and R19.
NOTES:
14
15
Vdd
En
/SING
GROUP
Vss
OSCIN
OSCOUT
Vbias
ZP
MODE
IRQN
DET
RXD
RXCK
Vdd
CMX602BP3
Vss
XTALN
XTAL
2
1
18pF
C19
1
1.5
2
R4
Evaluation Kit for CMX602B
EV6021
Circuit Schematics and Board Layouts
Figure 4 Analogue Section
UM6021/4
10
DTMF
DTMF_D3
DTMF_D2
DTMF_D1
DTMF_D0
MUTE
AC
WP
LV
R/L
H/L
MODE
ZP
DET
RXCK
RXD
IRQN
GND
TP14
VDD
D9
D8
D7
12
D10
D13
12
RLY_BT53
GND
AC
1N914
RLY2:A
1
RLY1:A
1
GND
BC183L
TR8
R47 1k
R39 1k
1M
R45 1k
1N914
WP
HOOK
GND
10k
10k
RLY_BT53
TP15
100nF
C43
GND GND
100nF
C42
R46
R38
VDD
RP1
1
2
3
4
5
6
R48
4k7
GND
R51
BC183L
TR5
9
7
5
LCD
MODULE
10k
1k
D29
ZP
WETTING PULSE
HOOK
AC LOAD
11
GND
VDD
VO
RS
R/W
E
DB0
DB1
DB2
DB3
DB4
DB5
DB6
DB7
N/C
N/C
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
U6:E
12
GND
GND
TYPE 2
TYPE 1
BELLCORE
BT
1
3
1
3
1
3
GND
R59
8k2
R57
15pF
C28
15pF
C27
SW4
SW3
SW2
2
2
JP5
GND
D21
2
D19
D20
VDD
R1V1
20k
L'CAL MUTE
1
VDD
4k7
4k7
4k7
1N914
1
SW5
1
GND
SWITCH_PTM
1N914
R60
R61
R62
4MHz
JP6
X3
2
2
2
GND
100k
GND
V_LCD
1k
R58
VDD
MODE
D18
D17
1N914
VDD
DET
IRQN
D16
D15
LOCAL MUTE
FEATURE PHONE
ADJUNCT BOX
1k
R56
1k
R55
LCD_M_4*20
LCD1
4k7
R75
U6:D
10
U6:C
6
U6:B
4
1k
R54
R53
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
D22
R63
RA0
/MCLR
VDD
RD1
RD0
RC3
RC2
RC1
RC0
OSC2
OSC1
Vss
Vdd
RE2
RE1
RE0
RA5
RA4
RA3
RA2
RA1
R64
100k
RP2
EXT PHONE MUTE
U7
PIC16C74A
1N914
270R
TP16
1M
RD2
RD3
RC4
RC5
RC6
RC7
RD4
RD5
RD6
RD7
VSS
VDD
RB0
RB1
RB2
RB3
RB4
RB5
RB6
RB7
VDD
VPP
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
C29
2
1M
R65
R52 1k
RXD
TXD
RTS
CTS
GND
47nF
C31
GND
1
VDD
GND
SNPSKT2
J5
A
D23
D14
GND
33uF
10k
C35
C32
K
C33
GND
5
4
9
10
11
12
6
3
3
VI
U8
VI
U10
skt
U9
C1-
V+
C1+
C37
15
8
7
14
13
3
2
15
U6:F
D25
GND
14
100nF
100nF
VDD
10uF
C36
1
R71
LM317T
240R
2
240R
R72
LM317T
GND
Vss
R2IN
T2OUT
T1OUT
2
VO
VO
R1IN
GND
GND
R69
33R
360R skt
R68
750R
R70
MAX3232
R2OUT
T2IN
T1IN
R1OUT
V-
C2-
C2+
Vdd
47nF
C34
100uF
16
VDD
GND
GND
100nF
100nF
1N914
D24
R67
SW6:A
C30 1N4001
TP17
XPHONE MUTE
1M
R66
Not fitted
U6:A
2
1
A
A
1
2
1
2
3
4
5
6
7
8
Switch
1
 2000 Consumer Microcircuits Limited
3
5
GND
SW6:B
C38
6V2
GND
1uF
C40
TP18
6V2
GND
1N5341
D28
GND
1N5341
D27
6
51k
100k
D26
PROG
OP
R73
4
GND
R74
1
2
3
4
5
6
7
8
9
J6
VDD
V_LCD
DB9F
GND
47nF
1N914
C41
VDD
De-coupling for IC 6.
1uF
C39
1N4001
K
A
K
A
K
A
3
Evaluation Kit for CMX602B
EV6021
Figure 5 Control Section
UM6021/4
11
CMX602B
Interface
To Line
Area
TR5
T1
C5
C6
R18
R20
U2
R75
R15
D29
D5
R25
RESISTIVE
SW1
R16
R19
C14
R22
R23
R31
C13
AC
TP14
R42
C21
R37 TP6
J4
R47
C1
R24
C24
U5
LCD1
J3
IRQN
HAND
SET D16
3
R54
D18
R56
U6
RP1
R63
LCD_M_4*20
C41
D21
R73
R62
JP5
C37
R74
D26
R66
R68
U9
C33
C28
TYPE2/1
R61
R60
C35
C32
C38
R69
JP6
VDD
TP18
R71
SW3
C36
X3
C27
C29
D20
C40
D25
VIN
TP17
DET L'CAL MUTE BELL/BT
R58
D15
R53
D19
PIC16C74A
D22
VPP R64
R72
C39
D27
R59
5
RP2
U7
SW5
4
MODE
R55
R70
IRQN
TP13
DET
TP12
RXCK
TP11
RXD
TP10
2
R57
ZP
D17
1
TP16
D28
board mod
U8
R43
JP4
R1V1
R17
C23
X1
R39
Handset Interface Area
C2
R26
U1
X2
C20
U4
CMX602AP
C4
R9
JP1 R10
LOCAL SPEECH
C26
C16
RX
TP5
D6
R44
DTMF
TR3
C22
RT C17
R35
VSS
TP7
VSS
TP2
TP8 RD
AOP
R36
TP9
C15
R33
R40 R41
R32
R29
R4
C12
R28
TR2
COMPLEX
TP4
R30
U3
R21 TP3
C3
TR1
R27
WP
DTMF Acknowledgement
generation Area
R11
R77
D30
D11
D2
R7
R34
C11
R76
D12
D31
D4
R14 D3
R13
R12
C25
C10
VSS
R1
D1
C42
R38 R46
R5
R3
2 To 4 Wire Interface
(Line Hybrid) Area
C7
J2
TP15
FS1
J1
D9
C43
SW4
U10
J5
C31
C34
J6
OP
PROG
RS232
SW2
D24
VSS
D23 C30
R65
TP1
VIN VSS
FP/ADJ
R67
MAX3232
R8
R45
RLY2
D10
C8
C9
R2
D8
R6 TR10
TP5088
HOOK
D7
R48
XPHONE
MUTE
R51
R52
RLY1
D14
TR8
D13
TR9
C19
JP3
JP2
C18
LINE
TR4
 2000 Consumer Microcircuits Limited
SW6
On-Hook CLI loads Area
Evaluation Kit for CMX602B
EV6021
74HC4049
Figure 6 Evaluation Board Layout
UM6021/4
Evaluation Kit for CMX602B
EV6021
1.6
Detailed Description
1.6.1
Hardware Description - Evaluation Board
1.6.1.1
Line Protection
Line protection is provided by R1 (47Ω), R2 (47Ω), and D1 (Philips BR211 series 140V). These
components are not fitted, but suitable values for UK applications are suggested in brackets. Wire
links which bypass R1 and R2 will need to be removed if these resistors are fitted.
1.6.1.2
AC or DC Load
An ac or dc load is provided by R4 (827Ω), R6 (1386Ω) and C3 (139nF). These components are not
fitted, but suitable values for UK applications are suggested in brackets. This load is switched in by
TRI0. An LED is illuminated when this occurs.
1.6.1.3
Wetting Pulse
A wetting pulse load is provided by R7, which is not fitted. For UK applications, a suitable value may
be in the region of 240Ω to 350Ω. The wetting pulse is switched in by TR9. An LED is illuminated
when this occurs.
1.6.1.4
External Phone
A second RJ11 socket, J2, is provided for an external telephone when the EV6021 is set to
demonstrate adjunct box functions. When muted/disabled an LED marked ‘XPHONE MUTE’ is
illuminated.
Note that this relay is normally closed, so do not connect a telephone to the external phone socket
J2 when running feature phone demonstrations.
1.6.1.5
Transformer and Op-Amp Hybrid / 2- to 4-wire interface.
The transformer and op-amp hybrid (formed by U3 A and B) are connected to the phone line by relay
RLY2. When energised an adjacent LED is illuminated.
An off-hook dc load, for feature phone mode, is provided by R8, factory set to 2k2Ω.
Line impedance matching is required in order to place signals on the line (acknowledgement tone of
type 2 / off-hook / cidcw sequences) and to be able to send and receive speech and other signals
(feature phone demonstration).
Two impedance matching options are available, resistive or complex, which can be selected using
switch SW1.
For resistive matching R21 is factory set to 600Ω.
For complex matching fit C11 (310nF), R16 (370Ω), R19 (620Ω). Suggested values for BT
applications are given in brackets.
R8 and R21 are socketed for easy removal and replacement.
Alternatively, matching components could be fitted across test points TP3 and TP4.
Access to hybrid signals is provided as follows:
The hybrid receive output (Rx = remote voice) is located on test point TP5.
The hybrid transmit output (Tx = local voice) is located on test point TP4.
1.6.1.6
Local Speech Paths
When emulating a feature phone, a muteable local speech path is available. A speech signal may be
input at either testpoint TP6 or jack socket J4. Alternatively with jumper JP1 fitted the local voice can
come from a telephone handset (not provided) connected to socket J3. When muted an LED
marked ‘L’CAL MUTE’ is enabled.
Note that the local speech path has a gain of ≈12dB.
 2000 Consumer Microcircuits Limited
12
UM6021/4
Evaluation Kit for CMX602B
1.6.1.7
EV6021
Operating Voltage
The operating voltage (VDD) is set to 3.3V. This may be altered by changing components R68 and
R69 which are socketed. To select 5.0Volts set R68 = 620Ω and R69 = 100Ω. The formula for
calculating the values of R68 and R69 is as follows:R68 + R69 =
240 ( VDD − 125
. )
125
.
Where 240 is the value of R71 in ohms and VDD is the required supply voltage.
1.6.1.8
Clock/Oscillator
The CMX602B may use either an external clock or its own xtal oscillator. A 3.58MHz xtal is provided
on-board for the latter method. Two jumpers JP2 and JP3, which are normally fitted, select the xtal
oscillator. An external clock may be supplied to JP2 pin 2 once the jumpers have been removed.
The PIC16C74A may be provided with an external clock in the same way by removing jumpers JP5
and JP6. Note that PICs programmed by CML are only configured for use with the on-board 4MHz
crystal.
The DTMF generator uses its own 3.58MHz xtal because the xtal oscillator is only operational when
the generator is active and the CMX602B has a 'zero-power' mode (in which its xtal oscillator is
disabled) preventing it from supplying a clock to the DTMF generator.
1.6.1.9
Ring/Line Reversal Detection
Ring/line reversal detection is provided by components C9, C8, R13, R14, R25 and R27 (or R27 in
parallel with R29), plus D2-D5 and TR1. The response time is set by components R33 and C15.
The evaluation board has been fitted with suitable components for UK applications. See CMX602B
data sheet for further details.
1.6.1.10 CMX602B Tone Alert/FSK Receive Path
This part of the CMX602B can be connected directly to the line, via amplifier U2: A, or to the Rx
output of the 2- to 4-wire interface.
When TR2 is conducting the signal from the line is disabled. Alternatively when TR3 is conducting
the signal from the 2- to 4-wire interface is disabled.
Note that if the signal path chosen is via the 2- to 4-wire interface absolute levels at the CMX602B
will depend upon the line impedance of the caller ID simulator in use and on the quality of the
termination of that line. This will have a bearing on tone alert decode and not-decode levels.
1.6.1.11 Handset Connection
A telephone handset can be connected via socket J3. The speaker drive is derived from the Rx
output of the 2- to 4-wire interface and the microphone output is fed to the muteable speech path via
amplifier U1:A and jumper JP1.
1.6.1.12 IDD Measurement
The evaluation device IDD may be measured by removing jumper JP4 and replacing it with a
multimeter.
1.6.1.13 DTMF Answerback Code
The DTMF answerback (digit D) for the type2 / off-hook / cidcw demonstrations is generated by U5
(National TP5088) and fed to the Tx input of the 2- to 4-wire interface.
 2000 Consumer Microcircuits Limited
13
UM6021/4
Evaluation Kit for CMX602B
EV6021
1.6.1.14 Line Voltage Monitoring
An indication of the level of line voltage is provided at the PIC µController port A bit 0 (Pin 2). For a
48 volt line the level at this point is ≈ 3.0V d.c. This pin of the µController can be re-configured as an
ADC input and, with appropriate firmware, be used to monitor the line voltage. Note that this feature
is not used by the current firmware revision.
1.6.2
Software
This section describes the operation of the EV6021 kit via the RS232 lead and the Windows software
supplied. The sequence of events for the demonstrations is covered in the Section 1.6.3 (Firmware).
1.6.2.1
Installation
The ES6021 Windows Application Software consists of a single executable file named
ES6021xx.EXE, where xx refers to the version number. Copy this from its 3.5” floppy disk to the
hard disk of the user’s PC.
Windows NT and '95
For convenient and quick launching of the program create an ES6021 shortcut within the Start menu
or Desktop.
Windows 3.11
For convenient and quick launching of the ES6021 software create a new program group and
ES6021 icon.
1.6.2.2 Start-up
When the application is run the initialise dialog box will pop-up in front of the applications main window.
At this point ensure the EV6021 is connected to an RS232 serial port of the PC, via connector J6, and turn on
the power to the board. If cancel is selected the PC will not make a connection to the EV6021 board.
 2000 Consumer Microcircuits Limited
14
UM6021/4
Evaluation Kit for CMX602B
1.6.2.3
EV6021
Main Window
Change the mode of operation of the CMX602B by checking the appropriate radio button in the CMX602B
modes section.
In the controls section checking either of External Phone Mute or Hook will energise the appropriate relay on
the EV6021 board. Checking AC load or Wetting Current will apply the appropriate load to the line.
Checking Local MUTE will disable the speech path via handset socket, J3 or jack socket, J4 or
testpoint TP6. Whenever DTMF is checked the current digit (selected in the combo box labelled
‘Digit’) will be generated by the EV6021 board (U5, TP5088).
The on-hook detection options override the setting of switch SW3 and control the level at the CMX602B pin 3.
The FSK/CAS source options override the setting of switches SW2 and SW4, selecting the path these signals
take from the line to the CMX602B.
The EV6021 Demonstrations buttons will run the functions or demonstrations described in the following
sections.
An indication will be made of the state of the RS232 communications link to the EV6021 board in the bottom
right of the panel.
 2000 Consumer Microcircuits Limited
15
UM6021/4
Evaluation Kit for CMX602B
1.6.2.4
EV6021
RxFSK dialog box
The EV6021 board is instructed to operate the CMX602B in receive mode with data re-timing
selected.
Characters received by the CMX602B will be displayed in the main read-only edit box. The display is
limited to 20,000 characters and will be cleared when this limit is exceeded.
The display can be cleared by the user by clicking the ‘Clear’ button. Click cancel to return to the
main window.
 2000 Consumer Microcircuits Limited
16
UM6021/4
Evaluation Kit for CMX602B
1.6.2.5
EV6021
Type 1/on-hook demonstration dialog box
This dialog pops up when either the BT or Bellcore type 1 demonstrations are selected. The precise
selection is displayed in the top left of the panel, in this case the BT demonstration is selected.
The EV6021 is instructed to perform the appropriate caller ID demonstration and the message data
is sent back to the PC and appears in the main read-only edit box.
The display and controls work as described for the RxFSK dialog box.
 2000 Consumer Microcircuits Limited
17
UM6021/4
Evaluation Kit for CMX602B
1.6.2.6
EV6021
Type 2/off-hook demonstration dialog box
This dialog box pops up when the BT/Bellcore type 2 demonstration is selected.
The EV6021 is instructed to perform the off-hook / type 2 / CIDCW demonstration. The nature of the
demonstration can be altered by selecting Feature Phone or Adjunct Box and Early or Late muting
on the right hand side of the dialog box.
The valid CAS detects and local Mute counters are provided to assist with talk-off and talk-down
testing, see later sections.
CLI message data is shown and the remaining controls are as described for the type 1 dialog box.
 2000 Consumer Microcircuits Limited
18
UM6021/4
Evaluation Kit for CMX602B
EV6021
1.6.3
Firmware
This section describes the operation of the EV6021 kit using the LCD module and the demonstration
selection switches SW2 to SW4. It also describes the sequence of events followed by the available
demonstrations.
1.6.3.1
Start-up
As described in Quick start section.
The opening messages will be EF6021 Vx.x (where x.x represents the version number), followed by
an indication of the current selection from switches SW2 to SW4.
1.6.3.2 Demonstration Selection
Use switches to alter the selection as indicated on the printed circuit silkscreen:
SW2 - Adjunct Box or Feature Phone.
SW3 - BT or Bellcore.
SW4 - Type1 or Type2.
When a new selection has been made the start up messages will be displayed on the LCD until a new CLI
message has been received.
1.6.3.3
BT type 1 demonstration
This demonstration covers the BT on-hook service initiated by a line reversal followed by an alert
tone, see flowchart in CMX602B datasheet (application notes section). CLI message parameters are
displayed on the LCD.
On the EV6021 board, FET TR9 is switched on to provide wetting current for 15ms during the silent
period between the alert tone and the FSK data. A resistor can be fitted in the R7 position if a
current wetting pulse is required.
FET TRI0 is switched on during the FSK receive period.
components can be fitted in positions R4, R6 and C3.
1.6.3.4
If an ac termination is required,
Bellcore type 1 demonstration
This demonstration covers the Bellcore on-hook service associated with ringing, see flowchart in
CMX602B datasheet (application notes section). Any ringing of duration < 500ms is assumed to be
a line reversal and is ignored. CLI message parameters are displayed on the LCD.
Relay 1 is energised during the FSK receive period. If an ac termination is required, components
can be fitted in positions R4, R6 and C3.
1.6.3.5
BT and Bellcore type 2 demonstration
This demonstration covers both the BT and Bellcore off-hook caller ID services, see flowchart in
CMX602B datasheet (application notes section).
If ‘Feature Phone’ is selected, the local speech path is enabled and muted when a CAS tone is
detected (when the CMX602B DET output is set in tone alert mode, termed early mute). Also signals
from the line, e.g. CAS tone, will be taken from the Rx side of the 2 to 4 wire interface.
If ‘Adjunct Box’ is selected, the link to an external telephone, socket J2, is muted when a valid CAS
tone has been received (when CMX602B IRQN pin goes low in tone alert mode, termed late mute).
If the EV6021 is linked to a PC, see section 1.6.2, the point at which muting occurs can be toggled
between early and late.
 2000 Consumer Microcircuits Limited
19
UM6021/4
Evaluation Kit for CMX602B
EV6021
Counters record the number of times muting has occurred (M) and the number of times a valid CAS
tone has been detected (C). The counts are displayed on row 3 of the LCD.
DTMF digit ‘D’ is transmitted on to the phone line as an acknowledgement tone. If the EV6021 is
linked to a PC other DTMF digits can be sent as an acknowledgement. CLI message parameters
are displayed on the top two rows of the LCD.
On the EV6021 board, the line termination resistor R21 (factory-fitted 600Ω) should be fitted and the
switch SW1 set to ‘RESISTIVE’. If an off-hook dc load is required, for feature phone mode, a
resistor must be fitted in position R8 (factory-fitted 2k2Ω).
If a complex termination is required positions C11, R16 and R19 can be used with switch SW1 set to
‘COMPLEX’.
 2000 Consumer Microcircuits Limited
20
UM6021/4
 2000 Consumer Microcircuits Limited
21
Optional
IBM-PC
Input via external phone socket (adjunct box case)
or handset socket, jack socket or TP6
(feature phone case)
EV6021
Power
Supply
1.6.4
Speech
Source
Near End Talk Off
Evaluation Kit for CMX602B
EV6021
Additional Information
Figure 7 Near End Talk-Off Tests With The EV6021
UM6021/4
EV6021
Speech
Source
Caller ID
Simulator
Far End Talk Off
Far speech
EV6021
Power
Supply
Optional
IBM-PC
Evaluation Kit for CMX602B
Figure 8 Far End Talk-Off Tests With The EV6021
 2000 Consumer Microcircuits Limited
22
UM6021/4
 2000 Consumer Microcircuits Limited
23
Speech
Source
Caller ID
Simulator
CAS
tones
Near End Talk Down
Optional
IBM-PC
Input via external phone socket (adjunct box case)
or handset socket, jack socket or TP6
(feature phone case)
EV6021
Power
Supply
Evaluation Kit for CMX602B
EV6021
Figure 9 Talk Down Tests With The EV6021
UM6021/4
Evaluation Kit for CMX602B
1.6.4.1
EV6021
In-circuit re-programming of PIC16C74A
In order that the PIC16C74A µController may be re-programmed the existing program must be
erased by placing the device in a uv- eraser for approximately 15 minutes.
TO ENTER PROGRAMMING MODE
(a)
(b)
(c)
(d)
Remove power from board
Set switch, SW6, to ‘PROG’
Re-apply power to board
Connect the programming voltage (VPP = 12.5V to 13.5V) power supply between test point
TP16 (+ve) and VSS (-ve)
(e) Ensure the PIC µC programming utility PICPROGA.EXE is loaded into the PC under DOS and
the PC is connected to the evaluation kit
(f) Reset the EV6021 board by momentarily pressing switch, SW5
USING THE SOFTWARE - PICPROGA
This is supplied on disk as a self-documented executable file PICPROGA.EXE for a PC running
DOS (either directly or as a DOS window in Windows 3.11 or '95). It is not recommended for use on
Windows NT systems. Please note that this programming software does not meet the Arizona
Microchip Technology verification requirements for a "production quality" programmer. Also, it does
not support the programming of ID locations and there is no checksum facility.
The user interface consists of two windows. The top window contains the operating instructions and
the bottom window shows the command line and data communications with the PIC µC. When the
top window first appears the user will be prompted to enter the number of the serial communications
port to which the EV6021 board is connected. Once the user has entered this number, the following
commands are displayed:
press F
to load file
press C
to enter Configuration Word.
press B
to check target device is blank.
press P
to program target device.
press V
to verify target device.
press R
to read target device.
press A
to view contents of program data array.
Currently - xxxx
press Esc to return to DOS.
A new function from the above table can be selected whenever the >ok prompt appears in the
bottom window.
Notes:
a)
Assembler output files must be in the Intel hex format (.HEX) in order to be usable by this
programming software.
b)
The PIC µC supplied has a Configuration Word which is preset 3FB1H. This selects the crystal
oscillator, disables the watch dog timer, enables the power up timer and disables code
protection. The programming software currently defaults to 3FB1H. Consult Arizona
Microchip Technology for more information on the Configuration Word.
 2000 Consumer Microcircuits Limited
24
UM6021/4
Evaluation Kit for CMX602B
EV6021
c)
The "blank check" command (B) only looks at the first location. A programmed device will
always have data in this location as it is the program start address.
d)
For each of the commands B,P,R and V the user will be prompted to manually reset the
target µC, by pressing the RESET switch (SW5) on the EV6021 Evaluation Board. This is
because PIC programming always starts from location 0000 and the program counter can only
be incremented.
e)
Pressing A will display the program data in the bottom window, formatted in pages of 48
consecutive locations. Use the <PageUp> and <PageDown> keys to scroll through the data.
Pressing <Esc> will return the user to the >ok prompt.
TO LEAVE PROGRAMMING MODE
(a) Remove power from board (including the programming voltage, VPP).
(b) Set switch, SW6, to ‘OP’.
(c) Power up board as described in previous sections for normal operation.
1.6.4.2
DTMF Generator
For anyone wishing to write their own code for the EV6021 the code table for the DTMF generator,
U5, is as follows:
DTMF GENERATOR DECODE TABLE
pin 12 (D3)
pin 11 (D2)
pin 10 (D1)
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
 2000 Consumer Microcircuits Limited
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
25
pin 9 (D0)
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
DTMF
CODE
D
1
2
3
4
5
6
7
8
9
0
*#
A
B
C
UM6021/4
Evaluation Kit for CMX602B
1.7
Performance Specification
1.7.1
Electrical Performance
EV6021
Absolute Maximum Ratings
Exceeding these maximum ratings can result in damage to the Evaluation Kit.
Min.
-0.3
-0.3
-0.3
0
-20
+10
Supply (VIN - VSS)
Supply (VDD - VSS)
Voltage on any pin to VSS
Current into or out of VIN and VSS pins
Current into or out of any other pin
Storage Temperature
Operating Temperature
Max.
40.0
7.0
VDD + 0.3
+1.5
+20
+70
+35
Units
V
V
V
A
mA
°C
°C
Max.
14.0
5.5
+35
3.583125
20.0
4.0
Units
V
V
°C
MHz
MHz
MHz
Operating Limits
Correct operation of the Evaluation Kit outside these limits is not implied.
Notes
Supply (VIN - VSS)
Supply (VDD - VSS)
Operating Temperature
External Clock Frequency for CMX602B
External Clock Frequency (for µC at 5.0V VDD)
External Clock Frequency (for µC at 3.0V VDD)
Min.
8.0
3.0
+10
3.575965
0.1
0.1
Operating Characteristics
For the following conditions unless otherwise specified:
Evaluation Device and DTMF Generator Xtal Frequency = 3.579545MHz, µC = 4.00MHz
VDD = 3.3V to 5.0V, Tamb = +25°C.
Notes
Min.
Typ.
Max.
Units
DC Parameters
IDD (evaluation board - idle)
1
-
50.0
-
mA
AC Parameters
Xtal/Clock Input to Evaluation Device
‘High’ pulse width
‘Low’ pulse width
2
2
100
100
-
-
ns
ns
50.0
50.0
-
-
ns
ns
OSC1 Input to PIC µC
‘High’ pulse width
‘Low’ pulse width
Notes:
1. Relays not energised.
2. Timing for an external input to the CLOCK/XTAL pin.
Operating Characteristics - Timing Diagrams
For CMX602B timing information, refer to current CML CMX602B Data Sheet.
 2000 Consumer Microcircuits Limited
26
UM6021/4
Evaluation Kit for CMX602B
EV6021
CML does not assume any responsibility for the use of any circuitry described. No IPR or circuit patent licences are implied. CML
reserves the right at any time without notice to change the said circuitry and this evaluation kit specification. Evaluation kits are supplied
for the sole purpose of demonstrating the operation of CML products and are supplied without warranty. They are intended for use in a
laboratory environment only and are not for re-sale, end-use or incorporation into other equipments. Operation of evaluation kits outside
a laboratory environment is not permitted within the European Community. All software is supplied "as is" and is without warranty. It
forms part of the evaluation kit and is licensed for use only in this kit, for the purpose of demonstrating the operation of CML products.
Whilst all reasonable efforts are made to ensure that software contained in this product is virus free, CML accepts no responsibility
whatsoever for any contamination which results from using this software and the onus for checking that the software is virus free is
placed on the purchaser of this evaluation kit.
Oval Park - LANGFORD
MALDON - ESSEX
CM9 6WG - ENGLAND
Telephone: +44 (0)1621 875500
Telefax:
+44 (0)1621 875600
e-mail:
[email protected]
http://www.cmlmicro.co.uk
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