Cpc2400e Embedded Modem Module CLARE

Download as pdf or txt
Download as pdf or txt
You are on page 1of 18

CPC2400E

Embedded Modem Module

Features Description
• Easy Integration The CPC2400E is a 2400 baud embedded modem mod-
• Small Footprint 1.00” x 2.50” ule intended for applications that require a data commu-
• Full Duplex 2400bps nications link to the Public Switched Telephone Network
• Low Power Consumption (PSTN). The CPC2400E is a complete module on a small
• V.24 DTE Interface 1.0” x 2.5” printed circuit board that can be socketed or
• Single +5V Supply Operation soldered into the host system mother board. The module
• Supported Protocols: V.22bis, V.23, V.22 is FCC Part 68 approved and includes a user trans-
• UL Recognized Component ferrable registration number. It also is a UL recognized
• FCC Part 15B Compliant component. The CPC2400E can be used in a variety of
• FCC Part 68 Approved (User Transferrable) applications including set top box back channel commu-
nications, vending machines, remote utility metering,
remote data acquisition, plus a host of other applications.
The CPC2400E supports a standard serial V.24 TTL
Applications
interface to the DTE equipment.
• Vending/Gaming Machines
• Set Top Box Back Channel
• Direct Broadcast Satellite
• Utility Meters Approvals
• Point of Sale Terminals • UL/C-UL: 174201
• Remote Diagnostics • FCC Reg. # LVRPHL-25931-MD-E
• Remote Telemetry
• Remote Monitoring
• Embedded Applications
Ordering Information
Part # Description
CPC2400E 2400 Baud Embedded Modem Module

Block Diagram Pin Configuration


+5V
VCC J1
GND
-DTR J2 N/C
-DCD TIP
LINE
PARALLEL -MUTE N/C
INTERFACE
A1 RING
TIP
V.22BIS N/C N/C
DTE CONTROLLER DAA
V.24 DATA PUMP RXD
RING
SERIAL TXD

AUDIO
OUT

GND

DS-CPC2400-R2 www.clare.com 1
CPC2400E

Absolute Maximum Ratings (@ 25˚ C)


Parameter Min Max Units Absolute Maximum Ratings are stress ratings. Stresses
in excess of these ratings can cause permanent damage
Dielectric withstanding - 1000 VRMS
to the device. Functional operation of the device at these
Voltage
or any other conditions beyond those indicated in the
Tip/Ring Current 20 120 mA
operational sections of this data sheet is not implied.
Continuous
oC
Exposure of the device to the absolute maximum ratings
Operating Temperature 0 70
oC
for an extended period may degrade the device and effect
Storage Temperature 0 100 its reliability.
Relative Humidity 10 85 %
(Non-Condensing)
Soldering Temperature - 260 oC

Electrical Characteristics
Parameter Conditions Min Typ Max UnitS
DC Electrical Characteristics @ 25˚C
Vcc Supply Voltage - 4.75 5.0 5.25 V
Vcc Supply Current - Idle (Sleep Mode) Vcc=5V - 5 10 mA
Vcc Supply Current - Active Vcc=5V - 70 100 mA
Line Matching Impedance Vcc=5V - 600 - Ω
Ringing Voltage Vcc=5V, f=20Hz - 22 30 VRMS
Ringer Equivalence Number (REN) Vcc=5V - 0.6B - -
Telephone Line Loop Current Vcc=5V 20 - 120 mA
DTE DC Characteristics @ 25˚C
Input High Voltage VIH 2 - Vcc+0.3 V
Input Low Voltage VIL - 0 - 0.8 V
Input Leakage Current IL GND<Vo<Vcc -10 - 10 µA
Output High Voltage VOH IOH=-2.0mA; Vcc=5V 4.0 - - V
Output Low Voltage VOL IOI=+2.0mA; Vcc=5V 0 - 0.4 V
Input High Voltage VIH Vcc=5.5V 0.7 2.6 Vcc+0.3 V
Input Low Voltage VIL Vcc=5.5V GND-0.3 1.6 0.2Vcc V

2 www.clare.com Rev. 2
CPC2400E

Definitions

Pin I/O Name Function


J1-1 I VCC Connects to external host power source of +5V +/-5%
J1-2 I GND Power supply return
J1-3 I -DTR Data Terminal Ready. An active Low input on this pin indicates
that the host system is ready to communicate with the modem.
J1-4 O -DCD Data Carrier Detect. When active, indicates carrier signal has
been detected. For options see AT Command reference section
under &C command.
J1-5 O -MUTE Mutes external speaker. Uses AT “M” command.
J1-6 O A1 Analog output that can be used to monitor modem activity via an
external audio amplifier.
J1-7 - N/C No Connection
J1-8 I RXD Serial data input from host DTE
J1-9 O TXD Serial data output to host DTE

Pin I/O Name Function


J2-1 - N/C No Connection
J2-2 I/O TIP Tip connection to telephone line
J2-3 - N/C No Connection
J2-4 I/O RING Ring connection to telephone line
J2-5 - N/C No Connection

Rev. 2 www.clare.com 3
CPC2400E

Functional Description 2. Repairs


The CPC2400E is a small, full featured, 2400 baud The FCC requires that Clare makes all necessary
module intended for embedded applications and is fully repairs to the modem. If you are experiencing problems
FCC Part 68 approved. The CPC2400E includes a user with the CPC2400E, contact Clare at 1-800-272-5273
transferable FCC registration number which the end for further information. If repairs are necessary after the
product must display (see section for more details). The modem has been installed in your product and delivered
module consists of a Data Access Arrangement (DAA), to your customer, the modem must be returned to you
V.22bis data pump, and a microcontroller on a 1.00” x where the CPC2400E can be removed and sent back to
2.50” PCB. Clare.
The CPC2400E connects to the telephone lines TIP and
RING leads and must be made through an approved 3. Label Instructions
RJ-11 jack. The CPC2400E supports the industry stan-
dard AT command set (see AT Command set section for A label similar to the following should be made visible on
further details). the outside of the end user product.
The CPC2400E operates off a single +5V supply and
supports low power modes of operation. When the
device is not in use, it automatically enters sleep mode, Complies with Part 68 of FCC Rules
reducing supply current to a minimum. An incoming ring
signal from the phone lines powers up the device (wake- Registration Number: LVRPHL-25931-MD-E
on ring).
Ringer Equivalence: 0.6B
An evaluation board is available for testing the
CPC2400E. This evaluation board includes an RS232 Required Connection: RJ-11
line driver, LED status indicators and an amplified speak-
er circuit. When used with the evaluation board, the
CPC2400E also meets the FCC Part 15B emissions test.
4. Design Guidelines
Contact Clare for more information on the CPC2400E
The following design guidelines should be followed to
Evaluation Board.
insure compatibility to FCC Part 68 tests:
4.1. The CPC2400E, the RJ-11 jack and the interface
DAA circuitry must be mounted on a PCB the should meet
The DAA portion of the CPC2400E has been designed UL 94V-0 flammability standard.
to interface directly with the U.S. PSTN as governed by
the FCC. The DAA includes the circuitry for hookswitch, 4.2. Tip and Ring traces from the CPC2400E to the RJ-
ring detection, gyrator, surge protection and analog sig- 11 jack should be isolated by a minimum of 1.5mm
nal coupling transformer. The DAA circuitry provides up (0.06in) to prevent breakdown. Traces must have a min-
to 1000 VRMS of longitudinal surge protection. For coun- imum width of 0.5mm (.02in).
tries using a PSTN similar to the U.S. (Canada, Japan), 4.3 Insure that module is securely installed to the host
the product using the CPC2400E must be submitted to system. Vibration and drop tests will loosen compo-
a suitable test house for approval. Consult Clare for fur- nents that are not securely mounted. One of two meth-
ther information. ods for securing the module should be used:
4.3.1 Soldered to the main PCB. This method is well
FCC Part 68: Connecting to the PSTN suited for harsh environments where the end product
1. General may be subjected to shock and vibrationas in indus-
Clare’s CPC2400E complies with FCC Part 68 rules trial environments (equipment monitoring, etc.).
which regulates equipment connected to the telephone 4.3.2 Socketed to the main PCB. This method is well
network. The CPC2400E provides a user transferable suited for environments where the end product is not
Part 68 registration which means that customers can subjected to shock and vibrations as in consumer
use Clare’s registration number for the CPC2400E. applications (set top boxes, etc.).
Customers who wish, can reregister the modem under 4.4. Components used must be able to withstand tem-
their name. Reregistration assigns the customer a perature and humidity extremes per FCC Part 68.
unique registration number. No additional FCC Part 68
submittal is required for equipment using Clare’s
CPC2400E module.

4 www.clare.com Rev. 2
CPC2400E

4.5. When connecting to the PSTN, an FCC approved or until you are sure that the equipment is not malfunc-
telephone jack must be used in the host system and tioning.
must meet the mechanical requirements per FCC Part This equipment may not be used on coin service pro-
68.3 Sub-part F. For RJ-11 jacks, refer to FCC Public vided by the telephone company. Connection to party
Notice #42269 for a list of approved vendors. lines is subject to state tariffs.
4.6. The supplied FCC Registration Number including FCC rules prohibit the use of non-hearing aid compati-
REN must be visible on the outside of the end user ble telephones in the following locations or applications:
product. See Section 3.
(1) All public or semipublic coin-operated or credit card
telephones.
5. Exhibit J: User Instructions (2) Elevators, highways, tunnels (automobile, subway,
Instructions to our customers: railroad or pedestrian) where a person with impaired
The FCC Part 68 Rules require the following information hearing might be isolated in an emergency.
(or equivalent) to be provided for the end user product. (3) Places where telephones are specifically installed to
alert emergency authorities such as fire, police, or med-
FCC Requirements for Consumer Products ical assistance personnel.
This equipment complies with FCC rules, Part 68. On (4) Hospital rooms, residential health care facilities, con-
the, valescent homes, and prisons.
[ ] FRONT side [ ] BOTTOM side (5) Workstations for the hearing impaired.
[ ] BACK side [ ] TOP side (6) Hotel, moel, apartment lobbies; in stores where tele-
of this equipment is a label that contains, among other phones are used by patrons to order merchandise; in
information, the FCC Registration Number and Ringer public transportation terminals where telephones are
Equivalence Number (REN) for this equipment. If used to call taxis, or to reserve lodging or rental cars.
requested, provide this information to your telephone (7) Hotel and motel rooms. At least ten percent of the
company. rooms must contain hearing aid compatible telephones;
The (REN) is useful to determine the quantity of devices or jacks or plug-in hearing-aid compatible telephones
you may connect to your telephone line and still have all which will be provided to hearing impaired customers
of those devices Ring when your number is called. In upon request.
most, but not all areas, the sum of the REN’s of all
devices should not exceed five (5.0). To be certain of
the number of devices you may connect to your line, as
determined by the REN, you should call your local tele-
phone company to determine the maximum REN for
your calling area.
If this equipment causes harm to the telephone network,
the Telephone Company may discontinue your service
temporarily. If possible, they will notify you in advance.
But if advance notice isn’t practical, you will be notified
as soon as possible. You will be advised of your right to
file a complaint with the FCC.
Your telephone company may make changes in its facil-
ities, equipment, operations, or procedures that could
affect the proper operation of your equipment. If they
do, you will be given advance notice so as to give you
an opportunity to maintain uninterrupted service.
If you experience trouble with this equipment, please
contact (your company name) at (your company phone
number) for warranty/repair information. The telephone
company may ask that you disconnect this equipment
from the network until the problem has been corrected

Rev. 2 www.clare.com 5
CPC2400E

Applications The ferrite beads FB1 and FB2 may be required to


Figure 1 is a schematic of the CPC2400E in a typical reduce EMI emissions per FCC Part 15. Determining
host system application. The host system communi- the value for the ferrite beads depends solely on the
cates to the CPC2400E through a standard V.24 serial emissions generated by the end user product.
interface. Refer to the Pinout and Definitions section for Figure 2 is a schematic of the CPC2400E in a stand-
functional descriptions of the pins. The transmit and alone RS232C configuration. This circuit uses the Linear
receive data is sent over the TXD and RXD pins. The - Technologies LT1181A RS232 line driver. Note that the
DCD and -DTR pins are used for handshaking. The LT1181A line driver inverts the signals. Both figures 1
audio output pin, A1 is used for monitoring the analog and 2 are for reference purposes only. Exact component
data and can be amplified to drive a speaker. The - values should be determined by the user.
MUTE can be used to enable or disable the speaker.

+5V

VCC
TXD
TIP FB1
RXD
-DCD
-DTR
HOST CPC2410E
SYSTEM MODEM
-MUTE
FB2
RING
TELEPHONE
A1
LINE
GND

SPEAKER AUDIO AMP

Figure 1. CPC2400E System Environment

+5V +5V

17 VCC
1 FB1
14 TIP
2 TXD 8 11 TXD
15
3 RXD 9 10 RXD
16 4 15 13
17 CPC2400E
5 14 12
18
6 MODEM
19
7 3 LT1181A 2 FB2
20
8 TELEPHONE
21
9 4 RING LINE
22
10 5
23
11 GND
24
12 7 6
25
13 18

16

DB25F RS232 DRIVER

Figure 2. Stand Alone Modem with RS232C Interface

6 www.clare.com Rev. 2
CPC2400E

Command lines are typed to the modem from the termi- are decimal (base 10).
nal when the modem is in the Idle or Command state. AT Command Prefix
The modem does not execute any of the commands in
a command line until after the command line is ended Each modem command line begins with the letters A
by the end of line character <CR>. A command line is a and T. The modem uses these characters to determine
string of char-acters starting with the A and T characters the data rate and parity of data from the terminal.
and ending with a special end of line character, <CR>. A/Repeat Last Command
Characters typed before the AT are ignored. Command
To repeat the commands in the last command line type
lines contain at most 40 characters after the AT, not
the letters A and / instead of A and T.
counting spaces. The modem does not execute any of
the commands in a command line that is too long. <CR>End Of Line Character
To Echo command line characters, use the E1 com- This character is typed to end a command line. The
mand. value of the <CR> character is stored in S-register S3.
The de-fault is 13, the ASCII carriage return character.
Typing mistakes can be aborted by using a special
Back-Space character, <BS>, after the initial A and T When the <CR> character is entered, the modem exe-
characters have been entered. cutes the commands in the command line.
A partial command line can be aborted by typing a Ctrl- Note: default values in the AT Command Tables are
X character. The modem returns an OK result code and denoted by bold face type.
ig-nores the partial AT command line.
Command lines may contain several commands one
after another. The Answer (A), Dial (D), and Go On-Line
(O) commands usually cause any following commands
in the command line to be ignored.
Command Line Execution
The characters in a command line are executed one at
a time. Any unexpected characters, except control char-
acters, stop command line execution and return an
ERROR result code. Unexpected characters include
numbers out-side the range of values accepted by the
command. All control characters in a command line
except Ctrl-X and the special characters such as <CR>
and <BS> are ignored.
The numerical argument of a command is assumed to
be 0 if it was not provided. For example, the commands
ATH<CR> and ATH0<CR> both hang up the telephone
line.
When the modem has executed a command line the
result code of the last command executed is returned to
the terminal. If the value to be written to a modem S-reg-
ister is outside the range of values accepted by the S-reg-
ister then its value is set to the nearest allowed value.
Leading zeros in numeric arguments, including S-regis-
ter numbers, are ignored. For example, ATS1=2 and
ATS01=2 both set S-register S1 to 2.
All numeric arguments, including S-register numbers,

Rev. 2 www.clare.com 7
CPC2400E

AT Command Set

Command Function and Description


A Answer The A command makes the modem go off hook and respond to an incoming call. Use this command
after the modem has returned the RING result code.
If the modems successfully complete the answering process they each return a CONNECT result code
and enter the On-Line state.
If no transmit carrier signal is received from the calling modem within the time specified in S-register S7,
the modem hangs up, returns the NO CARRIER result code, and enters the Idle state.
Any commands following the answer command on the command line are ignored.
This command is aborted if a key is pressed before the answer process is completed, or when DTR is off
if some options in the &Q or &D commands have been used.
B Communication The B command tells the modem which special telephone line modulation standards to use. The
Standard Option modem can be configured to use:
B0 Use the ITU-T modulation standards for all telephone line data rates. This includes V.22 for the
1200 bps telephone line data rate and V.21 for the 300 bps telephone line data rate.
B1 Not Supported.
&C Data Carrier &C determines how the modem’s DCD signal relates to the carrier signal from the other
Detect Options modem. This option takes effect only at the beginning of a telephone line connection. If &C is issued from
the Command state it will not have an immediate effect.
&C0 During asynchronous operation (&Q0 in effect) DCD is on at all times. During synchronous oper-
ation (&Q1) DCD reflects the state of the carrier signal from the other modem using S-registers
S9 and S10. This is the default value in North America.
&C1 Reflects the state of the carrier signal from the other modem using S-registers S9 and S10.
D Dial The D command makes the modem dial a telephone call according to the digits and dial modifiers in the
dial string following the command. Any commands following the dial string on a command line are
ignored unless the semicolon dial modifier is the last character in the dial string. If the modem was
already off hook when the Dial command was given, the modem dials immediately without trying to
detect a dial tone. Characters other than digits and dial modifiers in a dial string are ignored, but are
counted as characters in the command line buffer.
If line current sensing is enabled, and line current is detected before the modem is taken off-hook when
the modem needs to dial, a NO CARRIER result code is displayed and the modem enters the Idle state. If
the modem does not need to dial (i.e., ATD with no dial string), the modem assumes the call was manual-
ly established and attempts to make a connection.
The D command is not valid when the modem is in the On-Line state.
See DIAL MODIFIERS and MODEM RESULT CODES for more information.

8 www.clare.com Rev. 2
CPC2400E

AT Command Set
Command Function and Description
&D Data Terminal &D determines how the modem responds to the DTR signal from the terminal. The country
Ready Options configuration may prevent the modem from detecting terminal DTR. In this case, the
modem assumes DTR is always on. In North America, terminal DTR is normally detected. If DTR detection
has been prevented, the modem will respond with an ERROR result to this command.
The response to changes in DTR also depends on the &Q and &D commands. This table defines what
happens when DTR goes off for all possible combinations of the &D and &Q commands. To see what
happens when DTR goes on refer to the &Q command. The default value is &D0 in North America:
&D0 &D1 &D2 D3
&Q0 None B C D
&Q1 A B C D
A The modem hangs up the telephone line and issues an OK result code.
B If in the On-Line state, the modem goes into the Command state and issues an OK result code.
C The modem hangs up the telephone line and issues an OK result code. Auto-Answer is disabled as
long as DTR stays off.
D The modem resets.
E Command Mode E tells the modem whether or not to echo characters sent from the terminal when the
modem is Character Echo accepting AT commands.
E0 Does not echo characters sent from the terminal.
E1 Echo characters sent from the terminal. This is the default value in North America.
%E Automatic Retrain The %E command controls whether the modem will initiate retrain with the other modem during
Options a telephone line connection during operation in data modes supporting retrain. The modem always
responds to a retrain operation initiated by the remote modem. The modem can be forced to initiate a
retrain by the On-Line (O1) command.
%E0 Do not initiate a retrain.
%E1 Initiate a retrain if the datapump indicates one is required.
&F Recall Factory &F changes these AT command options and S-registers to their default values. The default
Profile values may be changed for use in different countries. The values for North America are:
S-registers
S0=0 S1=0 S2=43 S3=13 S4=10 S5=8
S6=2 S7=30 S8=2 S9=6 S10=14 S11=95
S12=50 S17=10 S25=5 S28=0 S29=25 S37=0
Commands
B1 E1 M1 P Q0 V1 X4 &C0 &D0 &G0 &P0 &Q0 %E1
&G Guard Tone Options &G tells the modem which guard tone to transmit when the modem is transmitting the high band (i.e.,
answer handshake and answer mode).
&G0 No guard tone. This is the default value in North America.
&G1 550 Hz guard tone (V.22 and V.22bis only)
&G2 1800 Hz guard tone (V.22 and V.22bis only)

Rev. 2 www.clare.com 9
CPC2400E

AT Command Set
Command Function and Description
H Hook H0 Hang up the telephone line.
H1 Go off hook without answering a telephone call. This may be disabled in countries prohibiting
its use.
&HT PTT Test Command The &HT command causes the modem to transmit tones for PTT testing. The test tone is generated
until a character is typed on the modem’s terminal. The country configuration may disable this com-
mand. The modem returns an ERROR result if this command is issued.
&HT0-9 EMMF tone for digit n where the command was &HTn.
&HT10 EMMF tone”*”
&HT11 EMMF tone “#”
&HT12 EMMF tone “A”
&HT13 EMMF tone “B”
&HT14 EMMF tone “C”
&HT15 EMMF tone “D”
&HT16 V.21 channel 1 mark
&HT17 V.21 channel 2 marks
&HT18 V.23 1200bps marks
&HT19 V.23 75bps marks
&HT20 V.21 channel 1 spaces
&HT21 V.21 channel 2 spaces
&HT22 V.23 1200bps spaces
&HT23 V.23 75bps spaces
&HT24 V.22 originate mode
&HT25 V.22 answer mode
&HT26 V.22bis originate mode
&HT27 V.22bis answer mode
&HT28 V.25 calling tone
&HT29 550Hz guard tone
&HT30 1800Hz guard tone
&HT31 Silence
I Identification The I command asks the modem for information that can be used to determine the modem’s compati-
bility with other software and to ensure the modem is operating properly.
I0 Display product code. The modem reports its product code to the terminal. The modem pro-
duces information text dependent upon its features and capabilities.
I1 Display ROM checksum. The modem reports the value of its ROM checksum. The decimal num-
ber displayed is the eight bit sum (from 0 to 255) of all the bytes in ROM.
I2 Test the ROM checksum. The modem checks its ROM to ensure it is correct. The modem
reports a result code indicating whether the ROM is OK or in ERROR.
I3 Display Software Versions. The modem reports the modem controller and data pump software
versions, and the modem controller software release date, to the terminal.
I4 Display Modem Identification. The modem reports a configurable identification message to the
terminal.

10 www.clare.com Rev. 2
CPC2400E

AT Command Set
Command Function and Description
M Speaker On/Off The country configuration may disable the speaker. If so, this command will return an
Options ERROR result.
M0 Speaker always off.
M1 Speaker on until carrier detected. This is the default value in North America.
M2 Speaker always on; stays on after carrier is detected.
M3 Speaker off as digits are dialed, but on during ringback and on until carrier signal is detected.
O Return to On-Line This command returns the modem to the on-line mode. It is frequently used after th escape character
Mode sequence (+++) to resume communication with the remote modem. If handshaking is started, the
modem uses Originate or Answer mode handshaking depending upon whether the modem originated
or answered the telephone call.
O0 Return the modem to the On-Line state from the Command state during a telephone line
connection. The modem starts handshaking if there was no telephone line connection but the
modem was off hook.
O1 Return the modem to the On-Line state and retrain its data pump during a telephone line
connection. The modem starts handshaking if there was no telephone line connection but the
modem was off hook.
&P Pulse Dial Make/ Sets cadence of pulse dial. The country configuration may disable this command, forcing particular
Break Ratios pulse dialing parameters. In this event, the modem returns an ERROR result if this command is issued.
&P0 39%/61% make/break ratio and 10 pulses per second when pulse dialing. This is the default
value.
&P1 33%/67% make/break ratio and 10 pulses per second when pulse dialing.
&P2 39%/61% make/break ratio and 20 pulses per second when pulse dialing.
q &P3 33%/67% make/break ratio and 20 pulses per second when pulse dialing
Q Result Code This command allows the user to either display result codes or to not display result codes.
Display Options
Q0 Result codes will be displayed. This is the default value for North America.
Q1 Result codes will not be displayed.
Sn Set the current This command sets the current S-register to the value “n” selected by the user. For example, ATS7 will
S-register to n set the current S-register to S7. Default value is 0. Sn addresses a particular S-register number so
future commands like ? and = will read of write the S-register. Modem reset and the &F command
select S0 as the default S-register.
? Read an S-Register This command displays the value of the last S-register named in the Sn command.
=x Write an S-register This command writes the value x to the last S-register named in the Sn command. The range of valid
values for x depends upon which S-register is being written. 0 is assumed if no value is given for x.
T Tone dialing Selects the tone method of dialing.
V Result Code Format This command changes the format in which result codes are displayed.
V0 All result codes will be displayed as numbers.
V1 All result codes will be displayed as words (verbose form). This is the default value for North
America.

Rev. 2 www.clare.com 11
CPC2400E

AT Command Set
Command Function and Description
X Call Progress The X command controls whether or not a busy signal or dial tone should be detected when dialing.
The X command also limits the result codes the modem may return when dialing. The operation of the
X command is configurable for operation in different countries.
X0 Neither busy signal nor dial tone are detected. When a telephone line connection is made the
result code does not indicate the telephone line data rate.
X1 Neither busy signal nor dial tone are detected. When a telephone line connection is made the
result code indicates the telephone line data rate.
X2 Busy signal is not detected. Dial tone is detected. When a telephone line connection is made
the result code indicates the telephone line data rate.
X3 Busy signal is detected. Dial tone is not detected. When a telephone line connection is made
the result code indicates the telephone line data rate.
X4 Both busy signal and dial tone are detected. When a telephone line connection is made the
result code indicates the telephone line data rate. This is the default value in North America.
The @ and W dial modifiers are not affected by the X command. The @ dial modifier may return the
result codes 8 (NO ANSWER) or 7 (BUSY) each time it appears in the dial string. The W dial modifier
may return the result codes 6 (NO DIALTONE) or 7 (BUSY) each time it appears in the dial string.

12 www.clare.com Rev. 2
CPC2400E

Dial Modifiers
Dial modifiers perform special functions within a dial break recall), to wait for quiet answer, and to issue the
command. For example, PBX transfer code #7 before dialing extension number
ATDT9W1552368!@#71234;<CR> 1234, then to return to the Command state before initi-
ating the handshake.
instructs the modem to use tone dialing (T), to access a
number outside a PBX (9), to wait for dial tone (W), to
dial the number 1552368, to do a hook-flash (i.e. timed

Modifier Function
0-9 A B C D # * Dialing digits and characters. The digits and characters 0-9 A B C D # * specify what numbers the
modem dials. The characters A B C D # * work only when tone dialing is used, they are ignored when
pulse dialing is used. The characters A, B, C, and D may be disabled in countries prohibiting their use.
P Pulse dialing. P selects the pulse method of dialing. P can be issued within a dial command or as a
separate command. The default method of dialing is Pulse.
R Originate a Call in Answer Mode. R makes the modem handshake in answer mode so it can originate
a call to an originate-only modem.
T Tone dialing. T selects the tone method of dialing. T can be issued within a dial command or as a sep-
arate command. The default method of dialing is Pulse.
W Wait for dial tone. W makes the modem wait for a dial tone before proceeding. If no dial tone is detect-
ed the modem hangs up the telephone line and returns the NO DIALTONE result code.
, Delay Processing of Next Character. A comma (,) makes the modem pause for the length of time in S-
register S8 before processing the next character in a dial string.
@ Wait for Quiet Answer. @ makes the modem listen for 5 seconds of silence before continuing. The
modem will wait up to the length of time in S-register S7. If 5 seconds (configurable by country) of
silence are not detected within the time period in S-register S7, the modem hangs up and returns the
NO ANSWER result code. If 5 seconds of silence are detected, the modem continues processing the
other characters in the dial string.
! Timed Break Recall (Hookflash). A ! makes the modem hang up the telephone line for the length of
time in S-register S29, then take the telephone line off hook again. This is frequently used to access a
PBX’s call transfer function.
; Return to Command State after dialing. A semicolon (;) tells the modem to return to command state
after dialing without breaking the telephone line connection and without handshaking with the other
modem. The semicolon may only be used when calling a voice mail system that permits tones to trans-
mit numbers once a connection has been established.

Rev. 2 www.clare.com 13
CPC2400E

Modem S-Registers
The value of an S-register is modified by ATSn =x, three values that may be configured for different coun-
where n is the register number and x is the value to be tries: a default value, an upper limit and a lower limit.
stored in that particular register. Each S-register has The values shown in this manual are for North America.

Register Range Units Description


S0 0 - 255 Rings Set number of rings to auto-answer. The country configuration may disable the
modem’s ability to detect a telephone line ring signal. In this case the modem will
never automatically answer the telephone regardless of the S0 setting. Default = 0
(auto-answer disabled)
S1 0 - 255 Rings Returns the number of times the phone rings. Default = 0
S2 0 - 255 ASCII Set Escape Sequence Character. Setting S2 to a value greater than 127 disables the
character escape sequence, preventing the modem from returning to Command
state when in the On-Line state. Default = 43
S3 0 - 127 ASCII Set the End of Line character. Default = 13
S4 0 - 127 ASCII Set the Line Feed Character. Default = 10
S5 0 - 127 ASCII Set the BackSpace Character. Default = 8
S6 2 - 255 Seconds Delay to Wait Before Performing a Blind Dial. Default = 2 seconds
S7 1 - 255 Seconds Delay to Wait for Carrier after dialing. Default = 30 seconds
S8 0 - 255 Seconds Delay to Wait when a Comma Dial Modifier is Processed. Default = 2 sec.
S9 1 - 255 1/10th sec Time Carrier Must be Present Before Being Recognized. Default = 0.6 sec.
S10 1 - 255 1/10th sec Delay Between Lost Carrier and Hang Up. Setting S-register S10 to 255 makes the
modem never hang up the telephone line because of a loss of carrier. Default = 14
tenths of a second
S11 50 - 255 msec Multi-Frequency Tone duration. Default = 95 milliseconds
S12 0 - 255 1/50th sec Escape Prompt delay time. This is the prompt delay time for escape sequences
from the On-Line state to the Command state. Default = 50 fiftieths of a second
S13 Reserved Reserved Reserved
S14 Reserved Reserved Reserved
S15 Reserved Reserved Reserved
S16 Reserved Reserved Reserved
S17 -6 to -43 - dBm Set Transmit level. Default = -10 dBm
S18 Reserved Reserved Reserved
S19 Reserved Reserved Reserved
S20 Reserved Reserved Reserved

14 www.clare.com Rev. 2
CPC2400E

Modem S-Registers
Register Range Units Description
S21 Reserved Reserved Reserved
S22 Reserved Reserved Reserved
S23 Reserved Reserved Reserved
S24 Reserved Reserved Reserved
S25 0 - 255 seconds or During synchronous operation with the &Q1 command in effect, S-register S25 is
1/100 sec. the number of seconds after a telephone line connection is made before the modem
examines DTR. This allows sufficient time to disconnect the modem from an asyn-
chronous terminal and attach it to a synchronous terminal. In the On-Line or
Command state during any mode of operation, changes in DTR for less than S25
hundredths of a second are ignored.
S26 Reserved Reserved Reserved
S27 Reserved Reserved Reserved
S28 0 - 255 minutes Terminal inactivity timeout. Hangs up the modem after S28 minutes if no characters
are received from the modem’s terminal. Default = 0
S29 0 - 255 1/50th sec Hook Flash On-Hook time. The amount of time in 20 millisecond units the modem
will leave the telephone on-hook while performing a hook-flash according to the “!”
dial string modifier. Default = 25 fiftieths of a second.
S37 0-6 code Set Highest Line Rate - determines the highest telephone line data rate the modem
will use when connecting with a remote modem. See “Setting the Highest Line
Rate” section below. Default = 0.

Setting the Highest Line Rate


The connect rate can be selected by S-register S37. The following connect rates are supported.

S37
Value Carrier Data Rate
0 The data rate of the last AT command
4 Reserved
5 V.22, Bell 212A 1200 bps. See the B command
6 V.22bis 2400 bps

Rev. 2 www.clare.com 15
CPC2400E

Modem Result Codes


A result code is a line of text or a number the modem
sends to the terminal to indicate the result of a com-
mand execution. Some CONNECT result codes indi-
cate the telephone line data rate. The following table
provides a list of the available result codes.

Number Word Result Code Description


0 OK Command Line Executed without errors
1 CONNECT The modem is in the On-line state, ready to transfer data.
2 RING The modem has detected a ring signal on the telephone line. The country configuration
may disable the modem’s ability to detect a telephone line ring signal.
3 NO CARRIER No carrier signal was detected when answering or placing a telephone call, or carrier
was lost during a call. The modem also returns this response message when the tele
phone line connection is broken for any reason.
4 ERROR An invalid command was issued, or there was an error at any place in the command line.
5 CONNECT 1200 The modem is in the On-line state, ready to transfer data.
6 NO DIALTONE No dial tone was detected when the modem took the telephone line off hook.
7 BUSY The modem detected a busy signal on the telephone line.
8 NO ANSWER Not enough silence was detected when the @ dial modifier was used.
10 CONNECT 2400 The modem is in the On-line state, ready to transfer data. The telephone line data rate is
2400bps.
16 CONNECT 1200/75 The modem is in the On-Line state, ready to transfer data. This modem transmits at
1200 bps and receives at 75 bps.
17 CONNECT 75/1200 The modem is in the On-Line state, ready to transfer data. This modemtransmits at 75
bps and receives at 1200 bps.
20 BLACKLISTED The modem will not allow any number to be dialed until after the modem is reset.
21 DELAYED The modem will not allow any number to be dialed now, but will allow dialing at some
future time.

16 www.clare.com Rev. 2
CPC2400E

Escape Sequences Carrier Detection


An escape sequence is one or more particular characters S-Register S2. The prompt delay timer can be changed
sent from the terminal to the modem during the On-Line (in 1/50 second increments) through S-Register S12
state. This is done to switch the modem to the command (see S-Registers section).
state so modem commands may be entered during a After handshaking, the modem determines if a tele-
telephone line connection. The Escape Sequence char- phone line connection exists by detecting the carrier sig-
acters are typically sent to the other modems as data. nal from the other modem. If the carrier is not detected
An escape sequence should not occur accidentally dur- for a long enough period of time, the modem assumes
ing an exchange of data between two modems. the telephone line connection with the other modem has
Unfortunately, it is impossible to guarantee any escape been broken. The modem uses S-register S9 to deter-
sequence will never occur naturally since there are no mine how long a carrier must be present before it is
restrictions on the data or timing between characters “detected.” The modem uses S-register S10 to deter-
sent between two modems during the On-Line state. mine how long a carrier may not be detected before the
The only method of switching form the On-Line state to telephone line is hung up.
the Command state that does not ever occur naturally
during an exchange of data is the Data Terminal Ready
signal (the &D1 command). The terminal has complete
control of this signal and it is not part of the data
exchanged between the modems.
The Hayes escape sequence was adopted by many
modem manufacturers and communication programs
before Hayes was granted a patent for the escape
sequence guard times. Now the unpatented Time
Independent Escape Sequence (TIES) has gained pop-
ularity with many modem manufacturers.

TIES Escape Sequence


TIES stands for Time Independent Escape Sequence.
TIES was developed by a number of modem manufac-
turers in response to Hayes enforcing patent rights for
their escape sequence guard time patent.
The Time Independent Escape Sequence is a sequence
of 3 escape characters (+ characters by default). Once
these characters have been recognized, the modem
enters the Command state without sending a confirming
result code to the terminal and the modem starts a
prompt delay timer.
Then:
a. If one of the recognized AT commands is received
before the timer expires, the timer is stopped, the com-
mand is executed and its result code is sent to the ter-
minal.
b. If any other data is received while the timer is running,
the timer is stopped, the modem returns to the On-Line
state and the received data is sent to the other modem.
c. If the timer expires, a confirming result code is sent to
the terminal, indicating the modem is in the Command
state. The escape character can be changed through

Rev. 2 www.clare.com 17
For additional information please visit our website at: www.clare.com
Clare, Inc. makes no representations or warranties with respect to the accuracy or completeness of the contents of this publication and reserves the right to make changes to specifications and product descriptions
at any time without notice. Neither circuit patent licenses nor indemnity are expressed or implied. Except as set forth in Clare’s Standard Terms and Conditions of Sale, Clare, Inc. assumes no liability whatsoever, and
disclaims any express or implied warranty, relating to its products including, but not limited to, the implied warranty of merchantability, fitness for a particular purpose, or infringement of any intellectual property right.

The products described in this document are not designed, intended, authorized or warranted for use as components in systems intended for surgical implant into the body, or in other applications intended to sup-
port or sustain life, or where malfunction of Clare’s product may result in direct physical harm, injury, or death to a person or severe property or environmental damage. Clare, Inc. reserves the right to discontinue or
make changes to its products at any time without notice.

Specification: DS-CPC2400E-R2.0
©Copyright 2002, Clare, Inc.
All rights reserved. Printed in USA.
6/25/02

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy