HIGH SPEED INTERNET MODEM FAMILY
CH2165
-
Send/Retrieve Email. Unlimited Email, V.90
FEATURES
INTRODUCTION
Replaces conventional modems using the world
Direct machine-to-machine interaction represents the
wide web for communication.
next logical extension of the internet. Cermetek internet
Transparent internet operations of Point-to-Point
modem (iModem) products are designed to exploit the
Protocol (PPP), Password Authentication Protocol
internet to facilitate the utilization of machine-to-
(PAP) and Challenge Authentication Protocol
machine interactions.
Using email, information can
(CHAP) to connect to the Internet.
easily be transferred between systems and can be
transmitted/retrieved at will. Internet email provides low
Built-in TCP/IP and SMTP to send emails, TCP/IP
cost,
near
real
time
multi-path
communication.
and POP3 to retrieve and/or delete emails.
Replacing conventional modems and long distance
Send/Retrieve streaming email of unlimited length;
telephone lines with local access internet connections
or pre-stored email up to 100K bytes in RAM.
reduces fixed asset and maintenance costs, limits
Retrieve multiple messages or select individual
communication expenses and saves money.
messages.
Once online CH2165 can stay online and send,
retrieve and/or delete email.
USER FRIENDLY INTERFACE LAYER
All Cermetek iModem products contain a user friendly
Programmable using serial interface.
interface layer that provides the user transparent
Remote programming using browser to access
access to the internet. This interface layer, consisting
remote device.
of various @T ® macro commands, has the look and feel
of conventional modem AT commands. With the @T
®
Resident modem supports: V.90, V.34bis, V.34,
V.22bis, V.22A/B V.23, V.21, Bell 212A and 103,
macro commands the user can direct the iModem to
(depending on model) and can be used in
compose, edit/modify, send, retrieve and delete email
conventional modem mode.
messages. Internet and email activity status is reported
Error correcting: V.42 LAPM, MNP 2-4 and MNP10.
via the iModem’s V.24 (EIA 232-E) serial interface.
Automatic baud rate adaptability utilizing speed
sensing, flow control and data buffers.
COMPARISON OF CH21XX iMODEM DEVICES
Serial interface, V.24 (EIA 232-E), 5 volts.
The CH2165 represents the next generation in internet
NVRAM for stored modem (S-Registers) profiles.
enabled devices. This product provides the user with
Cermetek @T ® AT-like Commands.
unsurpassed command and control capabilities. The
CH2165 communicates asynchronously with the host
Built-in DAA with 1500 VAC RMS isolation 2122V
controller (via the serial port) and the internet (via the
peak surge protection.
PSTN connection) simultaneously . Consequently, the
UL 1950 and CSA C22.2 950 (Third Edition) Listed,
user can intersperse CH2165 specific management
reference UL File E104957.
commands
with
internet
commands.
Further,
FCC Part 68 Approved/Industry Canada CSA CS-
commands can be queued. The CH2165 will also send
03 Part I approvable.
or retrieve email messages of virtually unlimited length
by using streaming email techniques. The CH2165 is
Pin-for-Pin compatible with CH2124/60 iModem
ideal for applications where larger data transfers are
family and modem CH179X/2056 family.
required and/or where large amounts of data must be
+5 Volt operation.
stored locally on the iModem device.
Small size: 1.35” x 1.97” x 0.55” (nominal).
Use with any Non-proprietary commercial or private
The CH2124/60 products are the first generation
ISP.
internet enabled devices.
These products excel at
sending and retrieving modest amounts of data. Email
Cermetek’s iModem Network ISP has 1000s of
messages of approximately 125 ASCII characters in
local access numbers world wide.
length can be stored in internal Flash ROM for later
1 year free trial subscription to iModem Network
transmission.
ISP provided with each iModem.
The CH2124/60 products are ideal for very low cost
controller applications and in applications where limited
data transfer is required.
2005 Cermetek Microelectronics, Inc.
Page 1
Document No. 607-0017-01 Revision A (05/05)
Cermetek Microelectronics, Inc.
High Speed Internet Modem Family
User Name
Password
CH21XX
ISP Telephone Number
iModem
Internet
Mail Server Address/Name
Product
(PPP, SMTP, TCP/IP,
Local Email Address
Family
POP3)
Destination Email Address
User Specified Email
Message/Input Port Status
User ID
Send email
User Supplied Parameters
Retrieve email
Delete email
Functions Performed
Figure 1.
Conceptualized Block Diagram illustrating the Cermetek CH21XX iModem product family
performing the embedded internet application function.
OVERVIEW OF THE CH21XX iMODEM
termination sequence for pre-stored messages is the
A conceptual representation of the iModem in an
CTRL D characters.
embedded environment is presented in Figure 1. As
can be seen in this figure, the iModem requires the
The total CH2165 RAM memory available to the user is
input of various internet parameters to function
approximately 100K bytes. For messages that need to
properly: user name, user ID, user password, ISP
be stored semi-permanently, the user has access of up
telephone number, ISP mail server address/name, local
to 100K byte of Flash ROM for message storage.
email address/name, destination email address and
Messages stored in ROM can also be sent when
user specified email message/input port status.
needed.
Cermetek’s iModem products provide the user with the
When retrieving emails, the user continues to save the
ability to assign a unique unit name to each iModem
data streaming out of the CH2165’s serial port until a
thereby creating a customized identity for each system
<CR>.<CR> is received.
containing an iModem product.
Refer to Cermetek Application Note # 325, @T
®
Each
iModem
device
stores
the
user-supplied
Command Set Description and Usage For CH2165
parameters in internal memory. These parameters are
iModem, for more details.
retained when power is removed. The user supplied
parameters are loaded into the iModem via the
iModem Hardware Configuration.
Each CH2165
iModem’s serial interface port utilizing a variety of
iModem contains a fully functional 56kbps modem and
commercially available terminal emulation software
the hardware and firmware needed to provide the
packages (such as HyperTerminal).
internet capability. Because of the unique architecture
of Cermetek iModems, these iModems have the ability
Internet Connectivity. The CH21XX iModem uses the
to operate as either an internet email transceiver or as
user supplied parameters to establish an internet
a high reliability analog modem.
Additionally, the
connection and then send, retrieve and/or delete email.
CH2165 supports user remote access via the internet
After completion of the required internet activities, the
which can be used to reprogram or reconfigure an
iModem terminates the internet connection.
iModem deployed in the field.
Send, Retrieve and Delete Email. The CH2165 has
The iModem Family of products are pin compatible with
the ability to send and retrieve emails of virtually
the CH179X and CH2056 modem products. Referring
unlimited length by employing a technique referred to
to Figure 2, the CH21XX iModem Family consists of an
as streaming email. Once in streaming email mode, the
industrial grade high speed modem module and a µP
user simply continues to supply data to the CH2165’s
controller with associated internal logic.
The µP
serial port, and terminates the data stream with a
controller and the logic provide all the functions
<CR>.<CR> . Alternatively, messages of finite length
required for internet communication via standard PSTN
can pre-stored locally on the CH2165 in RAM memory
telephones lines. The CH2165 contains an additional 8
and then sent when needed.
The data stream
Mbytes of RAM and 2 Mbytes of Flash ROM.
All
2005 Cermetek Microelectronics, Inc.
Page 2
Document No. 607-0017-01 Revision A (05/05)
Cermetek Microelectronics, Inc.
High Speed Internet Modem Family
CH21XX iModem products utilize TCP/IP, PPP, PAP,
email. PSTN dial-up, logon, authentication and email
CHAP, SMTP and POP3 internet protocols.
transmission, retrieval, and/or deletion are performed
automatically by the iModem in the same fashion as for
Required External Connections.
The iModem
the Fully Autonomous On-Demand control method
requires an external RJ-11C jack for the PSTN line
described above.
connection. An ITU-T V.24 serial interface is required
when host processor control of the iModem is required
Host Supervised Control. This method is the most
in the specific application.
All retrieved emails are
flexible, but requires issuance by the host processor of
the necessary @T commands in the required order
®
presented to the host system for further processing
and/or retention via the serial interface.
from the host processor.
When choosing an
implementation scheme utilizing a host processor, the
host controls the iModem by using Cermetek @T
®
Approvals. The CH21XX iModem Family is FCC Part
68 approved, UL 1950 and CSA C22.2 950 (Third
commands.
These commands are similar to the
Edition) listed and Industry Canada CS-03 approvable.
standard Hayes AT command set.
Physical Dimensions. The modules are designed for
Although the DTE serial port is required to be
PCB through-hole mounting and are 1.35” x 1.97” x
operational for this method of control, an additional
0.55” in size.
feature of this method is the ability of the host to over-
ride the preprogrammed parameters (including the
email message content) by simply entering the
applicable information using the appropriate @T
®
iMODEM EVALUATION BOARD
Cermetek manufactures a companion evaluation board
Command.
that is designed to simplify the hardware connections
required to program the iModem as well as providing a
Send Email. To send email messages, the user must
reliable platform to assist with system level debugging.
explicitly open the TCP socket connection using the
Contact Cermetek and ask for the CH21XX iModem
@TCP command. This command automatically dials
Evaluation Board.
the specified local access POP phone number,
performs user authentication, establishes a PPP
connection and obtains an IP address.
iMODEM CONTROL METHODOLOGIES
The CH2165 iModem receives @T commands from
®
Once connected to the internet, the user may use one
the host processor and proceeds to dial up the local
of two methods to send email messages: use pre-
POP, log on to the internet, authenticate and verify the
stored messages contained in resident memory or use
user ID and password, and either sends or retrieves
streaming messages obtained in real-time from the
email depending on the command received. See Table
CH2165’s DTE serial I/O port. In either case, multiple
1 for a summary of available @T commands.
®
email destination addresses are allowed.
The CH2165 offers a variety of internet communication
For the case of pre-stored messages, each message is
features ranging from simple one command email
associated with a user defined message name. The
transmission to full send and retrieve email capability.
user enters the @TD=msgname command (where
User Control of the internet communication activity of
msgname is the message file name) and the CH2165
the iModem device typically falls into one of the
sends the email using the SMTP protocol.
following basic control strategies:
1. Semiautonomous control, requiring one command to
For the case of streaming email, the user enters the
be issued from the host processor. A pre-stored
@TD=0 command (where 0 is a reserved name and
message is sent on command.
signals the CH2165 that streaming email is desired).
2. Complete host intervention and supervision requiring
The CH2165 then sends the appropriate SMTP email
each command to be issued from the host.
headers and prompts the user to supply the body of the
Message is constructed and sent in real time.
message.
The user presents as many ASCII
characters as desired to the CH2165’s DTE serial port.
Semi-Autonomous Control. This method requires a
When finished, the user must end the streaming input
minimal amount of host processor intervention and
with a <CR>.<CR> . The CH2165 will then terminate
requires that the DTE serial port be operational. Semi-
the SMTP message and close the SMTP connection. If
autonomous control is a special case of full Host
the SMTP inactivity timer limit is exceeded (currently
Supervised Control and relies on the preprogrammed
set at 90 seconds), the CH2165 will automatically
default internet configuration profile contained within the
terminate
the
message
and
close
the
SMTP
iModem. Initiation of an email activity occurs with the
connection. To end the internet session, the user must
issuance by the host processor to the iModem the
explicitly close the TCP connection and terminate the
appropriate @T
®
command to send/retrieve/delete
PSTN dial-up phone call by entering the @TCT
command.
2005 Cermetek Microelectronics, Inc.
Page 3
Document No. 607-0017-01 Revision A (05/05)
Cermetek Microelectronics, Inc.
High Speed Internet Modem Family
Network
Flash ROM
µP
Protocol
2Mx8
POP 3
SMTP
Flash ROM
TCP
32Kx8
IP
RAM
PPP
8Mx8
CH2165
MODEM
RXD
TIP
RTS
SERIAL
V.90
DAA
DCD INTERFACE
PSTN
DSR
V-24
Ring
RI
EIA-232-E or
CTS
UART
TXD
DTR
MODEM INTERFACE
RST
SPK
+5V
GND
Figure 2. Functional Block Diagram of Cermetek CH2165 iModem Products.
When using pre-stored messages in resident memory,
iModem to send four successive PING commands
the
user
is
responsible
for
message
memory
directly to the internet host. Responses from the host
management and utilization. Exceeding the memory
include Host IP address and connectivity information.
limits will cause memory wrap around and messages
may become lost or corrupted.
Back-up and Alternative POP access Phone
Numbers. Cermetek iModem products allow usage of
Retrieve Email. The CH2165 will retrieve email from
an alternative local access POP phone number or, if
POP3 servers complying with applicable internet
available, a 1-800 number, should the iModem fail to
governing RFCs. By executing the @TES command,
connect to the primary POP. The user can establish
the user may obtain an inventory listing containing
the number of attempts made to the primary POP
Subject Line and Message Number of all messages
before the back up POP is attempted.
currently cached on the POP3 server. The user may
selectively down load individual messages (by message
number) or may retrieve all messages on the server.
DESCRIPTION OF FUNCTIONAL BLOCKS AND
Messages retrieved are provided to the user on the
DISCUSSION OF BASIC OPERATIONS
iModem’s serial port and are not stored in CH2165
Each CH2165 iModem product consists of the following
resident memory.
functional blocks:
1. µP controller with Network Protocols and Flash
Delete Email. The user may selectively delete any
ROM.
email message (by message number) or all messages
2. Serial interface buffer.
cached on the POP3 server.
3. Input/Output interface circuitry.
4. V.90 Internal modem.
Email and Internet Activity Status. Currently, the
5. Modem interface circuitry.
CH2165 provides two levels of internet and email status
6. DAA (Data Access Arrangement) PSTN interface.
information. Using the @TCS=PPP command, the user
7. Additional Flash ROM.
can monitor all the internet PPP communication.
8. Additional RAM.
Additionally,
the
user
can
determine
internet
connectivity status by issuing the @TCS=PING
command.
The @TCS=PING command causes the
2005 Cermetek Microelectronics, Inc.
Page 4
Document No. 607-0017-01 Revision A (05/05)
Cermetek Microelectronics, Inc.
High Speed Internet Modem Family
Figure 2 contains a schematic drawing illustrating the
interconnectivity of the various functional blocks
CH21XX DTE Speed. AS DELIVERED FROM THE
comprising the CH2165 iModem products.
FACTORY, the CH2165 iModem will only communicate
with the DTE at 19.2 kbps. However, the user may
modify the DTE speed with the appropriate @T
®
Each
iModem
performs
the
following
internet
commands. Application Note # 325, @T Command
®
connectivity functions automatically:
1. Dials local POP and Connects to ISP.
Set Description and Usage For CH2165. When the
2. Authenticates user ID and logs onto the internet.
user changes the DTE communication speed to any
3. Sends (or Retrieves) email to (from) the server
speed other than the default value set of the factory, the
address/name specified using the ISP’s SMTP
user must ensure that the DTE supports the speed
(POP3) Mail Server.
selected.
Failure to do so could adversely affect
4. Leaves ISP session active after all data is sent until
communication with the iModem device or, worst-case,
terminated by user.
disable communication with the internal µP controller.
Refer to Application Note # 158, Cermetek iModem
Control of the internet capabilities of the iModem are
Caveats and Definitions, for a more detailed discussion
initiated and controlled by a system level host
of this issue.
processor. Refer to Table 2 for a complete set of pin
descriptions.
Refer to Cermetek’s High Speed Modem and FAX
Family product data sheet for a complete Description of
When not utilized in the internet connectivity role, the
the internal modem’s capabilities and functions.
iModem will function as a standard analog modem.
Serial Host Interface Buffer. The iModem utilizes a
KEY FEATURE
serial V.24 EIA 232-E 5V interface to communicate with
The user has complete control of the level of
the internal modem and to communicate with the
autonomy the iModem exercises in the user’s
internal µP.
application. This is a unique feature of Cermetek’s
iModem products.
Telephone Line Interface or DAA.
The iModem
family includes a unique low distortion DAA designed
µP Controller. The µP controller performs the required
for optimal performance over all PSTN line conditions
internet operations by interpreting each specific @T
®
thereby
achieving
the
most
reliable
and
best
command and executing the appropriate internet
performance PSTN connections.
commands. The necessary internet protocol firmware
is resident in flash ROM. The @T commands function
®
The CH2165 iModem is designed to meet North
as an extension to the industry standard Hayes AT
American telephone standards as set by FCC Part 68
command set.
(USA) and Industry Canada CS-03 Part I (Canada).
Each iModem product is shipped from the factory with
Internal Modem.
The internal modem is used to
an FCC label indicating the FCC registration number
establish a data connection with the ISP. The CH2165
and ringer equivalent.
The PSTN line interface is
contains a V.90 internal modem. The internal modem
UL1950 and CSA listed. Consequently, the iModem
can be controlled with Hayes AT commands and is
family of products satisfies U.S. and Canadian
compatible with industry standard communication
requirements, and will meet other international approval
software.
Refer
to
Cermetek
publication,
AT
agency requirements that specify these levels of
Commands and S-Registers, for a more detailed
isolation.
discussion of the Hayes AT commands supported by
the iModem product family.
IMPORTANT NOTICE
If
the
user
wants
to change the DTE/Host
When operating in standard analog modem mode, the
communication speed to any speed other than the
maximum Data Terminal Equipment (DTE)/Host system
factory set speed of 19.2kbps for the CH2165, the
communication speed is established by the maximum
user must first change the DTE speed of the iModem
using the appropriate all @T
®
speed available from the DTE/Host and is not limited by
commands before
the iModem product.
changing the DTE/Host speed. Refer to Application
Note # 158, Cermetek iModem Caveats and
IMPORTANT NOTICE
Definitions, for a more detailed discussion of this
®
AS DELIVERED FROM THE FACTORY, all @T
issue.
command
communication
between
the
CH2165
iModem and the host processor is conducted over the
serial interface at 19.2kbps.
2005 Cermetek Microelectronics, Inc.
Page 5
Document No. 607-0017-01 Revision A (05/05)
Cermetek Microelectronics, Inc.
High Speed Internet Modem Family
Table 1. Summary of Available @T ® Commands By Category for CH2165.
Command
Query
Description
Email Message Management
@T [ MC ][ =n ]
@T [ MC ][ ?=n ]
Enter email message where n is the email message name. Message name must not
exceed 8 alphanumeric characters and cannot begin