CPC2400E

CPC2400E
Embedded Modem Module
INTEGRATED CIRCUITS DIVISION
Features
Description
•
•
•
•
•
•
•
•
•
•
The CPC2400E is a 2400 baud embedded modem
module intended for applications that require a
data communications link to the Public Switched
Telephone Network (PSTN). The CPC2400E is a
complete module on a small 1.0” x 2.5” printed circuit
board that can be socketed or soldered into the host
system mother board. The module is FCC Part 68
approved and includes a user transferrable registration
number. It also is a UL recognized component. The
CPC2400E can be used in a variety of applications
including set top box back channel communications,
vending machines, remote utility metering, remote
data acquisition, plus a host of other applications.
The CPC2400E supports a standard serial V.24 TTL
interface to the DTE equipment.
Easy Integration
Small Footprint 1.00" x 2.50"
Full Duplex 2400bps
Low Power Consumption
V.24 DTE Interface
Single +5V Supply Operation
Supported Protocols: V.22bis, V.23, V.22
UL Recognized Component
FCC Part 15B Compliant
FCC Part 68 Approved (User Transferrable)
Applications
•
•
•
•
•
•
•
•
•
Vending/Gaming Machines
Set Top Box Back Channel
Direct Broadcast Satellite
Utility Meters
Point of Sale Terminals
Remote Diagnostics
Remote Telemetry
Remote Monitoring
Embedded Applications
Approvals
• UL/C-UL: 174201
• FCC Reg. # LVRPHL-25931-MD-E
Ordering Information
Part #
CPC2400E
Description
2400 Baud Embedded Modem Module
Pin Configuration
Block Diagram
+5V
LINE
INTERFACE
PARALLEL
DTE
CONTROLLER
V.24
SERIAL
V.22BIS
DATA PUMP
TIP
DAA
RING
VCC
GND
-DTR
-DCD
-MUTE
A1
N/C
RXD
TXD
J1
J2
N/C
TIP
N/C
RING
N/C
AUDIO
OUT
GND
DS-CPC2400E-R03
www.ixysic.com
1
INTEGRATED CIRCUITS DIVISION
CPC2400E
Absolute Maximum Ratings @ 25ºC
Parameter
Dielectric Withstanding Voltage
Tip/Ring Current (Continuous)
Operating Temperature
Storage Temperature
Relative Humidity (Non-Condensing)
1
Min
20
0
0
10
Max
1000
120
70
100
85
Units
Vrms
mA
ºC
ºC
%
Derate linearly 3.33 mW / ºC
Absolute Maximum Ratings are stress ratings. Stresses
in excess of these ratings can cause permanent damage
to the device. Functional operation of the device at these
or any other conditions beyond those indicated in the
operational sections of this data sheet is not implied.
Exposure of the device to the absolute maximum ratings
for an extended period may degrade the device and effect
its reliability.
Electrical Characteristics
Parameter
DC Electrical Characteristics @ 25ºC
VCC Supply Voltage
VCC Supply Current - Idle (Sleep Mode)
VCC Supply Current - Active
Line Matching Impedance
Ringing Voltage
Ringer Equivalence Number (REN)
Telephone Line Loop Current
DTE DC Characteristics @ 25ºC
Input High Voltage VIH
Input Low Voltage VIL
Input Leakage Current IL
Output High Voltage VOH
Output Low Voltage VOL
Input High Voltage VIH
Input Low Voltage VIL
2
Conditions
Min
Typ
Max
Units
VCC=5V
VCC=5V
VCC=5V
VCC=5V, f=20Hz
VCC=5V
VCC=5V
4.75
20
5
5
70
600
22
0.6B
-
5.25
10
100
30
120
V
mA
mA

Vrms
mA
GND<VO<VCC
IOH=-2mA, VCC=5V
IOH=+2mA, VCC=5V
VCC=5.5V
VCC=5.5V
2
0
-10
4
0
0.7
GND-0.3
2.6
1.6
VCC+0.3
0.8
10
0.4
VCC+0.3
0.2VCC
V
V
A
V
V
V
V
www.ixysic.com
R03
INTEGRATED CIRCUITS DIVISION
CPC2400E
Definitions
Pin
J1-1
J1-2
J1-3
I/O
I
I
I
Name
VCC
GND
-DTR
J1-4
O
-DCD
J1-5
J1-6
J1-7
J1-8
J1-9
O
O
I
O
-MUTE
A1
N/C
RXD
TXD
Function
Connects to external host power source of +5V +/-5%
Power supply return
Data Terminal Ready. An active Low input on this pin indicates that the host system is ready to communicate with the
modem.
Data Carrier Detect. When active, indicates carrier signal has been detected. For options see AT Command reference
section under &C command.
Mutes external speaker. Uses AT “M” command.
Analog output that can be used to monitor modem activity via an external audio amplifier.
No Connection
Serial data input from host DTE
Serial data output to host DTE
Pin
J2-1
J2-2
J2-3
J2-4
J2-5
I/O
I/O
I/O
-
Name
NC
TIP
N/C
RING
NC
Function
No Connection
Tip connection to telephone line
No Connection
Ring connection to telephone line
No Connection
*The Performance data shown in the graphs above is typical of device performance. For guaranteed parameters not indicated in the written specifications, please
contact our application department.
R03
www.ixysic.com
3
INTEGRATED CIRCUITS DIVISION
CPC2400E
Functional Description
The CPC2400E is a small, full featured, 2400 baud
module intended for embedded applications and is
fully FCC Part 68 approved. The CPC2400E includes
a user transferable FCC registration number which
the end product must display (see section for more
details). The module consists of a Data Access
Arrangement (DAA), V.22bis data pump, and a
microcontroller on a 1.00” x 2.50” PCB.
The CPC2400E connects to the telephone lines
TIP and RING leads and must be made through an
approved RJ-11 jack. The CPC2400E supports the
industry standard AT command set (see AT Command
set section for further details).
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, reducing supply current to a minimum. An
incoming ring signal from the phone lines powers up
the device (wake-on ring).
An evaluation board is available for testing the
CPC2400E. This evaluation board includes an RS232
line driver, LED status indicators and an amplified
speaker circuit. When used with the evaluation
board, the CPC2400E also meets the FCC Part 15B
emissions test. Contact IXYS IC Division for more
information on the CPC2400E Evaluation Board.
DAA
The DAA portion of the CPC2400E has been
designed to interface directly with the U.S. PSTN
as governed by the FCC. The DAA includes the
circuitry for hookswitch, ring detection, gyrator, surge
protection and analog signal coupling transformer. The
DAA circuitry provides up to 1000 Vrms of longitudinal
surge protection. For countries using a PSTN similar
to the U.S. (Canada, Japan), the product using the
CPC2400E must be submitted to a suitable test house
for approval. Consult IXYS IC Division for further
information.
FCC Part 68: Connecting to the PSTN
1. General
The CPC2400E complies with FCC Part 68 rules
which regulates equipment connected to the
telephone network. The CPC2400E provides a user
transferable Part 68 registration which means that
customers can use IXYS IC Division’s registration
number for the CPC2400E. Customers who wish, can
reregister the modem under their name. Reregistration
4
assigns the customer a unique registration number.
No additional FCC Part 68 submittal is required for
equipment using the CPC2400E module.
2. Repairs
The FCC requires that IXYS IC Division makes
all necessary repairs to the modem. If you are
experiencing problems with the CPC2400E, call
1-800 272-5273 for further information. If repairs are
necessary after the modem has been installed in your
product and delivered to your customer, the modem
must be returned to you where the CPC2400E can be
removed and sent back to IXYS IC Division.
3. Label Instructions
A label similar to the following should be made visible
on the outside of the end user product.
4. Design Guidelines
The following design guidelines should be followed to
insure compatibility to FCC Part 68 tests:
4.1. The CPC2400E, the RJ-11 jack and the interface
circuitry must be mounted on a PCB the should meet
UL 94V-0 flammability standard.
4.2. Tip and Ring traces from the CPC2400E to the
RJ11 jack should be isolated by a minimum of 1.5mm
(0.06in) to prevent breakdown. Traces must have a
minimum
width of 0.5mm (.02in).
4.3. Insure that module is securely installed to the host
system. Vibration and drop tests will loosen
components
that are not securely mounted. One of two methods
for securing the module should be used:
4.3.1 Soldered to the main PCB. This method is well
suited for harsh environments where the end product
may be subjected to shock and vibrationas in
industrial
environments (equipment monitoring, etc.).
4.3.2 Socketed to the main PCB. This method is well
suited for environments where the end product is not
subjected to shock and vibrations as in consumer
applications (set top boxes, etc.).
www.ixysic.com
R03
INTEGRATED CIRCUITS DIVISION
CPC2400E
4.4. Components used must be able to withstand
temperature and humidity extremes per FCC Part 68.
4.5. When connecting to the PSTN, an FCC approved
telephone jack must be used in the host system and
must meet the mechanical requirements per FCC Part
68.3 Sub-part F. For RJ-11 jacks, refer to FCC Public
Notice #42269 for a list of approved vendors.
4.6. The supplied FCC Registration Number including
REN must be visible on the outside of the end user
product. See Section 3.
5. Exhibit J: User Instructions
Instructions to our customers:
The FCC Part 68 Rules require the following
information (or equivalent) to be provided for the end
user product.
FCC Requirements for Consumer Products
This equipment complies with FCC rules, Part 68. On
the,
[ ] FRONT side
[ ] BACK side [
[ ] BOTTOM side
] TOP side
of this equipment is a label that contains, among other
information, the FCC Registration Number and Ringer
Equivalence Number (REN) for this equipment. If
requested, provide this information to your telephone
company.
The (REN) is useful to determine the quantity of
devices you may connect to your telephone line and
still have all of those devices Ring when your number
is called. In 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 telephone company to determine the
maximum REN for your calling area.
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 or until you are sure that the
equipment is not malfunctioning.
This equipment may not be used on coin service
provided by the telephone company. Connection to
party lines is subject to state tariffs.
FCC rules prohibit the use of non-hearing aid
compatible telephones in the following locations or
applications:
(1) All public or semipublic coin-operated or credit
card telephones.
(2) Elevators, highways, tunnels (automobile, subway,
railroad or pedestrian) where a person with impaired
hearing might be isolated in an emergency.
(3) Places where telephones are specifically installed
to alert emergency authorities such as fire, police, or
medical assistance personnel.
(4) Hospital rooms, residential health care facilities,
convalescent homes, and prisons.
(5) Workstations for the hearing impaired.
(6) Hotel, moel, apartment lobbies; in stores where
telephones are used by patrons to order merchandise;
in public transportation terminals where telephones
are used to call taxis, or to reserve lodging or rental
cars.
(7) Hotel and motel rooms. At least ten percent of
the rooms must contain hearing aid compatible
telephones; or jacks or plug-in hearing-aid compatible
telephones which will be provided to hearing impaired
customers upon request.
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
facilities, 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.
R03
www.ixysic.com
5
INTEGRATED CIRCUITS DIVISION
CPC2400E
Applications
Figure 1 is a schematic of the CPC2400E in a
typical host system application. The host system
communicates to the CPC2400E through a standard
V.24 serial interface. Refer to the Pinout and
Definitions section for functional descriptions of the
pins. The transmit and receive data is sent over the
TXD and RXD pins. The -DCD and -DTR pins are
used for handshaking. The audio output pin, A1 is
used for monitoring the analog data and can be
amplified to drive a speaker. The -MUTE can be used
to enable or disable the speaker.
The ferrite beads FB1 and FB2 may be required to
reduce EMI emissions per FCC Part 15. Determining
the value for the ferrite beads depends solely on the
emissions generated by the end user product.
Figure 2 is a schematic of the CPC2400E in a
standalone RS232C configuration. This circuit uses
the Linear Technologies LT1181A RS232 line driver.
Note that the LT1181A line driver inverts the signals.
Both figures 1 and 2 are for reference purposes only.
Exact component values should be determined by the
user.
+5V
VCC
TXD
RXD
-DCD
-DTR
TIP
HOST
SYSTEM
FB1
CPC2410E
MODEM
-MUTE
RING
FB2
TELEPHONE
LINE
A1
GND
SPEAKER
AUDIO AMP
Figure 1. CPC2400E System Environment
+5V
+5V
17
14
15
16
17
18
19
20
21
22
23
24
25
1
2
3
4
5
6
7
8
9
10
11
12
13
VCC
FB1
TXD
RXD
11
10
13
12
8
9
15
14
3
LT1181A
TXD
RXD
TIP
CPC2400E
MODEM
FB2
2
4
5
RING
TELEPHONE
LINE
GND
6
18
7
16
DB25F
RS232 DRIVER
Figure 2. Stand Alone Modem with RS232C Interface
6
www.ixysic.com
R03
INTEGRATED CIRCUITS DIVISION
CPC2400E
Command lines are typed to the modem from the
terminal when the modem is in the Idle or Command
state. The modem does not execute any of the
commands in a command line until after the command
line is ended by the end of line character <CR>. A
command line is a string of char-acters starting with
the A and T characters and ending with a special
end of line character, <CR>. Characters typed before
the AT are ignored. Command lines contain at most
40 characters after the AT, not counting spaces. The
modem does not execute any of the commands in a
command line that is too long.
To Echo command line characters, use the E1
command.
Leading zeros in numeric arguments, including
S-register numbers, are ignored. For example,
ATS1=2 and ATS01=2 both set S-register S1 to 2.
All numeric arguments, including S-register numbers,
are decimal (base 10).
AT Command Prefix
Each modem command line begins with the letters
A and T. The modem uses these characters to
determine the data rate and parity of data from the
terminal.
A/Repeat Last Command
Typing mistakes can be aborted by using a special
Back-Space character, <BS>, after the initial A and T
characters have been entered.
To repeat the commands in the last command line
type the letters A and / instead of A and T.
<CR>End Of Line Character
A partial command line can be aborted by typing a
Ctrl-X character. The modem returns an OK result
code and ignores 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
characters, 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.
This character is typed to end a command line. The
value of the <CR> character is stored in S-register S3.
The de-fault is 13, the ASCII carriage return character.
When the <CR> character is entered, the modem
executes the commands in the command line.
Note: default values in the AT Command Tables are
denoted by bold face type.
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-register is outside the range of values accepted
by the S-register then its value is set to the nearest
allowed value.
R03
www.ixysic.com
7
INTEGRATED CIRCUITS DIVISION
CPC2400E
AT Command Set
Command
A
Answer
Function and Description
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.
B
Communication
Standard Option
&C
Data Carrier
Detect Options
D
Dial
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.
The B command tells the modem which special telephone line modulation standards to use. The 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 determines how the modem’s DCD signal relates to the carrier signal from the other 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 operation
(&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.
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 manually 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.ixysic.com
R03
INTEGRATED CIRCUITS DIVISION
CPC2400E
AT Command Set
Command
&D
E
%E
&F
&G
Function and Description
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.
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.
Automatic Retrain The %E command controls whether the modem will initiate retrain with the other modem during a telephone line
Options
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.
Recall Factory
&F changes these AT command options and S-registers to their default values. The default values may be changed
Profile
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
Guard Tone
&G tells the modem which guard tone to transmit when the modem is transmitting the high band (i.e., answer
Options
handshake and answer mode).
&G0
No guard tone. This is the default value in North America.
&G1
&G2
R03
550 Hz guard tone (V.22 and V.22bis only)
1800 Hz guard tone (V.22 and V.22bis only)
www.ixysic.com
9
INTEGRATED CIRCUITS DIVISION
CPC2400E
AT Command Set
Command
H
Hook
&HT
I
10
PTT Test
Command
Identification
Function and Description
H0
Hang up the telephone line.
H1
Go off hook without answering a telephone call. This may be disabled in countries prohibiting its use.
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 command. 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
The I command asks the modem for information that can be used to determine the modem’s compatibility 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 produces
information text dependent upon its features and capabilities.
I1
Display ROM checksum. The modem reports the value of its ROM checksum. The decimal number
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.
www.ixysic.com
R03
INTEGRATED CIRCUITS DIVISION
CPC2400E
AT Command Set
Command
M
Speaker On/Off
Options
O
&P
Q
Sn
?
=x
T
V
R03
Function and Description
The country configuration may disable the speaker. If so, this command will return an 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.
Return to On-Line This command returns the modem to the on-line mode. It is frequently used after th escape character sequence
Mode
(+++) 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.
Pulse Dial Make/ Sets cadence of pulse dial. The country configuration may disable this command, forcing particular pulse dialing
Break Ratios
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.
&P3
33%/67% make/break ratio and 20 pulses per second when pulse dialing
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.
Set the current
This command sets the current S-register to the value “n” selected by the user. For example, ATS7 will set the current
S-register to n
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
This command displays the value of the last S-register named in the Sn command.
S-Register
Write an
This command writes the value x to the last S-register named in the Sn command. The range of valid values for x
S-Register
depends upon which S-register is being written. 0 is assumed if no value is given for x.
Tone Dialing
Selects the tone method of dialing.
Result Code
This command changes the format in which result codes are displayed.
Format
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.
www.ixysic.com
11
INTEGRATED CIRCUITS DIVISION
CPC2400E
AT Command Set
Command
X
Call Progress
12
Function and Description
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.
www.ixysic.com
R03
INTEGRATED CIRCUITS DIVISION
CPC2400E
Dial Modifiers
Dial modifiers perform special functions within a dial
command. For example,
issue the PBX transfer code #7 before dialing
extension number 1234, then to return to the
Command state before initiating the handshake.
[email protected]#71234;<CR>
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 break recall), to wait for quiet answer, and to
Modifier
0-9 A B C D # *
P
R
T
W
,
@
!
;
R03
Function
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.
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.
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.
Tone dialing. T selects the tone method of dialing. T can be issued within a dial command or as a separate command.
The default method of dialing is Pulse.
Wait for dial tone. W makes the modem wait for a dial tone before proceeding. If no dial tone is detected 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 Sregister 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 transmit numbers once a connection has been
established.
www.ixysic.com
13
INTEGRATED CIRCUITS DIVISION
CPC2400E
Modem S-Registers
The value of an S-register is modified by ATSn =x,
where n is the register number and x is the value to be
stored in that particular register. Each S-register has
three values that may be configured for different
14
Command
S0
Range
0 - 255
Units
Rings
S1
S2
0 - 255
0 - 255
Rings
ASCII
S3
S4
S5
S6
S7
S8
S9
S10
0 - 127
0 - 127
0 - 127
2 - 255
1 - 255
0 - 255
1 - 255
1 - 255
ASCII
ASCII
ASCII
Seconds
Seconds
Seconds
1/10th sec
1/10th sec
S11
S12
50 - 255
0 - 255
msec
1/50th sec
S13
S14
S15
S16
S17
S18
S19
S20
Reserved
Reserved
Reserved
Reserved
-6 to -43 Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
dBm
Reserved
Reserved
Reserved
countries: a default value, an upper limit and a lower
limit. The values shown in this manual are for North
America.
Description
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)
Returns the number of times the phone rings. Default = 0
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
Set the End of Line character. Default = 13
Set the Line Feed Character. Default = 10
Set the BackSpace Character. Default = 8
Delay to Wait Before Performing a Blind Dial. Default = 2 seconds
Delay to Wait for Carrier after dialing. Default = 30 seconds
Delay to Wait when a Comma Dial Modifier is Processed. Default = 2 sec.
Time Carrier Must be Present Before Being Recognized. Default = 0.6 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
Multi-Frequency Tone duration. Default = 95 milliseconds
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
Reserved
Reserved
Reserved
Reserved
Set Transmit level. Default = -10 dBm
Reserved
Reserved
Reserved
www.ixysic.com
R03
INTEGRATED CIRCUITS DIVISION
Command
S21
S22
S23
S24
S25
Range
Reserved
Reserved
Reserved
Reserved
0 - 255
Units
Reserved
Reserved
Reserved
Reserved
Seconds or
1/100th sec
S26
S27
S28
Reserved
Reserved
0 - 255
Reserved
Reserved
Minutes
S29
0 - 255
1/50th sec
S37
0-6
Code
CPC2400E
Description
Reserved
Reserved
Reserved
Reserved
During synchronous operation with the &Q1 command in effect, S-register S25 is 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 asynchronous 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.
Reserved
Reserved
Terminal inactivity timeout. Hangs up the modem after S28 minutes if no characters are received from
the modem’s terminal. Default = 0
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.
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.
S-37 Value
0
4
5
6
R03
Carrier
V.22, Bell 212A
V.22bis
Data Rate
The data rate of the last AT command
Reserved
1200 bps. See the B command
2400 bps
www.ixysic.com
15
INTEGRATED CIRCUITS DIVISION
CPC2400E
Dial Modifiers
A result code is a line of text or a number the modem
sends to the terminal to indicate the result of a
command execution. Some CONNECT result codes
Number
0
1
2
16
Word
OK
CONNECT
RING
3
NO CARRIER
4
5
6
7
8
10
16
ERROR
CONNECT 1200
NO DIALTONE
BUSY
NO ANSWER
CONNECT 2400
CONNECT 1200/75
17
CONNECT 75/1200
20
21
BLACKLISTED
DELAYED
indicate the telephone line data rate. The following
table provides a list of the available result codes.
Result Code Description
Command Line Executed without errors
The modem is in the On-line state, ready to transfer data.
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.
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 telephone line connection is broken for any
reason.
An invalid command was issued, or there was an error at any place in the command line.
The modem is in the On-line state, ready to transfer data.
No dial tone was detected when the modem took the telephone line off hook.
The modem detected a busy signal on the telephone line.
Not enough silence was detected when the @ dial modifier was used.
The modem is in the On-line state, ready to transfer data. The telephone line data rate is 2400bps.
The modem is in the On-Line state, ready to transfer data. This modem transmits at 1200 bps and
receives at 75 bps.
The modem is in the On-Line state, ready to transfer data. This modemtransmits at 75bps and receives at
1200 bps.
The modem will not allow any number to be dialed until after the modem is reset.
The modem will not allow any number to be dialed now, but will allow dialing at some future time.
www.ixysic.com
R03
INTEGRATED CIRCUITS DIVISION
CPC2400E
Escape Sequences
An escape sequence is one or more particular
characters sent from the terminal to the modem during
the On-Line state. This is done to switch the modem
to the command state so modem commands may
be entered during a telephone line connection. The
Escape Sequence characters are typically sent to the
other modems as data.
An escape sequence should not occur accidentally
during an exchange of data between two modems.
Unfortunately, it is impossible to guarantee any escape
sequence will never occur naturally since there are no
restrictions on the data or timing between characters
sent between two modems during the On-Line state.
The only method of switching form the On-Line state
to 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
popularity with many modem manufacturers.
TIES Escape Sequence
Then:
a. If one of the recognized AT commands is received
before the timer expires, the timer is stopped, the
command is executed and its result code is sent to
the terminal.
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 S-Register S2. The prompt delay
timer can be changed (in 1/50 second increments)
through S-Register S12 (see S-Registers section).
Carrier Detection
After handshaking, the modem determines if a
telephone line connection exists by detecting the
carrier signal from the other modem. If the carrier is
not detected for a long enough period of time, the
modem assumes the telephone line connection with
the other modem has been broken. The modem uses
S-register S9 to determine how long a carrier must
be present before it is “detected.” The modem uses
S-register S10 to determine how long a carrier may
not be detected before the telephone line is hung up.
TIES stands for Time Independent Escape Sequence.
TIES was developed by a number of modem
manufacturers 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.
For additional information please visit our website at: www.ixysic.com
IXYS Integrated Circuits Division 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 IXYS Integrated
Circuits Division’s Standard Terms and Conditions of Sale, IXYS Integrated Circuits Division 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 support or sustain life, or where malfunction of IXYS Integrated Circuits Division’s product may result in direct physical harm, injury, or death to a person or severe
property or environmental damage. IXYS Integrated Circuits Division reserves the right to discontinue or make changes to its products at any time without notice.
17
Specification: DS-CPC2400E-R03
©Copyright 2012, IXYS Integrated Circuits Division
OptoMOS® is a registered trademark of IXYS Integrated Circuits Division
All rights reserved. Printed in USA.
12/22/2012