ETC EV8680

EV8680
Evaluation Kit
User Manual
UM8680/2 November 2000
1.0
Advance Information
Features
• CMX868 Product Evaluation
• PC Controlled via Terminal Emulator
• Fully Isolated 2-Wire Line Interface
• DIP or SOIC Product Evaluation
• Modem Calling/Answering Demonstrations
• User’s Prototyping Area
• ‘AT’ Command Compatible Firmware
• On-Board PIC Programming
• Opto Isolated Ring Detect Circuitry and
OptoMOS Hook Relay
• Socketed Space for Optional TelcoSpecific Components
• Single Power Supply Operation with OnBoard Regulator
• Socketed Components and Links for
Circuit Adjustment
1.1
Brief Description
The EV8680 Evaluation Kit comprises a single board containing a CMX868 V.22 bis Modem IC, line interface
components and a PIC µC with serial communications port for interfacing to a PC. AT Commands are used to
control the evaluation board via standard terminal emulators.
The board is powered from a single 8 - 14V dc power supply; an on-board regulator and two discrete
components set VDD to provide 2.7 Volt or 5.0 Volt operation. LEDs indicate carrier detect and hook relay
status. The CMX868 may be driven from an external clock, or from the on-board crystal oscillator.
Removal of jumpers allows the user to measure device current and also to disconnect the ‘C-BUS’ control
lines from the on-board µC to allow control from an external system. Important signals can be monitored via
test points and header pins.
The evaluation board has a 2-wire line interface to provide line matching and dc isolation. This 2-wire interface
is connected to the line using an OptoMOS relay.
The CMX868 and µC are fitted in DIL sockets for easy replacement. Where components are telco-specific
(line impedance, line protection, etc.) space is provided for the user to add appropriate components.
 2000 Consumer Microcircuits Limited
Evaluation Kit for CMX868
EV8680
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 Approvals.................................................................................4
1.3
Quick Start ...........................................................................................5
1.3.1 Setting-Up................................................................................5
1.3.2 Adjustments ............................................................................5
1.3.3 Operation .................................................................................5
1.4
Signal Lists ..........................................................................................7
1.5
Circuit Schematics and Board Layout..............................................10
1.6
Detailed Description ..........................................................................13
1.6.1 Hardware Description............................................................13
1.6.2 Adjustments and Controls....................................................14
1.6.3 Firmware Description............................................................14
1.6.4 Software Description.............................................................25
1.6.5 Additional Information ..........................................................27
1.6.6 Example EV8680 Modem Tests.............................................28
1.6.7 Example EV8680 Device Evaluation Tests ...........................31
1.6.8 BER Measurement.................................................................33
1.6.9 Troubleshooting....................................................................35
1.7
Performance Specification ................................................................36
1.7.1 Electrical Performance..........................................................36
Note: This product is in development: Changes and additions will be made to this
specification. Items marked TBD or left blank will be included in later issues.
Information in this data sheet should not be relied upon for final product design.
 2000 Consumer Microcircuits Limited
2
UM8680/2
Evaluation Kit for CMX868
EV8680
Power
Supply
J5
J4
IBM-PC
RS232 Cable
EV8680
J1
Modem
or
Telephone
Line Simulator
Figure 1 Block Diagram
 2000 Consumer Microcircuits Limited
3
UM8680/2
Evaluation Kit for CMX868
1.2
Preliminary Information
1.2.1
Laboratory Equipment
EV8680
The following laboratory equipment is needed to use this evaluation kit:
1.2.1.1 8 - 14V dc Power Supply
1.2.1.2 An IBM compatible PC; 66MHz ‘486 or better, running Microsoft WindowsTM 95/NT. The PIC
programming software supplied (PICPROGB.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 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.
1.2.2.2 Contents - Unpacking
Please ensure that you have received all of the items on the separate information sheet (EK8680) and
notify CML within 7 working days if the delivery is incomplete.
1.2.3
Approvals
This product 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
UM8680/2
Evaluation Kit for CMX868
1.3
EV8680
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 appears later in this document.
1.3.1
Setting-Up
THE EV8680 COMES PRE-CONFIGURED WITH A CMX868 DIP DEVICE FOR OPERATION AT 5.0
VOLTS. THE IDC HEADER, J2, HAS ALL 5 JUMPERS INSERTED TO PROVIDE ‘C-BUS’
CONTROL FROM THE ON-BOARD PIC.
An RJ11 (US style) phone jack, J1, is provided for 2-wire line connection. Power is connected via the
two-way socket, J5.
Attach the 9-way RS232 cable between connector J4 and the serial port of the PC. Connect an
external modem/line simulator to the evaluation kit using a suitable RJ11 telephone cable (not
supplied).
1.3.2
Adjustments
The line matching components can be adjusted, as required (refer to CMX868 data sheet and ETAL
transformer recommendations). Telco-specific components may be added, as required.
1.3.3
Operation
The EV8680 Evaluation board allows the user to perform calling, answering and simple data transfer
with a suitable simulator or external third party modem (not supplied). The board also allows the user
to attach laboratory test equipment to perform simple CMX868 device evaluation tests i.e. current
measurement, tone generation and detection.
The board is controlled by the AT command set described in Section 1.6.3, by running a terminal
emulator program on the host PC. A suitable emulator is the ‘Hyper Terminal’ program which
operates under Windows 95/NT systems. The EV8680 AT command set consists of Basic, Extended
and CML Specific commands.
The board has two modes of operation:
AT Command Mode
In this mode the command processor firmware is constantly checking to see if the user has typed a
valid AT command. When a valid command is received the firmware will execute that command.
While the firmware is operating in this mode, the user can instruct it to manually answer a call,
originate a call, go on/off hook, read/write to S-registers, issue CML specific AT commands, and
perform any number of other AT command functions.
The board always starts in AT Command mode after power is applied and board initialisation is
complete.
The CML specific AT commands allow the user to directly control the CMX868 device for evaluation
purposes. Note, customer modified CMX868 device registers will be overwritten when Dial and
Answer AT commands are executed.
 2000 Consumer Microcircuits Limited
5
UM8680/2
Evaluation Kit for CMX868
EV8680
The Dial and Answer commands will execute the relevant DTMF transmit, call progress tone detection
and negotiation (handshaking) firmware routines before a connection to a remote modem/simulator
can be established. Negotiation may be aborted by pushing any key.
Note, if the S0 register is modified to a non-zero value during this operating mode, the CMX868 status
register will be polled every 20ms to check for ring detect status. If valid ringing is detected the
EV8680 Evaluation board will automatically answer a call after n ring cycles. Where n is equivalent to
the contents of the S0 register.
Data Transfer Mode
After gaining a connection (i.e. successful negotiation) with a remote modem the board will be
operating in data transfer mode. In this mode the board will transmit all the data it receives from the
RS232 computer terminal to the remote modem via the 2-wire line. Likewise any data received from
the remote modem via the 2-wire line will be sent to RS232 computer terminal.
Whilst operating in this mode the data stream from the RS232 computer terminal is monitored for the
escape code sequence (+++). If this sequence is encountered during data transfer the firmware will
revert to on-line AT command mode. Whilst in on-line AT command mode the board to remote
modem connection may be aborted by typing ATH0 (instructs modem to go on-hook). Alternatively
the user can enter relevant AT commands or return to data transfer mode by using the ATO
command.
The modem line speed is much lower than the speed of the RS232 interface (RS232 is running at
19200bps) and the EV8680 firmware only provides a small amount of data buffering. Therefore to
prevent the data buffer from overflowing the data flow between the µC and RS232 is controlled by the
RTS/CTS (Request/Clear to Send) hardware handshake lines.
The CMX868 settings used during negotiation and data transfer will be based on the contents of the
S-registers when the call was originated or answered. The S-registers are described in Section 1.6.3.
Certain S-register settings (relevant to the CMX868 configuration), modified during on-line AT
command mode, will only take effect when a new call is originated or answered. For example, new
CMX868 Tx gain settings (S25 register) modified in on-line AT command mode will be ignored until the
next call.
 2000 Consumer Microcircuits Limited
6
UM8680/2
Evaluation Kit for CMX868
1.4
EV8680
Signal Lists
CONNECTOR PINOUT
Connector
Ref.
Connector
Pin No.
Signal
Name
Signal
Type
Description
J1
1, 2
-
-
No connection needed
3
A
BI
Bidirectional 2-wire line (A=TIP)
4
B
BI
Bidirectional 2-wire line (B=RING)
5, 6
-
-
No connection needed
1
PICCSN
Output
PIC16LC76 RC2 pin
2
CSN
Input
CSN ‘C-BUS’ Chip Select
3
PICCDATA
Output
PIC16LC76 RC5 pin
4
CDATA
Input
CDATA ‘C-BUS’ Command Data
5
PICSCLK
Output
PIC16LC76 RC3 pin
6
SCLK
Input
SCLK ‘C-BUS’ Serial Clock
7
PICRDATA
Input
PIC16LC76 RC4 pin
8
RDATA
Output
RDATA ‘C-BUS’ Reply Data
9
PICIRQN
Input
PIC16LC76 RB0 pin
10
IRQN
Output
CMX868 IRQN output, pin 23. Pull up
resistor R16 is included on board
1
VDD
Power
VDD connection
2
VDD
Power
VDD connection
3
MODEA
-
MODEA programming pin
4
MODEB
-
MODEB programming pin
5
VSS
Power
VSS connection
6
VSS
Power
VSS connection
7
TEST0
Output
Reserved for future use
8
TEST1
Output
Reserved for future use
9
TEST2
Output
Reserved for future use
10
TEST3
Output
Reserved for future use
11
VDDADJ
-
VDDADJ adjustment connection
12
VSS
Power
VSS connection
13
VSS
Power
VSS connection
14
RESET
Input
PIC16LC76 Reset
15
VPP
Input
VPP programming voltage for PIC16LC76
16
VIN
Power
VIN connection
J2
J3
 2000 Consumer Microcircuits Limited
7
UM8680/2
Evaluation Kit for CMX868
EV8680
CONNECTOR PINOUT
Connector
Ref.
Connector
Pin No.
Signal
Name
Signal
Type
Description
J4
1
DCD
Output
Connection to PC DCD
2
TXD
Output
Connection to PC RXD
3
RXD
Input
Connection to PC TXD
4
DTR
Input
Connection to PC DTR
5
VSS
Power
Connection to PC 0V common
6
DSR
Output
Connection to PC DSR
7
RTS
Input
Connection to PC RTS
8
CTS
Output
Connection to PC CTS
9
RI
Output
Connection to PC RI
1
VIN
Power
+ve power from external power supply
2
VSS
Power
0V power from external power supply
J5
TEST POINTS
Test Point
Ref.
Default
Measurement
Description
TP1
-
Modem line signal after transformer, T1
TP2
-
CMX868 RD, pin 5
TP3
-
CMX868 RT, pin 6
TP4
0V
VSS connection
TP5
0V
VSS connection
TP6
-
CMX868 RXAFB, pin 9
TP7
0V
VSS connection
TP8
-
CMX868 RLYDRV, pin 3
TP9
0V
VSS connection
TP10
0V
VSS connection
TP11
-
CMX868 TXA, pin 15
TP12
-
CMX868 TXAN, pin 14
TP13
HI
Modem CDN
TP14
5V
VDD connection
TP15
0V
VSS connection
 2000 Consumer Microcircuits Limited
8
UM8680/2
Evaluation Kit for CMX868
EV8680
LINKS
Link
Ref.
Positions
Default
Position
Description
LK1
Open/Closed
Closed
MAX3237CAI /EN connection to VSS
LK2
Open/Closed
Closed
MAX3237CAI /SHDN connection to VDD
LK3
Open/Closed
Closed
On-board regulator (U5) output connection to VDD
Description
JUMPERS
Jumper
Ref.
Positions
Default
Position
JP1
1-2
S/C
Disconnect when supplying external clock to CMX868 via
pin 2
JP2
1-2
S/C
Disconnect when supplying external clock to CMX868 via
JP1 pin 2
JP3
1-2
S/C
Disconnect to measure IDD of CMX868
JP4
J2:1 - J2:2
S/C
Disconnect when supplying external CSN to CMX868
JP5
J2:3 - J2:4
S/C
Disconnect when supplying external CDATA to CMX868
JP6
J2:5 - J2:6
S/C
Disconnect when supplying external SCLK to CMX868
JP7
J2:7 - J2:8
S/C
Disconnect when supplying external RDATA to CMX868
JP8
J2:9 - J2:10
S/C
Disconnect when supplying external IRQN to CMX868
Notes: BI
S/C
=
=
Bidirectional
Short Circuit
 2000 Consumer Microcircuits Limited
9
UM8680/2
6
4
HOOK
2-Wire Line
5
3
2
VDD
R1
6
RB1
C2
AQV253H
4
5
U1
OptoMOS Hook Switch
2
1
R4
BC183L
Gyrator for DC loop current
22R (1W)
TR1
BC183L
TR2
4u7F (100V)
skt
R5
8k2 (1W)
D1
skt
wire link
N/F
R3
K
A
12V
Opto Isolated
Ring Detect
D3
D2
8V2
U2
1
2
4N35
6
4
6
T1
600R
4
5
VDD
3
1
R10
470k
RT
TP3
skt
TP4
VSS
wire link
R12
CMXVDD
HOOK
TP5
VSS
TP6
RXAFB
skt
100k
R11
C6
Footprints for alternative matching.
Default = 600 Ohms.
TP1
VDD
TP2
RD
HOOK
D6
620R
330nF
12V
TP8
RLYDRV
External
Clock
skt
TP9
VSS
510R
R14
TP7
VSS
skt
15nF
C8
22pF
100k
TP10
VSS
1
2
C1
470nF (250V)
C4 skt
1
2
A
A
1
680R
D4
D5
C28
TP12
TXAN
TP11
TXA
JP1
11.0592MHz
1
2
100nF
12
VSS
RXA
RXAN
TXAN 14
VBIAS 13
VDD 16
TXA 15
11
10
9 RXAFB
SERCLK 20
COMDATA 19
VDD 24
IRQN 23
22
REPDATA
VSS 21
CSN 18
VSS 17
U3
CMX868P4
JP3
7 VDD
8 VSS
5 RD
6 RT
RLYDRV
4 VSS
3
1 XTALN
2 XTAL/CLK
JP2
22pF
VDD
1
2
C11
CMXVDD
Device Current
Monitoring
100nF
X1
C15
C10
100nF
R2
R9
skt
wire link
10k
R13
N/F
C13
100nF
J1
C3
C5 skt
1N4004
33nF
wire link
K
A
skt
R6
4u7F (100V)
C9
FS1
250mA
100pF
K
R7
100nF
skt
K
R8
27k
skt
skt
C7
10
R15
 2000 Consumer Microcircuits Limited
C12
VDD
CMXVDD
CSN
SCLK
RDATA
R16
CDATA
IRQN
1.5
100k
VDD
Evaluation Kit for CMX868
EV8680
Circuit Schematics and Board Layout
Figure 2 Modem Section
UM8680/2
33k
CD
D7
15pF
C17
15pF
C16
VDD
TEST3
TEST1
X2
4MHz
TP13
CDN
PICSCLK
TEST2
TEST0
VDD
PICCSN
14
13
12
11
10
9
8
7
6
5
4
3
2
1
CMX868 CBUS Connecter
Jumpers fitted to connect PIC
control lines to CMX868 CBUS.
Remove jumpers to control
CMX868 from external source.
RC3/SCK/SCL
RC2/CCP1
PIC16LC76
RC1/T1OSC/CCP2
U4
100k
RC0/T1OSO/T1CKI
OSC2/CLKOUT
OSC1/CLKIN
VSS
RA5//SS/AN4
RA4/T0CKI
RA3/AN3/Vref
RA2/AN2
RA1/AN1
RA0/AN0
/MCLR/Vpp
D8
1N914
PICCSN
1
J2:1
CSN
2
J2:2
PICCDATA
3
J2:3
CDATA
J2:4
4
680R
R17
PICSCLK
5
J2:5
SCLK
6
J2:6
PICRDATA
7
J2:7
RDATA
8
J2:8
PICIRQN
9
J2:9
IRQN
10
J2:10
VDD
For PIC Programming connect MODEA
to MODEB using a 2-way jumper.
J3:1
1
1M
VDD
2
R19
VDD
RC4/SDI/SDA
RC5/SDO
RC6/TX/CK
RC7/RX/DT
VSS
VDD
RB0/INT
RB1
RB2
RB3
RB4
RB5
RB6
RB7
VDD
VPP
15
16
17
18
19
20
21
22
23
24
25
26
27
28
PICRDATA
PICIRQN
VDD
Test Connector
1M
C18
100nF
PICCDATA
VDD
VDD
MODEB
MODEA
D9
RS1
1
2
3
4
5
6
7
8
MODEA
3
J3:2
4
J3:3
MODEB
J3:4
1M
5
J3:5
TP14
VDD
VDD
2
L1
LK3
470nF
1
47uH
100nF
DCDN
DSRN
CTSN
DTRN
RTSN
RIN
PICRXDN
PICTXDN
10k
R18
J3:6
6
8
7
6
5
4
3
2
1
J3:7
TEST0
7
RS2
TEST1
8
J3:8
9
J3:9
TEST2
1N914
C14
RS3
TEST3
10
J3:10
VDDADJ
11
J3:11
C21
C20
100nF
VO
3
R23
skt 100R
V-
C2-
GND
C2+
4
3
2
1
11
10
9
8
7
K
A
14
13
1N4004
D10
/SHDN
/EN
T5OUT 12
R3IN
T4OUT
R2IN
R1IN
T3OUT
T2OUT 6
T1OUT 5
VDDADJ
skt 620R
R22
VI
Resistors R22 and R23 set VDD.
Default = 5V.
Change R22 to 180R for VDD=2.7V.
C22
2
U6
MAX3237CAI
U5
LM317LZ
MBAUD
R1OUTB
T5IN
R3OUT
T4IN
R2OUT
R1OUT
T3IN
T2IN
T1IN
C1-
VCC
V+
C1+
100nF
15
16
17
18
19
20
21
22
23
24
25
26
27
28
C24
C23
100uF (16V)
240R
270R
R21
R20
10uF (16V)
1
2
3
4
5
6
7
8
12
J3:12
13
J3:13
RESET
14
J3:14
VPP
15
J3:15
VIN
16
J3:16
A
1
1
1
1
VIN
LK2
LK1
C25 470nF
C26 470nF
C27
2
C19
RESET
33uF(63V)
11
2
2
TP15
VSS
Input Voltage
8V to 14V
RS232
J4
VDD
1
2
3
4
5
6
7
8
9
J5
1
 2000 Consumer Microcircuits Limited
2
SW1
Evaluation Kit for CMX868
EV8680
Figure 3 Control Section
UM8680/2
100nF
Evaluation Kit for CMX868
EV8680
RS1
D7
CD
TP5
VSS
2
D8
VSS
X2 C17
TP14
VIN
VDD
R23
R22
C27
C22
U5
D10
R21
VSS
RS232
C24
C21
C20
U6
C18
L1
C26
C25
RS2
R16
VSS
C23
9
1
10
2
LK1 LK2
J2
VSS
JP3
LK3 C14
C11 U3
X1
JP2
C10
TP7
VSS
R8
JP1
R9
J4
TP9
CMX868P4
C19
TP15
TP13
C16
RESET
16
J5
R17
CDN
SW1
R18
15
TP4
D9
R19
PIC16LC76
R20
J3
1
RS3
U4
RXAFB
TP6 R15
R10
TP11
TXA
R14
TP1
C7
R11
C8
R12
C6
TP12
TP3
TP2
RD
TR1
R4
RT
C1
R5
R13
TP8
U1
D4
C4
R6 C2
RB1
D3
R7
VSS
T1
TR2 D2
C3
TP10
C5 TXAN
R3
R1
D1
FS1
D6
HOOK
R2
4N35
D5
Board Mod
1
2
3
4
5
U2
2-Wire Line
J1
Figure 4 Evaluation Board Layout
 2000 Consumer Microcircuits Limited
12
UM8680/2
Evaluation Kit for CMX868
1.6
Detailed Description
1.6.1
Hardware Description
EV8680
1.6.1.1 Operating Voltage
The operating voltage (VDD) is set to 5.0V. This may be altered by changing components R22 and
R23 which are socketed. To select 2.7 Volts set R22 = 180Ω and R23 = 100Ω. The formula for
calculating the values of R22 and R23 is as follows:
R22 + R23 =
240 (VDD − 1.25)
1.25
Where 240 is the value of R21 in ohms and VDD is the required supply voltage.
1.6.1.2 IDD Measurement
The evaluation device IDD may be measured by removing jumper JP3 and replacing it with a
multimeter.
1.6.1.3 Clock/Oscillator
The CMX868 may use either an external clock or its own crystal oscillator. An 11.0592MHz crystal is
provided on-board for the latter method. Two jumpers JP1 and JP2, which are normally fitted, select
the crystal oscillator. An external clock may be supplied to JP1 pin 2 once the jumpers have been
removed.
The PIC µC is provided with an on-board 4MHz crystal, X2. Note that PICs programmed by CML are
only configured for use with the on-board 4MHz crystal.
1.6.1.4 Line Interface
The majority of the line interface components are fitted in sockets for adjustment purposes. These
values should be calculated based on the operating voltage and line conditions, see the CMX868 data
sheet and ETAL transformer recommendations for more information. The 2-wire ac line impedance
matching is provided by components C2, C4, R6, T1, C5, C8, R12 and R14 which are factory fitted to
suit a 600Ω line.
A gyrator circuit is provided to allow the evaluation kit to be used with a line simulator. This circuit will
draw dc loop current in the off-hook state. The current drawn may be altered by adjusting the value of
R7. Note, the gyrator is designed to function with a dc current limited line.
1.6.1.5 Ring Detection
Ring Detection is provided by an opto-isolated circuit formed by components C1, D3 - D5, R5, R9 and
U2. The response time is set by components R10 and C6. See CMX868 data sheet for further
details.
 2000 Consumer Microcircuits Limited
13
UM8680/2
Evaluation Kit for CMX868
EV8680
1.6.1.6 Line Protection
Line protection is provided by R2 (47Ω), R3 (47Ω), and D1 (Phillips BR211 series 140V). These
components are not fitted, but suitable values for UK applications are suggested in brackets. Wire
links which bypass R2 and R3 will need to be removed if these resistors are fitted.
1.6.2
Adjustments and Controls
Various line interface components around the evaluation devices are socketed to allow for user
adjustments. Discrete component sockets are also provided for Telco-specific components.
1.6.3
Firmware Description
The PIC16LC76-04/SP (OTP) µC fitted on the EV8680 evaluation kit has been programmed by CML
before shipment with the latest version of firmware. Please read the separate information sheet
(EK8680) and check the CML web site for firmware status. The latest source code and programming
file (EF8680xx.HEX, where xx represents the version number) can be downloaded from the CML web
site.
The serial communications firmware supplied in the PIC µC assumes the following configuration; 8
data bits, no parity, 1 stop bit and 19,200 baud with hardware flow control.
The firmware routine run at start-up and reset performs the following important tasks:
Peripheral Interrupt Initialisation
µC ports and I/O direction initialisation
Serial Communication Interface (SCI) initialisation
Serial Peripheral Interface (SPI) initialisation
Loads factory profile 0
Resets CMX868 evaluation device.
The message EF8680 Vx.x, will be displayed in the terminal emulator window when these tasks have
been completed.
The EV8680 evaluation board will send an error message (‘Invalid CMX868 Rev’) to the PC if an old
CMX868 device revision is detected. The latest EV8680 firmware is only designed to work with the
latest CMX868 device.
Note, the CMX868 device is always reset and powered up at the beginning of the negotiation or BERT
routines.
The firmware only supports DTMF dialling.
AT command echoing is an option available in the firmware and involves echoing the received
characters sent by the PC. The firmware also provides the option of sending result codes to the PC.
These responses can be in either an alpha or numeric form.
The AT command set for the EV8680 Evaluation kit is tabulated below. These commands can be
entered on a PC running Windows terminal emulator software, such as the ‘Hyper Terminal’ program
supplied with Windows 95/NT systems.
 2000 Consumer Microcircuits Limited
14
UM8680/2
Evaluation Kit for CMX868
EV8680
The ‘Hyper Terminal’ Send Text File facility is useful for data transfer i.e. when the EV8680 has
established a connection with a remote modem. This terminal emulator facility can also be used for
sending AT command scripts to the EV8680. These scripts should consist of a single line multiple AT
command, for example.
[email protected][email protected][email protected]=4567<CR>
Note, some of the commands listed may not be implemented in early versions of EV8680 firmware.
Please read the separate information sheet (EK8680) and check the CML web site for firmware status.
Basic EV8680 AT Commands
Command
Description
A
Answer Command
The modem will go off-hook and attempt to establish a connection with a remote
modem.
Syntax: ATA<CR>
A/
Re-Execute Previous Command Line
Re-executes the last issued command line. This command does not require the AT
prefix or a carriage return.
Syntax: A/
Bn
Select Communications Standard
Selects the communications standard specified by the parameter n.
Syntax: ATBn<CR>
Modifier Usage
n=0 Selects ITU-T V.22bis at 2400bps QAM (default).
n=1 Selects ITU-T V.22 at 1200bps DPSK.
n=2 Selects ITU-T V.23 with Tx 75bps and Rx 1200bps FSK.
n=3 Selects ITU-T V.23 with Tx 1200bps and Rx 75bps FSK.
n=4 Selects ITU-T V.22 at 600bps DPSK.
n=5 Selects ITU-T V.21 at 300bps FSK.
n=6 Selects Bell 212A at 1200bps DPSK.
n=7 Selects Bell 202 with Tx 150bps and Rx 1200bps FSK.
n=8 Selects Bell 202 with Tx 1200bps and Rx 150bps FSK.
n=9 Selects Bell 103 at 300bps FSK.
Dn
Dial Command
This command directs the modem to go off-hook, dials according to the string
entered and attempts to establish a connection with a remote modem. The n
represents an ASCII string composed of dial digits and dial modifiers and must not
exceed the 15 character buffer limit. The DTMF tone dialling digits include 0
through 9, A, B, C, D, and the symbols # and *.
For example: ATD9,01621875500<CR>
Modifier Usage
n=L Re-dial last number.
n=,
Delay dial sequence (pause setting contained in S-Register S8).
 2000 Consumer Microcircuits Limited
15
UM8680/2
Evaluation Kit for CMX868
En
EV8680
Echo Command Characters
Syntax: ATEn<CR>
Modifier Usage
n=0 Disables the echoing of commands to the screen.
n=1 Enables echoing of commands to the screen (default).
Hn
Switch Hook Control
Syntax: ATHn<CR>
Modifier Usage
n=0 Instructs the modem to go on-hook (disconnect).
n=1 Instructs the modem to go off-hook.
In
Identification
Requests the modem to return its product identification information.
Syntax: ATIn<CR>
Modifier Usage
n=0 Displays the firmware name and version number.
n=1 Displays Product Name.
n=2 Displays CML UK sales information.
n=3 Displays South East Asia sales information.
n=4 Displays NAFTA sales information.
Nn
Modulation Fallback Option
Syntax: ATNn<CR>
Modifier Usage
n=0 When originating or answering, modem negotiates only at the specified
communications standard (default).
n=1 When originating or answering, falls back from V.22bis to V.22 as required.
O
Return to Data Transfer Mode
Used during on-line AT command mode, this command allows the user to return to
data transfer mode. Note, this command does not initiate any retrain sequence.
Syntax: ATO<CR>
Qn
Enable/Disable Modem Responses
Syntax: ATQn<CR>
Modifier Usage
n=0 Enables result codes to be issued to the screen (default).
n=1 Disables result codes to be issued to the screen.
 2000 Consumer Microcircuits Limited
16
UM8680/2
Evaluation Kit for CMX868
Sn?
EV8680
S-Register Read
Command for displaying the contents of an S-Register (See S-Register Table).
Syntax: ATSn?<CR>
where n is the S-Register to be interrogated (decimal).
Value returned is either in decimal (default) or hex format depending on the setting
of Bit 4 in the S14 register.
Sn=x
S-Register Write
Command for writing to an S-Register (See S-Register Table).
Syntax: ATSn=x<CR>
where n is the S-Register (decimal) and x is the value to be written (decimal, 0255).
Vn
Result Code Format
Syntax: ATVn<CR>
Modifier Usage
n=0 Instructs the modem to display result codes as numbers.
n=1 Instructs the modem to display result codes as words (default).
Xn
Calling Characteristics
Determines which set of responses and calling characteristics are used.
Syntax: ATXn<CR>
Modifier Usage
n=0 The modem will ignore dial tones and busy tones. Dial tone wait time is zero,
and blind dialling is enabled. The modem returns a CONNECT result code when a
connection is established.
n=1 The modem will ignore dial tones and busy tones. Dial tone wait time is zero,
and blind dialling is enabled. The modem returns a CONNECT xxxx result code
when a connection is established, where xxxx is the Tx/Rx line speed (default).
n=2 The modem will ignore busy tones, but waits for a dial tone before dialling. If a
dial tone is not detected within 5 seconds, a NO DIAL TONE result code is
returned. The modem returns a CONNECT xxxx result code when a connection is
established, where xxxx is the Tx/Rx line speed.
n=3 The modem will ignore dial tones. If a busy tone is detected, a BUSY result
code is returned. Blind dialling is enabled. The modem returns a CONNECT xxxx
result code when a connection is established, where xxxx is the Tx/Rx line speed.
n=4 If a dial tone is not detected within 5 seconds, a NO DIAL TONE result code is
returned. If a busy tone is detected, a BUSY result code is returned. The modem
returns a CONNECT xxxx result code when a connection is established, where
xxxx is the Tx/Rx line speed.
 2000 Consumer Microcircuits Limited
17
UM8680/2
Evaluation Kit for CMX868
Zn
EV8680
Modem Reset
Instructs the modem to reset the evaluation device and then reload the factory SRegister settings (See S-Register Table).
Syntax: ATZn<CR>
Modifier Usage
n=0 Reset CMX868 device and restore factory profile 0.
n=1 Reset CMX868 device and restore factory profile 1.
Extended EV8680 AT Commands
Command
Description
&Fn
Recall Factory Defaults
Instructs the modem to reload the factory S-Register settings (See S-Register
Table).
Syntax: AT&Fn<CR>
Modifier Usage
n=0 Recalls factory profile 0.
n=1 Recalls factory profile 1.
&Gn
Guard Tone Select
Selects the Guard tone to be transmitted with highband QAM or DPSK.
Syntax: AT&Gn<CR>
Modifier Usage
n=0 Disable guard tone (default).
n=1 Enable 550Hz guard tone.
n=2 Enable 1800Hz guard tone.
 2000 Consumer Microcircuits Limited
18
UM8680/2
Evaluation Kit for CMX868
EV8680
CML Specific EV8680 AT Commands
Command
@Fn
Description
Test Functions
Syntax: [email protected]<CR>
Modifier Usage
n=0 Reserved.
n=1 Reserved.
n=2 Delay 100ms.
n=3 Delay 1s.
n=4 Initiate BERT as Rx End.
n=5 Initiate BERT as Rx End.
n=6 CMX868 Status Register Monitor Function 1. Continuously reads and displays
the contents of the Status register. The update rate is based on the S19 register
setting. The function may be aborted by pushing any key.
n=7 CMX868 Status Register Monitor Function 2. Reads and displays the contents
of the Status register when an interrupt occurs. Error message returned after 30
seconds if IRQN does not go low. User must enable IRQN output and set the
appropriate IRQ Mask bit before executing this test command.
n=8 Reserved.
n=9 Reserved.
@RR
CMX868 Device Reset
Sends the General Reset Command to the CMX868 device.
Syntax: [email protected]<CR>
@Rn?
CMX868 Register Read
Command for displaying the contents of a CMX868 device register
Syntax: [email protected]?<CR>
where n is a valid CMX868 register address (hexadecimal).
Value returned is either in decimal (default) or hex format depending on the setting
of Bit 4 in the S14 register.
@Rn=x
CMX868 Register Write
Command for writing to a CMX868 device register.
Syntax: [email protected]=x<CR>
where n is a valid CMX868 register address (hexadecimal) and x is the value to be
written (decimal). 8-bit register values should be between 0-255, whilst 16-bit
register values should be between 0-65535.
 2000 Consumer Microcircuits Limited
19
UM8680/2
Evaluation Kit for CMX868
EV8680
S-Registers
The following table gives a brief description of the available S-registers and their functions. Register range,
units and factory profiles are also listed.
S-Register
Reg
Range
Units
Description
Factory Profiles
‘0’
‘1’
(Default at
Power up)
0
5
S0
0-255
Rings
Automatic answer - Number of rings until
automatic answer. If the register is zero the
modem will not automatically answer.
S1
0-255
Rings
Count incoming rings - This register is read
only and contains the number of rings
detected by the modem.
0
0
S2
0-127
ASCII
Decimal
Escape character value - This register
defines an ASCII decimal value of the
escape character. The default setting is an
ASCII + and the escape sequence is +++. A
value over 127 disables the escape
sequence.
43
43
S3
0-127
ASCII
Decimal
Carriage return character - Contains the
ASCII decimal value of the character
recognised as the command line terminator.
This character will also be sent at the end of
result codes.
13
13
S4
0-127
ASCII
Decimal
Line feed character - Contains the ASCII
decimal value of the character recognised by
the modem as the line feed. The modem
sends the line feed character after a carriage
return only when word responses are sent.
10
10
S5
0-127
ASCII
Decimal
Backspace character - Contains the ASCII
decimal value of the character recognised as
a backspace.
8
8
S6
2-255
s
Wait time for blind dialling - Sets the
length of time to pause after the modem goes
off the hook before the modem dials the first
digit of the telephone number.
2
2
S7
1-255
s
Wait for carrier after dial - Sets the length
of time the modem waits for a carrier before
returning on-hook.
50
50
S8
0-255
s
Pause Time for Comma Dial Modifier Specifies the number of seconds to pause for
each comma (,) encountered in a dial string.
2
2
 2000 Consumer Microcircuits Limited
20
UM8680/2
Evaluation Kit for CMX868
EV8680
S-Register
Reg
Units
Description
1-255
1-255
100ms
100ms
Reserved
Lost carrier to hang up delay - Sets the
length of time that the modem waits before
hanging up after the loss of a carrier. This
allows the modem to distinguish between
disturbances that momentarily break the
connection and the remote modem hanging
up.
6
7
6
7
S11
5-255
10ms
DTMF tone duration - Defines the duration
of DTMF tones for tone dialling. The length
of pause between each DTMF tone is the
same as this duration time.
10
20
S12
0-255
50ms
Escape code guard time - Specifies the
minimum time before entry of the escape
sequence.
This value also dictates the
acceptable entry speed (inter-character time)
for each escape character.
20
20
S13
S14
0-255
0-255
Decimal
Decimal
0
138
0
128
S15
S16
S17
S18
0-255
0-255
0-255
0-255
Decimal
Decimal
Decimal
s
Reserved
General options - provides the following
functions:
Bit 0 - Reserved
Bit 1 - Echo command character, 0 Disables
echoing (ATE0), 1 Enables echoing
(ATE1)
Bit 2 - Result code display, 0 Send
responses (ATQ0), 1 Do not send
responses (ATQ1)
Bit 3 - Word or number responses, 0 Send
number responses (ATV0), 1 Send word
responses (ATV1)
Bit 4 - Output format when reading CMX868
registers or S-registers, 0 Decimal, 1 Hex
Bit 5, 6 – Reserved
Bit 7 - Answer/originate operation, 0
Answer (ATA), 1 Originate (ATD)
Reserved
Reserved
Reserved
General Purpose Timer - Used for various
firmware functions.
0
0
0
30
0
0
0
30
S19
0-255
10ms
2
2
S9
S10
Range
Factory Profiles
‘0’
‘1’
General Purpose Timer – Used for various
firmware functions
 2000 Consumer Microcircuits Limited
21
UM8680/2
Evaluation Kit for CMX868
EV8680
S-Register
Reg
Units
Description
0-255
0-255
Decimal
Decimal
Reserved
BERT options - Provides the following
functions:
Bit 0 - BERT End, 0 Rx Board ([email protected]), 1
Tx Board ([email protected])
Bit 1 - BERT Operating Band (ignored for
V23/Bell202 BERT operation), 0 Low, 1
High
Bit 2, 3, 4, 5 - Reserved
Bit 6,7 - BERT Scrambler/Descrambler, 11
Enabled (64 ones detect circuit enabled),
10 Enabled (64 ones detect circuit
disabled), 00 Disabled
0
193
0
193
S22
0-255
Decimal
Bit Mapped register - Provides the following
functions:
Bit 0, 1, 2, 3, 4 - Reserved
Bit 5, 6, 7 - Calling Characteristics, 000
(ATX0), 100 (ATX1), 101 (ATX2), 110
(ATX3), 111 (ATX4)
0
0
S23
0-255
Decimal
Bit Mapped register - Provides the following
functions:
Bit 0, 1, 2, 3, 4, 5 - Reserved
Bit 6, 7 - Guard Tones (DPSK/QAM high
band operation only), 00 None (AT&G0), 11
550Hz (AT&G1), 10 1800Hz (AT&G2)
0
0
S24
0-255
Decimal
Bit Mapped register - Provides the following
functions:
Bit 0 - CMX868 Xtal Freq, 0 12.2880MHz, 1
11.0592MHz
Bit 1 - CMX868 Tx and Rx Fixed
Compromise Equalisers (used during
negotiation and data transfer), 0 Enable,
1 Disable
Bit 2 - CMX868 Auto Equaliser (DPSK
operating modes, always enabled during
V22bis QAM operation), 0 Disable, 1
Enable
Bit 3, 4, 5, 6, 7 – Reserved
1
3
S20
S21
Range
Factory Profiles
‘0’
‘1’
 2000 Consumer Microcircuits Limited
22
UM8680/2
Evaluation Kit for CMX868
EV8680
Reg
Range
Units
Description
‘0’
‘1’
S25
0-255
Decimal
Bit Mapped register - Provides the following
functions:
Bit 0, 1, 2 - CMX868 Tx Gain (used during
negotiation, data transfer and BERT),
111 0dB, 110 -1.5dB, 101 -3.0dB, 100 4.5dB, 011 -6dB, 010 -7.5dB, 001 9.0dB, 000 -10.5dB
Bit 3, 4, 5 - CMX868 Tx Data/Stop bits
(used during data transfer), 111 8/2 bits,
110 8/1 bits, 101 7/2 bits, 100 7/1 bits,
011 6/2 bits, 010 6/1 bits, 001 5/2 bits,
000 5/1 bits
Bit 6, 7 - CMX868 Tx Start-stop mode (used
during data transfer), 00 Odd parity, 01
Even parity, 10 No parity
176
176
S26
0-255
Decimal
Bit Mapped register - Provides the following
functions:
Bit 0, 1, 2 - CMX868 Rx Gain (used during
negotiation, data transfer and BERT),
111 0dB, 110 -1.5dB, 101 -3.0dB, 100 4.5dB, 011 -6dB, 010 -7.5dB, 001 9.0dB, 000 -10.5dB
Bit 3, 4, 5 - CMX868 Rx Data and Parity bits
(used during data transfer), 111 8 data +
parity, 110 8 data, 101 7 data + parity,
100 7 data, 011 6 data + parity, 010 6
data, 001 5 data + parity, 000 5 data
Bit 6, 7 - CMX868 Rx USART (used during
data transfer), 00 2.3% overspeed, 01
1% overspeed, 10 No overspeed
48
176
S27
0-255
Decimal
Bit Mapped register - Provides the following
functions:
Bit 0, 1, 2, 3 - Reserved.
Bit 4, 5, 6, 7 - Communication Standard,
0000 (ATB0), 0001 (ATB1), 0010
(ATB2), 0011 (ATB3), 0100 (ATB4),
0101 (ATB5), 0110 (ATB6), 0111
(ATB7), 1000 (ATB8), 1001 (ATB9)
0
0
S28
S29
0-255
0-255
Decimal
Decimal
Reserved
Reserved
0
0
0
0
 2000 Consumer Microcircuits Limited
23
UM8680/2
Evaluation Kit for CMX868
EV8680
Modem Result Codes
Numeric Response (Decimal)
00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
 2000 Consumer Microcircuits Limited
Alpha Response
OK
CONNECT
RING
NO CARRIER
ERROR
NO DIAL TONE
BUSY
CONNECT 2400
CONNECT 1200
CONNECT 600
CONNECT 300
CONNECT 1200/75
CONNECT 75/1200
CONNECT 1200/150
CONNECT 150/1200
NYI
24
UM8680/2
Evaluation Kit for CMX868
EV8680
AT Command Summary
1) The maximum command length is 48 characters, excluding the AT prefix and carriage return.
2) A user defined escape sequence (usually +++) is required to revert the modem from on-line (data transfer
mode) to the command mode, to allow the user to issue AT commands to the PIC.
3) Every command except for A/ and the escape sequence must begin with the AT prefix and be entered by
pressing a carriage return.
4) When the default command echoing and word result codes are enabled the firmware will send a LF
character directly after a CR character to ensure the terminal emulator display is legible.
5) Commands which are not fully implemented will return the result code ‘NYI’ (Not Yet Implemented).
6) Do not send AT commands to the Evaluation Kit until the previous result code (if enabled) has been
received.
1.6.4
Software Description
1.6.4.1 In-Circuit Programming of PIC16LC76
TO ENTER PROGRAMMING MODE
a) Remove power from board.
b) Insert a blank PIC16LC76-04/SP (OTP) µC device into the U4 IC socket.
c) Using a 2-way jumper connect MODEA (J3:3) to MODEB (J3:4).
d) Re-apply power to board. (VDD = 5.0V).
e) Connect the programming voltage (12.5V to 13.5V) power supply between VPP, J3:15 (+ve) and
VSS (-ve).
f) Ensure the PIC µC programming utility PICPROGB.EXE is loaded into the PC under DOS and the
PC is connected to the evaluation kit.
g) Reset the EV8680 board by momentarily pressing switch SW1.
USING THE SOFTWARE -
PICPROGB
This is supplied on disk as a self-documented executable file PICPROGB.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.
The user interface consists of two windows. The top window contains the operating instructions and
status information. The bottom window contains prompting and progress information plus user input.
When the top window first appears the user will be prompted to enter the number of the serial
communications port to which the EV8680 board is connected, and then, which device is to be
programmed. For the EV8680 board select option 2, PIC16C77. Once the user has entered this
information, the following commands may be selected:
Press F
to load file
Press C
to configure device.
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.
Press Esc to return to DOS.
 2000 Consumer Microcircuits Limited
25
UM8680/2
Evaluation Kit for CMX868
EV8680
A new function from the above table can be selected whenever the >ok prompt appears in the bottom
window.
Notes:
a) Programming 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.
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 (SW1) on the EV8680 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.
f) Programming a blank PIC16LC76 using the PICPROGB software takes approximately 2 minutes.
g) Customers are advised to use PIC16C76JW µC devices (not supplied) for further PIC firmware
development, however, these devices are not guaranteed for low volt operation. Customers reprogramming this development PIC must erase the existing program by placing the device in a UVEraser for approximately 15 minutes.
TO LEAVE PROGRAMMING MODE
a) Remove power from board (including the programming voltage, VPP).
b) Remove 2-way jumper connecting MODEA to MODEB.
c) Power up board as described in previous sections for normal operation.
1.6.4.2 Terminal Emulator
Users will need to run a suitable terminal emulator on their PC in order to communicate with the PIC
µC on the Evaluation Kit. ‘Hyper Terminal’, which is supplied with the Windows 95/NT installations, is
suitable for this purpose.
Hyper Terminal Setup
Emulation VT100
ASCII Character set
ASCII Receiving:
COM Port Settings:
Wrap lines that exceed terminal width.
Bits per second
Data bits
Parity
Stop bits
Flow Control
 2000 Consumer Microcircuits Limited
19,200
8
None
1
Hardware
26
UM8680/2
Evaluation Kit for CMX868
1.6.5
EV8680
Additional Information
1.6.5.1 AT Command Text Files
To allow evaluation tests to be quickly and easily repeated it may be useful to create text files
containing single line multiple AT commands. Commands can be transferred to the PIC µC via the
‘Hyper Terminal’ send text file facility. Note, multiple text files may be required to perform a test if any
command lines exceed 48 characters.
1.6.5.2 Sending Text Files using ‘Hyper Terminal’
The following is a description of how to send text files to the EV8680 using ‘Hyper Terminal’.
a) Select the Transfer menu
b) Select Send Text File
c) Select the required file from the Send Text File window
 2000 Consumer Microcircuits Limited
27
UM8680/2
Evaluation Kit for CMX868
EV8680
1.6.5.3 Negotiation and Data Transfer
Modem negotiation (handshaking) may be aborted by pushing any key prior to entering data transfer
mode.
During data transfer mode the user can revert to on-line AT command mode by typing the escape
code sequence (+++). The escape code guard time (based on S12) must have expired to
successfully access this mode. Whilst in on-line AT command mode the board to remote modem
connection may be aborted by typing ATH0 (instructs modem to go on-hook). Alternatively the user
can enter relevant AT commands or return to data transfer mode by using the ATO command.
The firmware only supports asynchronous data transfer.
Receiver USART overspeed settings specified in S-Register, S26, only apply to DPSK/QAM operating
modes.
Transmitter Guard Tone settings specified in S-Register, S23, only apply to DPSK/QAM answering
modes.
If the carrier is lost (during data transfer) or negotiation is aborted by the user, the firmware will send
the General Reset Command to the CMX868 evaluation device. This action will cause the EV8680
evaluation board to hang up and powersave the CMX868 device.
The data transfer firmware does not contain any retrain code. This process is sometimes performed
by modems when signal distortion or line noise is detected which may threaten data integrity.
The receive auto equaliser function can be enabled via the S24 register. This S24 register setting only
applies to DPSK modes of operation. The CMX868 firmware for V22bis always enables the receive
auto equaliser half way through the negotiation phase.
1.6.5.4 Example AT Commands for Hayes Optima 336 Modem (not supplied) Setup
V.22bis Protocol - AT&FB30X1Q0E1V1L0N0W2S37=6S95=42
V.22 Protocol - AT&FB0X1Q0E1V1L0N0W2S37=5S95=42
1.6.6
Example EV8680 Modem Tests
1.6.6.1 Set up EV8680 to Automatically Answer a V.22 Call from a Remote Modem
1. Select V.22 communication standard (default is V.22 bis).
Command : ATB1<CR>
2. Select the required Guard Tone setting using the AT&Gn command (default is none).
3. Enable/Disable Fixed Compromise Equalisers by writing to S-Register, S24 (default is enabled).
4. Configure CMX868 Transmitter by writing to S-Register, S25.
5. Configure CMX868 Receiver by writing to S-Register, S26.
6. Set Automatic Answer S-Register (S0) to 5 rings.
Command : ATS0=5<CR>
 2000 Consumer Microcircuits Limited
28
UM8680/2
Evaluation Kit for CMX868
EV8680
The EV8680 will attempt to establish a V.22 connection when 5 rings (BT or Bell) have been
successfully detected. The CONNECT 1200 result code will be returned to the PC if a V.22 connection
is successfully established. The NO CARRIER result code will be returned to the PC if the EV8680
fails to establish a V.22 connection within the time specified in S-Register, S18.
 2000 Consumer Microcircuits Limited
29
UM8680/2
Evaluation Kit for CMX868
EV8680
1.6.6.2 Set up EV8680 to Manually Answer V.23 Call from a Remote Modem
1. Select V.23 communication standard (default is V.22 bis).
Command : ATB2<CR>
2. Enable/Disable Fixed Compromise Equalisers by writing to S-Register, S24 (default is enabled).
3. Configure CMX868 Transmitter by writing to S-Register, S25
4. Configure CMX868 Receiver by writing to S-Register, S26.
5. Manually Answer V.23 Call.
Command : ATA<CR>
The EV8680 will attempt to establish a V.23 connection. The CONNECT 1200/75 result code will be
returned to the PC if a V.23 connection is successfully established. The NO CARRIER result code will
be returned to the PC if the EV8680 fails to establish a V.23 connection within the time specified in SRegister, S18.
1.6.6.3 Set up EV8680 to Originate V.22 bis Call to a Remote Modem
Configure EV8680 to dial out using a blind dialling method with DTMF tone duration of 150ms.
1. Select V.22 bis communication standard (default is V.22 bis).
Command : ATB0<CR>
2. Set calling characteristic to blind dial, ignoring dial and busy tones (default is ATX1).
Command : ATX1<CR>
3. Set Wait Time for Blind dialling S-Register (S6) to 5 seconds.
Command : ATS6=5<CR>
4. Set DTMF Tone Duration S-Register (S11) to 150ms.
Command : ATS11=15<CR>
5. Enable/Disable Fixed Compromise Equalisers by writing to S-Register, S24 (default is enabled).
6. Configure CMX868 Transmitter by writing to S-Register, S25.
7. Configure CMX868 Receiver by writing to S-Register, S26.
8. DTMF Dial.
Command : ATD0165447887<CR>
The EV8680 will go off-hook and blind dial after 5 seconds. After dialling the EV8680 will attempt to
establish a V.22 bis connection. The CONNECT 2400 result code will be returned to the PC if a V.22
bis connection is successfully established. The NO CARRIER result code will be returned to the PC if
the EV8680 fails to establish a V.22 bis connection within the time specified in S-Register, S7.
 2000 Consumer Microcircuits Limited
30
UM8680/2
Evaluation Kit for CMX868
1.6.7
EV8680
Example EV8680 Device Evaluation Tests
The following information shows example text files (not supplied) that can be created by the user for EV8680
Evaluation Mode Tests.
Description :
Command :
Instructs EV8680 to reset and powerup the CMX868 evaluation device.
[email protected][email protected]@RE0=4352<CR>
@RE0=4480 : Load 1180 Hex into CMX868 General Control Register ($E0)
@F2 : 100ms Delay
@RE0=4352 : Load 1100 Hex into CMX868 General Control Register ($E0)
General Control Register ($E0) = 1180 Hex
B15
B14
B13
B12
0
0
0
1
11.0592
Xtal
B11
0
No
LB
B10
0
Equ
Enable
B9
0
On
Hook
B8
1
Powered
Up
B7
1
Reset
B6
0
IRQN
O/P
Disabled
B5
0
B4
0
B3
B2
0
0
No IRQ Mask
B1
0
B0
0
General Control Register ($E0) = 1100 Hex
B15
B14
B13
B12
0
0
0
1
11.0592
Xtal
B11
0
No
LB
B10
0
Equ
Enable
B9
0
On
Hook
B8
1
Powered
Up
B7
0
Norm
B6
0
IRQN
O/P
Disabled
B5
0
B4
0
B3
B2
0
0
No IRQ Mask
B1
0
B0
0
The following information shows example AT commands for simple EV8680 Evaluation Board Tests. All tests
assume the CMX868 is powered up, as shown above.
Test 1
Description :
Command :
Instructs EV8680 to go off-hook and transmit a 1209Hz tone (Tx Gain = 0dB).
[email protected]=7685<CR>
H1 : Take EV8680 Off-Hook
@RE1=7685 : Load 1E05 Hex into CMX868 Tx Mode Register ($E1)
Tx Mode Register ($E1) = 1E05 Hex
B15
B14
B13
B12
0
0
0
1
Tx Mode = DTMF/Tones
B11
1
B10
B9
1
1
Tx Level = 0dB
B8
0
B7
0
B6
0
B5
0
B4
0
Unused
B3
B2
B1
0
1
0
Tx 1209Hz Fixed Tone
B0
1
Test 2
Description :
Command :
Instructs EV8680 to go off-hook and transmit a 1209Hz tone (Tx Gain = -10.5dB).
[email protected]=4101<CR>
H1 : Take EV8680 Off-Hook
@RE1=4101 : Load 1005 Hex into CMX868 Tx Mode Register ($E1)
Tx Mode Register ($E1) = 1005 Hex
B15
B14
B13
B12
0
0
0
1
Tx Mode = DTMF/Tones
B11
B10
B9
0
0
0
Tx Level = -10.5dB
B8
0
B7
0
B6
0
B5
0
B4
0
Unused
B3
B2
B1
0
1
0
Tx 1209Hz Fixed Tone
B0
1
Test 3
Description :
Command :
Instructs EV8680 to go off-hook and transmit a 2100Hz tone (Tx Gain = 0dB).
[email protected]=7690<CR>
H1 : Take EV8680 Off-Hook
@RE1=7690 : Load 1E0A Hex into CMX868 Tx Mode Register ($E1)
Tx Mode Register ($E1) = 1E0A Hex
B15
0
B14
B13
0
0
Tx Mode = DTMF/Tones
B12
1
B11
1
 2000 Consumer Microcircuits Limited
B10
B9
1
1
Tx Level = 0dB
B8
0
B7
0
B6
0
Unused
31
B5
0
B4
0
B3
B2
B1
1
0
1
Tx 2100Hz Fixed Tone
B0
0
UM8680/2
Evaluation Kit for CMX868
EV8680
Test 4
Instructs EV8680 to go off-hook and transmit V.23 continuous 1s at 75bps.
[email protected]=19995<CR>
H1 : Take EV8680 Off-Hook
@RE1=19995 : Load 4E1B Hex into CMX868 Tx Mode Register ($E1)
Description :
Command :
Tx Mode Register ($E1) = 4E1B Hex
B15
B14
B13
B12
0
1
0
0
Tx Mode = V.23 FSK 75 bps
B11
1
B10
B9
1
1
Tx Level = 0dB
B8
0
B7
0
B6
B5
0
0
Scrambler
Disabled
No
Guard Tone
B4
B3
1
1
Sync Mode
B2
0
B1
1
Tx Cont 1’s
B0
1
Test 5
Instructs EV8680 to go off-hook and transmit two DTMF digits (‘A’ then ‘B’ with
100ms duration/separation).
Command : [email protected][email protected]@[email protected]@[email protected]@RE1=7680<CR>
H1 : Take EV8680 Off-Hook
@F2 : 100ms Delay
@RE1=7709 : Load 1E1D Hex into CMX868 Tx Mode Register ($E1)
@RE1=7680 : Load 1E00 Hex into CMX868 Tx Mode Register ($E1)
@RE1=7710 : Load 1E1E Hex into CMX868 Tx Mode Register ($E1)
Description :
Tx Mode Register ($E1) = 1E1D Hex
B15
B14
B13
B12
0
0
0
1
Tx Mode = DTMF/Tones
B11
1
Tx Mode Register ($E1) = 1E00 Hex
B15
B14
B13
B12
0
0
0
1
Tx Mode = DTMF/Tones
B11
1
Tx Mode Register ($E1) = 1E1E Hex
B15
B14
B13
B12
0
0
0
1
Tx Mode = DTMF/Tones
B11
1
B10
B9
1
1
Tx Level = 0dB
B8
0
B10
B9
1
1
Tx Level = 0dB
B8
0
B10
B9
1
1
Tx Level = 0dB
B8
0
B7
0
B6
0
B5
0
B4
1
B3
1
B2
1
Tx DTMF ‘A’
B1
0
B0
1
B6
0
B5
0
B4
0
B3
0
B2
0
Tx No Tone
B1
0
B0
0
B6
0
B5
0
B4
1
B3
1
B2
1
Tx DTMF ‘B’
B1
1
B0
0
Unused
B7
0
Unused
B7
0
Unused
Test 6
Description :
Command :
Set up CMX868 for receiving DTMF, then wait for five DTMF digits.
[email protected][email protected][email protected][email protected]@[email protected]@[email protected]<CR>
@RE0=5953 : Load 1741 Hex into CMX868 General Control Register ($E0)
@RE2=7681 : Load 1E01 Hex into CMX868 Rx Mode Register ($E2)
@RE6? : Read and display contents of CMX868 Status Register ($E6)
@F7 : Wait until IRQN output goes low then read and display contents of
CMX868 Status Register ($E6)
General Control Register ($E0) = 1741 Hex
B15
B14
B13
B12
0
0
0
1
11.0592
Xtal
Rx Mode Register ($E2) = 1E01 Hex
B15
B14
B13
B12
0
0
0
1
Rx Mode = DTMF/Tones
B11
0
No
LB
B11
1
 2000 Consumer Microcircuits Limited
B10
1
Equ
Disable
B9
1
Off
Hook
B10
B9
1
1
Rx Level = 0dB
B8
1
Powered
Up
B8
0
B7
0
32
B7
0
Norm
B6
0
B6
1
IRQN
O/P
Enabled
B5
0
B5
0
B4
0
Detect DTMF
B4
B3
B2
B1
0
0
0
0
DTMF Detect IRQ Mask
B3
0
B2
0
B1
0
B0
1
B0
1
UM8680/2
Evaluation Kit for CMX868
1.6.8
EV8680
BER Measurement
To allow the user to perform a Bit Error Rate Test (BERT) on the CMX868, the EF8680 firmware
contains a BERT routine. This facility is enabled using the test functions [email protected] (Rx End) or [email protected]
(Tx End). Before selecting these functions the user must select the required protocol via the ATBn
command. Various bit mapped S-registers must also be modified to select the CMX868 configuration
used during the BERT.
The BERT routines have been designed for use with two EV8680 kits and a BER Datatester unit
(compatible with the EV8680 BER test pin timings, see below). The firmware only allows the user to set
up a single EV8680 board as the Tx or Rx end. The second EV8680 evaluation board(not supplied)
could be replaced with an alternative system (designed for use with the BER Datatester unit).
The EV8680 BERT is performed in synchronous mode and uses simple negotiation before data is
clocked in and out of the BER Datatester unit.
Hardware Setup
This function enables connection to BER Testers as follows:
TEST3 (J3 Pin 10) from BER Tester Tx Data O/P
TEST2 (J3 Pin 9) to BER Tester Tx Data Clock I/P
TEST1 (J3 Pin 8) to BER Tester Rx Data I/P
TEST0 (J3 Pin 7) to BER Tester Rx Data Clock I/P
The tester must be able to operate from an external clock. The timings of the clock provided from the
Evaluation board µC are as follows:
8-Bit Time
tA
Rx Data
Clock O/P
Rx Data
O/P
1
0
1
0
0
1
1
0
Figure 5 Evaluation Board µC Rx Timing
The µC modifies the state of the Rx data output before taking the Rx clock pin high. Therefore, Rx data
is assumed to be clocked into the BER Datatester on the rising edge of Rx clock.
8-Bit Time
tA
Tx Data
Clock O/P
Tx Data
I/P
1
0
1
0
0
1
1
0
Figure 6 Evaluation Board µC Tx Timing
 2000 Consumer Microcircuits Limited
33
UM8680/2
Evaluation Kit for CMX868
EV8680
Tx data is assumed to be clocked out of the BER Datatester on the rising edge of the Tx clock. This
data is sampled by the µC on the falling edge of the Tx clock.
The time tA varies as the clocks are adjusted to fit the exact byte periods of the evaluation devices.
Example BERT AT Command Setup
Ensure the BER Datatester is running (awaiting the external clocks supplied from the EV8680 boards)
and then start the Rx end board followed by the Tx end. The following sections show the required setup
for each end.
EV8680 Rx End Board Setup
1. Select V.22 communication standard (default is V.22 bis).
Command : ATB1<CR>
2. Enable/Disable Fixed Compromise and Auto Equalisers by writing to S-Register, S24.
3. Select the Operating Band and Enable/Disable the Descrambler by writing to S-Register S21.
4. Configure CMX868 Tx Gain by writing to S-Register, S25.
5. Configure CMX868 Rx Gain by writing to S-Register, S26.
6. Instruct the board to start the BERT routine as the Rx end.
Command : AT&F4<CR>
EV8680 Tx End Board Setup
1. Select V.22 communication standard (default is V.22 bis).
Command : ATB1<CR>
2. Enable/Disable Fixed Compromise Equaliser by writing to S-Register, S24.
3. Select the Operating Band and Enable/Disable the Scrambler by writing to S-Register S21.
4. Configure CMX868 Tx Gain by writing to S-Register, S25.
5. Configure CMX868 Rx Gain by writing to S-Register, S26.
6. Instruct the board to start the BERT routine as the Tx end.
Command : AT&F5<CR>
1.6.9
Trouble Shooting
Some terminal emulators have been found not to support full hardware flow control when transferring
text files. This could result in data loss when using this facility. If this problem is experienced users
should try using a different terminal emulator
To ensure successful negotiation and data transfer between the EV8680 and third party modems,
users should ensure their third party modem is configured to the correct protocol (see third party AT
command documentation).
 2000 Consumer Microcircuits Limited
34
UM8680/2
Evaluation Kit for CMX868
EV8680
Note, any sudden loss of the 2-wire line during data transfer will result in loss of carrier and therefore
the evaluation board will hang up and display the NO CARRIER message. However, due to the lost
carrier to hang up delay (S10), a short burst of corrupt characters (noise generated) will be observed
on the Hyper Terminal window before the NO CARRIER message is displayed. These corrupt noise
generated characters can sometimes match control characters and therefore modify Hyper Terminal’s
behaviour. The user is advised to restart Hyper Terminal if this problem is encountered.
 2000 Consumer Microcircuits Limited
35
UM8680/2
Evaluation Kit for CMX868
1.7
Performance Specification
1.7.1
Electrical Performance
EV8680
1.7.1.1 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
+10
Supply (VIN - VSS)
Supply (VDD - VSS)
Voltage on any connector pin to VSS
Current into or out of VIN and VSS pins
Current into or out of any other connector 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
1.7.1.2 Operating Limits
Correct operation of the Evaluation Kit outside these limits is not implied. To operate the Evaluation Kit with
VDD = 5.5V the user should modify resistors R13 and R17 to prevent damage to the LEDs, D6 and D7.
Notes
Supply (VIN - VSS)
Supply (VDD - VSS)
Operating Temperature
Min.
8.0
2.7
+10
Max.
14.0
5.0
+35
Units
V
V
°C
1.7.1.3 Operating Characteristics
For the following conditions unless otherwise specified:
Evaluation Device Xtal Frequency = 11.0592MHz or 12.288MHz ±0.01% (100ppm)
VDD = 2.7V or 5.0V, Tamb = +25°C.
Notes
DC Parameters
IDD (evaluation board - idle)
1
AC Parameters
Xtal/Clock Input
'High' pulse width
'Low' pulse width
2
2
Notes:
Min.
30
30
Typ.
Max.
Units
30.0
-
mA
-
-
ns
ns
1. Hook relay and CD LEDs off.
2. Timing for an external input to the evaluation device CLOCK/XTAL pin.
 2000 Consumer Microcircuits Limited
36
UM8680/2
Evaluation Kit for CMX868
EV8680
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