Transcript
i-modul Modem 144/56k
Designer's Guide
3.0 basic
Copyright © July 12 INSYS MICROELECTRONICS GmbH Any duplication of this manual is prohibited. All rights on this documentation and the devices are with INSYS MICROELECTRONICS GmbH Regensburg. Trademarks The use of a trademark not shown below is not an indication that it is freely available for use. MNP is a registered trademark of Microcom Inc. IBM PC, AT, XT are registered trademarks of International Business Machine Corporation. INSYS®, e-Mobility LSG® and e-Mobility PLC® are registered trademarks of INSYS MICROELECTRONICS GmbH. Windows™ is a registered trademark of Microsoft Corporation. Linux is a registered trademark of Linus Torvalds. Publisher: INSYS MICROELECTRONICS GmbH Hermann-Köhl-Str. 22 D-93049 Regensburg, Germany Phone: +49 941 58692 0 Fax: +49 941 58692 45 E-mail:
[email protected] Internet: http://www.insys-icom.com Date: Jul-12 Item: 31-22-04.026 Version: 1.0 Language: EN
Content
1
2
Technical Data .........................................................................................6 1.1
Physical Features...................................................................................................6
1.2
Technological Features ..........................................................................................7
Connections.............................................................................................8 2.1
PCB Layout............................................................................................................8
2.2
Pin Layout Terminal Strip P1 .................................................................................9
2.3
Pin Layout Terminal Strip P2 .................................................................................9
2.4
PIN specifications ................................................................................................10 2.4.1 Reset Input ............................................................................................. 10 2.4.2 Indication Signals ................................................................................... 10 Connection Example for Serial Interface..............................................................11
2.5
3
Function Overview .................................................................................12
4
Meaning of the Symbols and the Formatting in this Manual..................13
5
Operating Principle ................................................................................14 5.1
6
Functions ...............................................................................................16 6.1
6.2
Automatic Baud Rate Detection ..........................................................................16 6.1.1 Serial Connection ................................................................................... 16 6.1.2 Phone connection .................................................................................. 17 Data Buffer for Serial Data Transmission .............................................................17
6.3
Bit Direct Mode ...................................................................................................18
6.4
6.5
Data Flow Control (Handshake) ...........................................................................18 6.4.1 Hardware data flow control (RTS/CTS) .................................................. 18 6.4.2 Software data flow control (XON/XOFF) ................................................ 19 Error Correction ...................................................................................................20
6.6
Data Compression ...............................................................................................21
6.7
Automatic Dial-Up Delay .....................................................................................22
6.8
User Profiles ........................................................................................................22 6.8.1 Changing the Configuration ................................................................... 22 6.8.2 Saving the Configuration........................................................................ 23 Reset ...................................................................................................................23
6.9
7
Maintenance ..........................................................................................24
8
AT Command Reference ........................................................................27
9
4
Operation with the Terminal Program..................................................................14
8.1
AT Command Overview.......................................................................................28
8.2
AT Messages .......................................................................................................43
S Registry ..............................................................................................47 9.1
Overview S Registry ............................................................................................48
9.2
Description S Registry .........................................................................................49
Jul-12
Contents
10
CE/EMC Compliant Integration ..............................................................57 10.1 Your Application ..................................................................................................57 10.2 Application Interface / Terminal Strip P1 .............................................................57 10.3 Network Interface / Terminal Strip P2 (for Modem /ISDN)...................................57 10.4 Antenna Connection (if equipped) .......................................................................58 10.5 Further Recommendations ..................................................................................58 10.6 Reference Documents .........................................................................................58
11
Declaration of Conformity ......................................................................59
12
Tables and Diagrams..............................................................................60 12.1 List of Tables .......................................................................................................60 12.2 List of Diagrams ..................................................................................................60
13
Jul-12
Index......................................................................................................61
5
Technical Data
i-modul Modem 144/56k
1
Technical Data
1.1
Physical Features
All specified data was measured with nominal input voltage, at full load, and an ambient temperature of 25 °C. The limit value tolerances are subject to the usual variations. Physical Feature
Value
Operation voltage VCC
+5 V (± 5 %) DC or optional HW version for +3.3 V (± 5 %) DC
Input voltage (TTL)
VIL < 0.8 V VIH > 2 V (max. VCC)
Output voltage (TTL)
VOL < 0.4 V VOH > 2.4 V (3.3 V CMOS compatible)
Total current consumption in idle
approx. 150 mA
Total current consumption in active state
approx. 160 mA
Total maximum current consumption
approx. 400 mA
Total current consumption in sleep mode
approx. 50 mA
Weight
approx. 32 g
Dimensions (Length x Width x Height) 56.4 mm x 56.4 mm x 14,6 mm Height of the terminal strip above PCB
6.5 mm
PCB thickness
1.6 mm
Temperature range
0°C – 70°C
Maximum permissible humidity
95% non-condensing
Table 1: Physical Features
6
i-modul Modem 144/56k
1.2
Technical Data
Technological Features
Technological Feature
Description
Supported data compression standards
MNP 2/3, MNP 5, V.42 bis; V.44, MNP 10, MNP 10 EC
Fax class
Fax Class 1
Modulation types
Bell Norm 103/212, V.32bis, V.32, V.23, V.22, V22 bis, V21, (for 56k version additionally V.34+, V.34, V.90 and V.92)
Error correction standards
V.42, MNP4, LAPM
Table 2: Technological Features
7
Connections
i-modul Modem 144/56k
2
Connections
2.1
PCB Layout
P2 P1
Figure 1: PCB layout, terminal strip and fixing hole position
Item Type
Description
P1
SAMTEC TW series 2-row 2 mm pitch or Fischer SLY 81 24 Z
Serial interface, inputs and outputs
P2
SAMTEC TW series 2-row 2 mm pitch or Plastron PQFZ-06S-VK-024 or Fischer SLY 6
Phone network interface
Table 3: Specification and assignment of the terminal strips
8
i-modul Modem 144/56k
2.2 Pin
Pin Layout Terminal Strip P1 Type
1 2
Supply
3 4
Connections
Input
5
Signal
Description
GND
Ground of supply voltage (ground)
VCC
5 V DC supply voltage (or 3,3 V)
GND
Ground of supply voltage (ground)
TXD
Terminal transmit signal of RS232 line; TTL level
GND
Ground of supply voltage (ground)
6
Output
RXD
Receive signal of RS232 line; TTL level
7
Output
ID-PIN2
Ground
8
Input
RTS~
Request to Send; TTL level (RS232 signal)
9
Output
ID-PIN1
GND
10
Output
CTS~
Clear To Send; TTL level (RS232 signal)
11
Input
RESET~
RESET, TTL level, tmin = 0.1 s
12
Input
DTR~
Data Terminal Ready; TTL level (RS232 signal)
13
Output
OH~
Off Hook
14
Output
DCD~
Data Carrier Detect; TTL level (RS232 signal)
15
Output
RI~
Ring Signal TTL level (RS232 signal)
16
Output
DSR~
Data Set Ready; TTL level (RS232 signal)
17
Internal connection, do not use
18
Internal connection, do not use
19
Internal connection, do not use
20
Internal connection, do not use
21
GND
Ground
22
Internal connection, do not use
23
Internal connection, do not use
24
GND
Ground
Table 4: Terminal strip connections description, terminal strip P1
2.3
The tilde "~" behind the signal description indicates that this signal is "low active".
Pin Layout Terminal Strip P2
Pin
Signal
Description
1
Phone signal
b1
Outgoing phone line (exchange line or PABX)
2
Phone signal
b2
Telephone connected in series
3
Phone signal
a1
Incoming phone line (exchange line or PABX)
4
Phone signal
a2
Telephone connected in series
5
External bell
W
Not connected
6
Earth
E
Not connected
Table 5: Terminal strip connections description, terminal strip P2
9
Connections
2.4
i-modul Modem 144/56k
PIN specifications
All following specifications are based on a supply voltage of VCC = 5 V ± 5%. High = VIH; Low = VIL (refer to Technical Data).
2.4.1 Reset Input Pin
Signal
Type
Description
11
Reset~
Input
Normal state: 1 (internal pull-up resistor) Reset: 0 (against GND) A minimum time of 0.1 s for activation is recommended to trigger the reset safely.
Table 6: PIN specifications - reset input
2.4.2 Indication Signals Pin
Signal
Type
Description
13
OH~
Output
This output indicates Off-Hook of the modem. Signaling: Normal state: Off-Hook:
15
RI~
Output
The ring indicator indicates an incoming connection attempt. Signaling: Normal state: Ring:
Table 7: PIN specifications - indication signals
Figure 2: Connection example of the OH signal
10
High (hung up) Low (off-hook)
High Low
i-modul Modem 144/56k
2.5
Connections
Connection Example for Serial Interface
The following example is only valid for a power supply with VCC = 5 V.
Figure 3: Connection example of the serial interface (5 V VCC)
11
Function Overview
3
i-modul Modem 144/56k
Function Overview
The i-modul Modem 144/56k 3.0 basic provides you with the following functions:
Automatic Baud Rate Detection The i-modul Modem 144/56k 3.0 basic will automatically adjust the data transmission rate, if a connection is made via its serial interface. The serial transmission rate can be preset for applications for the serial communication to be able to initialize with a defined baud rate.
Data buffering for serial data transmission The i-modul Modem 144/56k 3.0 basic provides rapid send and receive buffers to adjust the modem to the data processing speed of the application.
Bit direct mode The i-modul Modem 144/56k 3.0 basic can forward incoming data without having any influence on their transmission format.
Hardware and software data flow control The i-modul Modem 144/56k 3.0 basic can signal the application via the control lines of the serial interface to interrupt the data flow, if the buffers of the i-modul Modem 144/56k 3.0 basic exceed a certain level. An application can also prompt the i-modul Modem 144/56k 3.0 basic via a control line to interrupt the data flow. As an alternative, the i-modul Modem 144/56k 3.0 basic can control the data flow via XOFF/XON characters in the data stream.
Error correction / data compression The i-modul Modem 144/56k 3.0 basic provides the following error correction and compression protocols: V.42, V.42bis, V.44, MNP2, MNP3, MNP4 and MNP10
Storing the settings in the user profiles The i-modul Modem 144/56k 3.0 basic can store the user settings in two different "profiles". This means that two different configurations can be stored for special purposes and loaded as needed.
12
i-modul Modem 144/56k
4
Meaning of the Symbols and the Formatting in this M l
Meaning of the Symbols and the Formatting in this Manual
This section describes the definition, formatting and symbols used in this manual. The various symbols are meant to help you read and find the information relevant to you. The following text is structured like a typical operating instruction of this manual. Bold print: This will tell you what the following steps will result in After that, there will be a detailed explanation why you could perform the following steps to be able to reach the objective indicated first. You can decide whether the section is relevant for you or not.
An arrow will indicate prerequisites which must be fulfilled to be able to process the subsequent steps in a meaningful way. You will also learn which software or which equipment you will need.
1.
One individual action step: This tells you what you need to do at this point. The steps are numbered for better orientation.
A result which you will receive after performing a step will be marked with a check mark. At this point, you can check if the previous steps were successful.
Additional information which you should consider are marked with a circled "i". At this point, we will indicate possible error sources and tell you how to avoid them.
Alternative results and steps are marked with an arrow. This will tell you how to reach the same results performing different steps, or what you could do if you didn't reach the expected results at this point.
13
Operating Principle
5
i-modul Modem 144/56k
Operating Principle
This chapter describes the basic procedures to operate and configure an i-modul Modem 144/56k 3.0 basic. In general, the i-modul Modem 144/56k 3.0 basic is configured and operated via AT commands. You can enter these commands yourself with the help of a terminal program and the AT command reference.
5.1
Operation with the Terminal Program In general, any terminal program can be used. We recommend the program TeraTerm by T. Teranishi under Windows. It is available free of cost on the Internet at http://hp.vector.co.jp/authors/VA002416/teraterm.html. You can use the program "minicom" if you work in a Linux environment.
Caution! Damage of the serial interface! A possible direct connection of the serial interface of the imodul Modem 144/56k 3.0 basic with a typical RS232 interface of a PC overloads components of the module due to the higher voltage levels. Use an RS232 level converter (e.g. MAX232) to adjust both interface types correctly. Configuring and operating the i-modul Modem 144/56k 3.0 basic with a terminal program How to configure and operate the i-modul Modem 144/56k 3.0 basic with a terminal program.
The i-modul Modem 144/56k 3.0 basic is connected to the PC and supplied with power.
A terminal program is installed on the PC.
1.
Start your terminal program.
2.
Select the serial port, to which your i-modul Modem 144/56k 3.0 basic is connected.
3.
Type the character string AT into the terminal program. Complete the entry by pressing the Enter key.
14
COM1 under Windows corresponds to /dev/ttyS0 under Linux.
Each command input starts with AT and is completed with the Enter key.
i-modul Modem 144/56k
4.
The i-modul Modem 144/56k 3.0 basic replies with OK.
If the i-modul Modem 144/56k 3.0 basic does not respond, this may have three probable reasons: a) the i-modul Modem 144/56k 3.0 basic is switched off or b) the i-modul Modem 144/56k 3.0 basic is not in configuration mode or c) the i-modul Modem 144/56k 3.0 basic is connected to another serial port. Check it and repeat step 3.
Configure the i-modul Modem 144/56k 3.0 basic using AT commands.
5.
Operating Principle
A reference of the AT commands can be found in the chapter "AT Command Reference".
Save your entries with AT&W.
Not all configurations at the i-modul Modem 144/56k 3.0 basic need to be saved actively by entering AT&W. Some settings are automatically saved immediately. We still recommend sending the command AT&W to the i-modul Modem 144/56k 3.0 basic as your last configuration step to ensure that all settings are stored safely and are available for the next restart.
15
Functions
i-modul Modem 144/56k
6
Functions
6.1
Automatic Baud Rate Detection
6.1.1 Serial Connection The automatic baud rate detection enables a continuous automatic adjustment of all parameters (baud rate, data format) of the serial interface at the i-modul Modem 144/56k 3.0 basic. The device will detect during the operation, which baud rate and which data format is applied to the serial interface. After a restart, the i-modul Modem 144/56k 3.0 basic will restore the last working interface configuration. With each incoming AT command (according to the character string "AT"), the parameters for the interface of the i-modul Modem 144/56k 3.0 basic will be checked and adjusted, if necessary. This is the reason why the baud rate can not be stored with the command AT&W, as the i-modul Modem 144/56k 3.0 basic will immediately adjust its interface to the current parameters of the currently established serial connection. The function is active as default. Configuration with AT commands To set the baud rates temporarily (until the next "AT"), enter one of the following baud rates for
: 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600 or 115200 bps.
AT+IPR=
This setting can not be stored. The i-modul Modem 144/56k 3.0 basic must be configured with the baud rate, which is used to operate the application at a later time, as the imodul Modem 144/56k 3.0 basic will always use the last known functioning configuration of its interface.
16
i-modul Modem 144/56k
Functions
6.1.2 Phone connection The automatic negotiation of the baud rate and the modulation standard enables the i-modul Modem 144/56k 3.0 basic to negotiate the largest possible connection speed to the remote terminal while the connection is established. The speed depends on the settings and the abilities of the modem at the remote terminal. Via the modulation standard, the connection speed can be set through the phone line. If nothing is defined, the i-modul Modem 144/56k 3.0 basic will automatically try to determine the optimum connection parameters. The function is active as default. Configuration with AT commands To configure the modulation standard and thus the connection speed, use the command:
AT+MS=
Please find the possible parameters for this command in the Chapter "AT Command reference".
6.2
To display the current settings:
AT+MS?
For a list of possible parameter of the command, enter:
AT+MS=?
Data Buffer for Serial Data Transmission
The i-modul Modem 144/56k 3.0 basic provides send and receive buffers. These buffers prevent the loss of data, in case the application or the remote terminal can not receive data at this time. The data buffer can be deactivated together with the error correction (bit direct mode). When the buffer is activated, the data flow control should be active to avoid a buffer overflow in the i-modul Modem 144/56k 3.0 basic. If the buffer overflows, the data gets lost. Operation without a buffer and error correction is only useful for special character framings. The function is active as default. Configuration with AT commands To deactivate the error correction as well as the buffer in the i-modul Modem 144/56k 3.0 basic for applications with special data format, use the command:
AT\N1
To deactivate only the error correction, use the command:
AT\N0
17
Functions
6.3
i-modul Modem 144/56k
Bit Direct Mode
For special applications, the buffering of the i-modul Modem 144/56k 3.0 basic can be deactivated using the setting "unbuffered, bit direct". All data is forwarded without buffering and further influence of the i-modul Modem 144/56k 3.0 basic. This applies especially to the parity and stop bits. The error correction and the data compression are in this case switched off as well. If the i-modul Modem 144/56k 3.0 basic is operated in this mode, not all functions will be available. The remote configuration and all functions for which a password is required, will no longer be available. This mode should only be used for special character framings. Configuration with AT commands To deactivate the buffer of the i-modul Modem 144/56k 3.0 basic and to switch on the bit direct mode, use the command:
6.4
AT\N1
Data Flow Control (Handshake)
The data flow control ensures that the data transfer is interrupted as soon as the modem buffer exceeds a certain level. Two data flow control options are available: Via the control lines RTS and CTS, or via the control characters XON/XOFF which are inserted into the data stream.
6.4.1 Hardware data flow control (RTS/CTS) The hardware data flow control works in two directions. When the critical buffer level is exceeded, the modem will set the CTS line to "low" and will thus indicate to the application to interrupt the dataflow. When the buffer is emptied sufficiently for the i-modul Modem 144/56k 3.0 basic to be able to receive data again, the CTS line is set to "high". Reversely, the application can also indicate to the i-modul Modem 144/56k 3.0 basic to interrupt the data flow. This is done via the RTS line. If it is set to "low", the modem will interrupt the data flow to the application. The application will set it to "high" to request data from the i-modul Modem 144/56k 3.0 basic. The data flow control with RTS/CTS behavior is active by default. Configuration with AT commands
18
To switch the data flow control on and to set the type to RTS/CTS, use:
AT&K3
To switch the data flow control off, use:
AT&K0
i-modul Modem 144/56k
Functions
6.4.2 Software data flow control (XON/XOFF) When the input buffer of the modem exceeds a certain fill state, the modem will insert an XOFF character into the data stream to the application. This character will cause the application to send no more data. It will depend on the according application software if the XON/XOFF data flow control is supported. After the input buffer of the modem is emptied so much that data can be received again, the modem will send an XON character to the application. This character will cause the application to send data to the modem again. Analogously, the application can insert XON/XOFF characters into the data stream to switch the data flow on and off. The XON/XOFF data flow control is only available when the transmitted data do not contain the characters XON or XOFF, which usually appear only in actual ASCII texts (7 bit). When binary data (programs, etc.) are transmitted, or in the XMODEM transmission protocol, for example, occasionally appearing XON or XOFF characters would disturb the operation. Configuration with AT commands To switch the data flow control on and to set the type to XON/XOFF, use:
AT&K4
To switch the data flow control off, use:
AT&K0
19
Functions
6.5
i-modul Modem 144/56k
Error Correction
The i-modul Modem 144/56k 3.0 basic masters the V.42 error correction protocol including the Microcom Networking Protocol Levels 2/3/4 (MNP2, MNP3, MNP4) and the data throughput optimization MNP10. The V.42 error correction includes the protocols LAPM (Link Access Procedure for Modem) and MNP4. LAPM is the preferred error correction. MNP 4 is supported to maintain the compatibility with other MNP modems. Both methods determine frames to transfer net data and use CRC (Cyclic Redundancy Check) check sums for error tests. In V.42, there is the option to have the modem identify if the partner is a V.42 modem, a MNP modem, or a modem without error correction. The modem can then autonomously adjust to the partner. As default, the automatic selection of V.42LAPM or MNP4 or no correction is set. Configuration with AT commands To define the type of error correction, use the command:
AT\N
To set V.42LAP-M or MNP4 error correction AT\N2 exclusively, use: Use the following command for the i-modul Modem 144/56k 3.0 basic to automatically AT\N3 select V.42LAP-M, MNP4, or an errorcorrected connection:
20
To set V.42LAP-M error correction exclusively, use:
AT\N4
For the buffered mode without error correction, use:
AT\N0
i-modul Modem 144/56k
6.6
Functions
Data Compression
The i-modul Modem 144/56k 3.0 basic supports various data compression types. During the connection setup, it will automatically detect the type of data compression used by the remote terminal, or it is set to a certain type of data compression. Data compression is only available for error corrected connections. To be able to use data compression, both sides (sender and recipient) must be able to at least recognize and support the same data compression mode. The default setting is the automatic selection of MNP5 and V42.bis and V.44 data compression (AT%C3). Configuration with AT commands To select the compression type, use:
AT%C
To completely switch off the compression, use the following commands:
AT%C0
To select the MNP4 compression:
AT%C1
To select the V42bis and V.44 data compression if they are switched on (see below):
AT%C2
To select the V42bis and MNP5 data compression if V42.bis compression is switched on (see below):
AT%C3
To switch on V.42bis compression:
AT%C2
To switch on V.44 compression:
AT+DS44=3
To switch off V.42bis compression:
AT%C0
To switch off V.44 compression:
AT+DS44=0
AT+DS44=0
21
Functions
6.7
i-modul Modem 144/56k
Automatic Dial-Up Delay
The standard TBR21 applies to all public phone networks in EC countries (Belgium, Denmark, German, Finland, France, Greece, Great Britain, Ireland, Italy, Luxembourg, Netherlands, Austria, Portugal, Sweden, Spain), as well as in Switzerland, Liechtenstein, Norway and Iceland. According to the regulations of the TBR 21, a dial-up is blocked for 2 hours after 12 unsuccessful dial-up attempts. In this case, the modem indicates the message BLACKLISTED. The modem must be briefly disconnected from the power supply in this case. The counter will be reset automatically following each successful connection establishment. If the connection to the remote terminal has been established successful, a dialling pause of 5 seconds will be maintained.
6.8
User Profiles
6.8.1 Changing the Configuration The i-modul Modem 144/56k 3.0 basic knows different user profiles. Besides the default factory settings, which serve for achieving a defined, operable initial condition of the modem, the user profiles 0 and 1 are available. You can save configurations to the user profiles, which are reused for certain purposes. A part of the S registry is saved with each profile. The concerned registers are indicated in the S registry description with an asterisk "*".
A reset is always performed before loading a user profile.
Configuration with AT commands
22
In order to load the factory default settings into the i-modul Modem 144/56k 3.0 basic, use the command
AT&F
In order to load user profile 0 into the imodul Modem 144/56k 3.0 basic, use the command
ATZ ATZ0
In order to load user profile 1 into the imodul Modem 144/56k 3.0 basic, use the command
ATZ1
In order to display the user profile settings, use the command
AT&V
i-modul Modem 144/56k
Functions
6.8.2 Saving the Configuration If the configuration of the i-modul Modem 144/56k 3.0 basic has been adapted to the requirements of the user, it is possible to save the settings in user profile 0 or 1. Changes of the configuration get lost after a RESET or restart, if the have not been saved before. Configuration with AT commands
6.9
In order to save the current configuration to user profile 0, use the command
AT&W AT&W0
In order to save the current configuration to user profile 1, use the command
AT&W1
Reset
There are several methods to reset the i-modul Modem 144/56k 3.0 basic: by cutting off the supply voltage, by connecting the terminal “RESET” with the terminal „GND, and by using an AT command. Configuration with AT commands To reset the i-modul Modem 144/56k 3.0 basic, use the command
ATZ
To reset the i-modul Modem 144/56k 3.0 basic and load the settings stored in user profile „0“, use the command
ATZ0
To reset the i-modul Modem 144/56k 3.0 basic and load the settings stored in user profile „1“, use the command
ATZ1
To reset the i-modul Modem 144/56k 3.0 basic to factory defaults, use the command
AT&F&WZ
23
Maintenance
7
i-modul Modem 144/56k
Maintenance Firmware Update
Note Function loss due to faulty update! The i-modul Modem 144/56k 3.0 basic may loose its function, if it is updated with a wrong firmware or if the transfer of the firmware was faulty. Before updating the firmware of the i-modul Modem 144/56k 3.0 basic, contact the INSYS MICROELECTRONICS support department. They will provide you with the suitable firmware version for your i-modul Modem 144/56k 3.0 basic .
Note Damage of the serial interface! A possible direct connection of the serial interface of the imodul Modem 144/56k 3.0 basic with a typical RS232 interface of a PC overloads components of the module due to the higher voltage levels. Use a level converter (e.g. MAX232) to adjust both interface types correctly. The firmware of the i-modul Modem 144/56k 3.0 basic can be updated to add further functions to the i-modul Modem 144/56k 3.0 basic or to improve the existing functions. A firmware update can be performed with the help of a terminal program that supports ASCII uploads (e.g. TeraTerm). Firmware update with a terminal program How to load new firmware to the i-modul Modem 144/56k 3.0 basic.
24
You will need a terminal program that supports ASCII file transfers, such as TeraTerm.
You will need the appropriate firmware for your i-modul Modem 144/56k 3.0 basic.
The i-modul Modem 144/56k 3.0 basic is connected to the PC.
1.
Start your terminal program.
2.
Activate hardware handshake in the terminal program.
3.
Open the serial interface, to which the i-modul Modem 144/56k 3.0
i-modul Modem 144/56k
Maintenance
basic is connected. 4.
Set the baud rate in the terminal program to 57600 baud.
5.
Type in "AT" and confirm with "Enter".
6.
If the i-modul Modem 144/56k 3.0 basic does not respond, check the connection and if the device receives power at all. Continue with step 2.
The firmware upload can not function without the hardware handshake. The input buffer at the serial interface of the i-modul Modem 144/56k 3.0 basic overflows and the i-modul Modem 144/56k 3.0 basic resets itself. In this case, you will hear the relays click during the uploads. It is possible that an error message is displayed.
Before you start with the upload, ensure that no other programs are active on your system, which could interrupt the data flow at the serial interface. Opening a DVD drive, playing music or connecting a USB device can also disturb or interrupt the data flow. As a result, the imodul Modem 144/56k 3.0 basic may fail to function, and only INSYS MICROELECTRONICS will be able to restore it.
Enter AT** to start the firmware upload.
7.
The i-modul Modem 144/56k 3.0 basic replies withOK.
The modem reports "Download initiated .."
Use the terminal program to send the file with the firmware loader, such as "P9_02-16.S37".
If you do not send a firmware file, the i-modul Modem 144/56k 3.0 basic will terminate the procedure after approx. 60 seconds. The upload progress is displayed by dots in the terminal window. The i-modul Modem 144/56k 3.0 basic indicates the successful upload of the firmware with e.g.: Upload NV_Ram Data
If you didn't receive the previous message for a successful upload, the upload has most probably failed. Try to reset the i-modul Modem 144/56k 3.0 basic and to repeat the process from step 4. If this fails and the i-modul Modem 144/56k 3.0 basic does no longer react to AT commands, please contact the INSYS MICROELECTRONICS support department.
25
Maintenance
8.
Use the terminal program to send the file with the firmware, such as "20B7.S37".
26
i-modul Modem 144/56k
The upload progress is again displayed by dots in the terminal window. The i-modul Modem 144/56k 3.0 basic indicates after successful upload Device successfully programmed The i-modul Modem 144/56k 3.0 basic will reset itself and is ready for operation.
i-modul Modem 144/56k
8
AT Command Reference
AT Command Reference
Each AT command starts with the letters AT and ends with a carriage return (CR). Both, upper and lower case letters are accepted; however, the leading letters must either be AT or at. The command line will be evaluated as soon as the modem has received a carriage return. A parameter, which is indicated with the letter in the description, means that it can be adjusted. For example ATL, where can take on the values 0 to 3, thus e.g. ATL2 (medium volume). The modem uses always the parameter 0 for commands, which expect a parameter, but are specified without a parameter. The commands ATZ and ATZ0, for example, show the same effect. The factory default settings are indicated with "(default)". The standard end character is "Carriage Return" (0Dh) or also known as "". No "Carriage Return" must be entered after entering "+++".
The commands are acknowledged with OK or ERROR. A command being processed will be interrupted with every further incoming character. Therefore, you must wait for the acknowledgement before entering the next command, because otherwise the current command will be deleted.
27
AT Command Reference
8.1
i-modul Modem 144/56k
AT Command Overview
Command
Description
AT**
Start of the flash load function
ATA
Answer mode The i-modul Modem 144/56k 3.0 basic changes to answer mode. It is only effective in Germany, if the telephone connected in series is off-hook or a call comes in.
A/
Repeat the last command The last command entered will be repeated.
AT\B
Send "break" to the other i-modul Modem 144/56k 3.0 basic In case of non-error-corrected connections, the i-modul Modem 144/56k 3.0 basic sends a break signal to the other i-modul Modem 144/56k 3.0 basic. The length of the signal is: the specified parameter times 1/10 of a second. For error-corrected connections, the i-modul Modem 144/56k 3.0 basic sends a break signal according to the active error correction protocol without considering a parameter specification. If no connection is established or if a fax connection is active, an error message is displayed.
AT%C
AT\B1
1/10 second break signal
AT\B2
2/10 seconds break signal
AT\B3
3/10 seconds break signal
AT\B4
4/10 seconds break signal
AT\B5
5/10 seconds break signal
AT\B6
6/10 seconds break signal
AT\B7
7/10 seconds break signal
AT\B8
8/10 seconds break signal
AT\B9
9/10 seconds break signal
Enabling the data compression Enable/disable a data compression type The i-modul Modem 144/56k 3.0 basic can only perform data compression with error-corrected connections.
28
AT%C0
No data compression enabled
AT%C1
MNP 5 data compression enabled
AT%C2
V.42bis and V.44 data compression enabled
AT%C3
MNP 5 and V.42bis data compression enabled (default)
i-modul Modem 144/56k
AT Command Reference
Command
Description
AT&C
DCD (CT109) behaviour Behaviour of the RS232 DCD output of the i-modul Modem 144/56k 3.0 basic.
ATD
AT&C0
DCD is always ON
AT&C1
DCD follows the carrier signal on the phone line (default)
Dialling The i-modul Modem 144/56k 3.0 basic goes off-hook and dials according to the dialling string handed over with the ATD command. After dialling, the i-modul Modem 144/56k 3.0 basic tries to establish a connection. If the ATD command has been executed without a dialling string, the i-modul Modem 144/56k 3.0 basic goes off-hook and tries to establish a connection to the other i-modul Modem 144/56k 3.0 basic (without dialling). The behaviour of the i-modul Modem 144/56k 3.0 basic depends on the activation of the line current detection (refer to ATX command). The execution of the ATD command also depends on the time when the last dialling attempt was performed. The i-modul Modem 144/56k 3.0 basic behaves like a data modem in the mode AT+FCLASS=0. It attempts to connect to another data modem. This attempt is repeated until the waiting period that was specified in the S7 registry has expired. If this time is exceeded, the i-modul Modem 144/56k 3.0 basic hangs up and displays the error message: NO CARRIER. The i-modul Modem 144/56k 3.0 basic behaves like a fax modem in the mode FCLASS=1 or =2. It attempts to connect to another fax or fax modem. (The imodul Modem 144/56k 3.0 basic goes into receive status HDLC V.21 channel 2, as if the command AT+FRH has been executed). The following characters may be transmitted as parameters (brackets, punctuation marks, spaces and semicolons are ignored): 0 to 9
The digits from 0 to 9
*
The asterisk: only for tone dialling
#
The hash: only for tone dialling
A-D
The tone dialling characters A, B, C, D
P
Pulse dialing mandatory: Pulse or tone dialing is required according to the region.
T
Tone dialing mandatory: Pulse or tone dialing is required according to the region.
29
AT Command Reference
i-modul Modem 144/56k
Command
Description
ATD
W
Wait for dialing tone: The i-modul Modem 144/56k 3.0 basic waits for the dialling tone before it starts to dial. If no dialling tone was detected within the period specified in the S6 registry, the i-modul Modem 144/56k 3.0 basic hangs up and an error message is displayed.
@
Wait for silence: The i-modul Modem 144/56k 3.0 basic waits at least five seconds for silence in the line, before it executes the next character from the parameter string. If this five second silence can not be detected and the abort period in the S7 registry has not been exceeded, the i-modul Modem 144/56k 3.0 basic terminates the connection displaying the message: NO ANSWER.
(Continuation)
If busy tone detection is enabled, the i-modul Modem 144/56k 3.0 basic the dialup indicating the message: BUSY. If a response tone from the other i-modul Modem 144/56k 3.0 basic is received during the waiting period, a connection is established.
30
‚
Dial tone delay: The i-modul Modem 144/56k 3.0 basic performs a dial tone delay before it executes the next character of the parameter string. The delay length is defined in the S8 registry.
L
Last number re-dialling.
;
Return to the input mode after dialling. It is added to the end of the dialling string and causes the i-modul Modem 144/56k 3.0 basic to return to the entry mode when it reaches ";" (with: OK message). This enables the input of AT commands even with a receiver offhook. The additional AT commands can follow in the same input line after the ";" or they can be transmitted to further input lines. The ATH command will abort the connection and the receiver is hung up.
S=n
Dialling the n-th number from the number pool, which was set up with the AT&Z command.
!
Flash – If the character ”!” is a part of the dialling string, the imodul Modem 144/56k 3.0 basic will hang up within the time frame determined in S29 and then goes off-hook again.
^
Suppresses the sending of a ringing tone.
ATD12345;
The semicolon (;) causes the return to the input mode after dialling.
i-modul Modem 144/56k
AT Command Reference
Command
Description
ATD
Default:
Ringing tone is sent for fax operation. No ringing tone for data operation.
( )
Are ignored: They are just used as an outline.
(Continuation)
‚‚
Are ignored: They are just used as an outline. Space characters are ignored: They are just used as an outline.
Examples: ATD12345
Dial the phone number 12345
ATDP12345
Dial the phone number 12345 with the pulse dialling method
ATDT12345
Dial the phone number 12345 with the tone dialling method
ATX3D0W12345 For PBXs, which connect to the exchange line using the prefix 0 (or 9): First, blind dialing is activated by: X3 (refer to the ATX3 command) to be able to dial a leading 0 without hearing a dialling tone. After 0 has been dialled via: D0, dialling tone recognition can be switched on again using the parameter: W. The i-modul Modem 144/56k 3.0 basic thus waits for the dialling tone and continues with the rest of the dial-up (via: 12345) only after hearing the dialling tone. Waiting for the dialling tone may be omitted. In this case, the dialling command is ATX3D012345. AT&D
DTR (CT108/2) Behaviour DTR (CT108/2) behaviour – Monitoring on/off transitions of the RS232 DTR line of the PC.
AT+DS=
AT&D0
DTR is ignored. Allows the operation with PCs which do not operate DTR.
AT&D1
A DTR on/off transition causes the i-modul Modem 144/56k 3.0 basic to react as if it had received an escape sequence +++. The imodul Modem 144/56k 3.0 basic changes to input mode without hanging up.
AT&D2
A DTR on/off transition causes the i-modul Modem 144/56k 3.0 basic to hang up. Going off-hook automatically is not possible. (default)
AT&D3
A DTR on/off transition causes the i-modul Modem 144/56k 3.0 basic to perform a reset as if an ATZ command has been executed. A preceded AT&Y command decides if either the default 0 or 1 is loaded.
Enable/disable V.42bis data compression AT+DS=0
Disables V.42bis data compression
AT+DS=3
Enables V.42bis data compression (default)
31
AT Command Reference
i-modul Modem 144/56k
Command
Description
AT+DS44=
Enable/disable V.44 data compression
ATE
AT+DS44=0
Disables V.44 data compression
AT+DS44=3
Enables V.44 data compression (default)
Command input echo This command toggles the responses, which are created by the i-modul Modem 144/56k 3.0 basic as reaction on application commands (Echo), ON or OFF.
AT%E
ATE0
Disabling echo
ATE1
Enabling echo (default)
Automatic retrain The i-modul Modem 144/56k 3.0 basic performs a retrain in case of transmission problems. The i-modul Modem 144/56k 3.0 basic hangs up after three insuccessful retrain attempts.
AT&F
AT%E0
Retrain not allowed
AT%E1
Retrain allowed
AT%E2
Fall back, fall forward allowed (default)
Loading the factory default settings The i-modul Modem 144/56k 3.0 basic loads the factory default settings from the internal non-volatile memory. With this, the i-modul Modem 144/56k 3.0 basic can be taken into a defined initial state. AT&F also overwrites a part of the S registry. The i-modul Modem 144/56k 3.0 basic has two factory default settings (AT&F0, AT&F1).
AT+GCI
Configuring the country code The command AT+GCI allows the customization of the modem for different countries. By default, the modem is configured to Europe (CTR21) with AT+GCI=FD. The modem is only approved for this country profile at the moment. Note:
ATH
Please note that all country settings will result in ALL modem settings being reset to the default settings (such as AT&F&W). Therefore, please select a country profile first and adjust the settings afterwards.
Terminating a connection The i-modul Modem 144/56k 3.0 basic terminates the connection.
32
i-modul Modem 144/56k
Command
Description
ATI
Identification
AT Command Reference
The i-modul Modem 144/56k 3.0 basic sends an identification to the PC, according to the parameter.
AT+IPR=
ATI0
Product code
ATI1
Previously calculated checksum of the EPROM
ATI2
Calculation of the EPROM checksum and comparison with the previously calculated checksum stored in the EPROM. Display of OK for correct comparison.
ATI3
Version number of the firmware in the EPROM
ATI4
i-modul Modem 144/56k 3.0 basic version number
ATI5
Country code parameter (Germany = 006/Europe = 253)
ATI6
Version number and revision of the “data pump”
Determine baud rate Use the command AT+IPR to temporarily set a certain baud rate. AT+IPR=0
Enables the automatic baud rate detection (default)
AT+IPR= Sets the i-modul Modem 144/56k 3.0 basic temporarily to the fixed baud rate . The following baud rates are supported: 300, 1.200, 2.400, 4.800, 9.600, 19.200, 38.400, 57.600, 115.200 and 230400. The setting AT+IPR is not stored with AT&W. AT&K
Selecting data flow control between PC and i-modul Modem 144/56k 3.0 basic (handshake) Fax operation default is RTS/CTS.
AT\K
AT&K0
No data flow control
AT&K3
Select data flow control RTS/CTS (default)
AT&K4
Select data flow control XON/XOFF
AT&K5
Select transparent data flow control XON/XOFF
AT&K6
Select RTS/CTS and XON/XOFF data flow control
Break control The i-modul Modem 144/56k 3.0 basic reacts to a break (receive path OFF for a certain amount of time), which it receives from another modem or from the PC, or from the command AT\B according to the parameters. 1. Situation
In case of a break by the application during a data connection to another modem:
AT\K0
i-modul Modem 144/56k 3.0 basic changes to command mode, sends no break to another modem
AT\K1
i-modul Modem 144/56k 3.0 basic deletes the data buffer, sends break to another modem
AT\K2
Like AT\K1
33
AT Command Reference
Command
Description
AT\K
AT\K3
i-modul Modem 144/56k 3.0 basic sends break immediately to another modem, data buffers are not deleted
AT\K4
Like AT\K0
AT\K5
i-modul Modem 144/56k 3.0 basic inserts a break into the data transmitted to the other modem
2. Situation
The i-modul Modem 144/56k 3.0 basic has been changed to command mode during a data connection via an escape sequence +++. In this condition, the AT\B command will send a break to the other modem. In this situation, the parameter n will cause the following:
AT\K0
i-modul Modem 144/56k 3.0 basic deletes the data buffer, sends break to another modem
AT\K1
Like AT\K0
AT\K2
i-modul Modem 144/56k 3.0 basic sends break immediately to the other modem
AT\K3
Like AT\K2
AT\K4
i-modul Modem 144/56k 3.0 basic inserts a break into the data transmitted to the other modem
AT\K5
Like AT\K4 – Return from the online command mode into the data mode via the ATO command.
3. Situation
In the case a break is received from another modem during a connection that has not been error corrected, the parameters cause the following:
AT\K0
i-modul Modem 144/56k 3.0 basic deletes the data buffer, sends break to PC
AT\K1
Like AT\K0
AT\K2
i-modul Modem 144/56k 3.0 basic sends break immediately to the PC
AT\K3
Like AT\K2
AT\K4
i-modul Modem 144/56k 3.0 basic sends a break to the application embedded into the data received from the other i-modul Modem 144/56k 3.0 basic.
AT\K5
Like AT\K4
(Continuation)
ATL
34
i-modul Modem 144/56k
Speaker volume This command controls the speaker volume (refer to command ATM). ATL1
Speaker volume low (default)
ATL2
Speaker volume medium
ATL3
Speaker volume high
i-modul Modem 144/56k
AT Command Reference
Command
Description
AT%L
Displaying level of the received signal The value indicated by the i-modul Modem 144/56k 3.0 basic corresponds already with the amplified level in the i-modul Modem 144/56k 3.0 basic, not the level on the phone line. Large AT%L responses imply a low signal level; small values imply a high signal level. (009 = -9db, 043 = -43db)
ATM
Speaker control This command controls when the speaker is active (refer to the command ATL).
AT+MR=
ATM0
Speaker always OFF
ATM1
Speaker ON during dialling and connection setup (default)
ATM2
Speaker always ON
ATM3
Speaker ON during connection setup
Displaying the modulation type The command AT+MR= enables the display of the modulation type after the message CONNECT. AT+MR=0
Switches the display function OFF (default).
AT+MR=1
Switches the display function ON. The displayed value applies to the sent data.
AT+MR=2
Switches the display function ON. The displayed value applies to the received data.
If the display function is enabled, the i-modul Modem 144/56k 3.0 basic displays the modulation type and the line speed following the CONNECT message. Following the message CONNECT, the line "+MCR: " appears followed by the modulation type (refer to the AT+MS command) and the line "+MRR: " followed by the line speed. Note:
The AT+MR command is useful for a connection check.
35
AT Command Reference
i-modul Modem 144/56k
Command
Description
AT+MS=, [Automode], [Send Minbaud, Send Maxbaud], [Reception Minbaud, Reception Maxbaud]
Select modulation type AT+MS determines the modulation type. The command enables or disables automatic modulation recognition and defines the highest and lowest possible connection speed. The command has the form AT+MS=, [Automode], [Send Minbaud, Send Maxbaud], [Reception Minbaud, Reception Maxbaud] AT+MS?
Shows the current setting
AT+MS=?
Displays a list of possible parameters
Default factory setting: Model 56k
V92
Model 336
V34
Parameter Modulation: The modulation parameter determines the preferred (automode = 1) or the mandatory (automode = 0) modulation type. The following values are available:
36
V21
V.21
300
V22
V.22
1200
V22B
V.22bis
2400 or 1200
V23C
V.23
1200
V32
V.32
9600 or 4800
V32B
V.32bis
14400, 12000, 9600, 7200 or 4800
V34
V.34
33600, 31200, 28800, 26400, 24000, 21600, 19200, 16800, 14400, 12000, 9600, 7200, 4800 oder 2400 (only 336 and 56k)
V90
V.90
56000, 54667 ,53333 ,52000, 50667, 49333, 48000, 46667, 48000, 46667, 45333, 42667, 41333, 40000, 38667, 37333, 36000, 34667, 33333, 32000, 30667, 29333, 28000 (only 56k)
V92
V.92
56000, 54667 ,53333 ,52000, 50667, 49333, 48000, 46667, 48000, 46667, 45333, 42667, 41333, 40000, 38667, 37333, 36000, 34667, 33333, 32000, 30667, 29333, 28000 (only 56k)
B103
Bell 103
300
B212
Bell 212
1200/75
i-modul Modem 144/56k
Command AT+MS=, [Automode], [Send Minbaud, Send Maxbaud], [Reception Minbaud, Reception Maxbaud]
(Continuation)
AT Command Reference
Description Parameter Automode: The optional parameter automode determines whether the i-modul Modem 144/56k 3.0 basic automatically adjusts to the desired modulation type. The following values may be used: 0 1
Automatic modulation adjustment disabled Automatic modulation adjustment enabled
Parameter Reception Minbaud: The optional parameter minbaud determines the lowest possible baud rate for imodul Modem 144/56k 3.0 basic reception. Parameter Reception Maxbaud: The optional parameter maxbaud determines the highest possible baud rate for imodul Modem 144/56k 3.0 basic reception. Parameter Send Minbaud: The optional parameter minbaud determines the lowest possible baud rate, the imodul Modem 144/56k 3.0 basic sends with. Parameter Send Maxbaud: The optional parameter maxbaud determines the highest possible baud rate, the imodul Modem 144/56k 3.0 basic sends with.
AT\N
Selecting the error correction This command determines which type of error correction should preferably be used for subsequent connections.
ATO
AT\N0
Disabling the error correction (normal buffered mode)
AT\N1
Bit direct mode (only for special data formats)
AT\N2
Selects V.42LAP-M or MNP 4 error correction. If no error corrected connection can be established, the modem will hang up.
AT\N3
Selects V.42LAP-M or MNP 4 error correction. If such a connection cannot be established, the modem will attempt to establish a connection that is not error corrected. (default)
AT\N4
Exclusively selects a V.42 LAP-M connection.
AT\N5
Dials exclusively MNP 4 connections.
Returning to online data mode If the i-modul Modem 144/56k 3.0 basic is in online command mode, it will return to online data mode. If the i-modul Modem 144/56k 3.0 basic is in offline command mode, it reports ERROR. ATO0
Returning to online data mode.
ATO1 Before the modem switches to online data mode, a retrain procedure is provoked.
37
AT Command Reference
i-modul Modem 144/56k
Command
Description
ATP
Switch on pulse dialling method (deactivated for some models) Starting with this command, each dial-up is performed with the pulse dialling method, until an ATT or ATDT command switches it back to tone dialling.
ATQ
Quiet control This command enables or disables sending messages from the i-modul Modem 144/56k 3.0 basic to the application.
AT%Q
ATQ0
Send messages to the application (default)
ATQ1
Don’t send messages to the application
Displaying the quality of the telephone connection Displays the quality of the data connection (deviation from the eye diagram). Low values indicate a good line quality. The line quality value must be evaluated differently depending on the negotiated data rate. Connections with more than 9600 baud will reach the value "000" for good lines and should not have values of more than "010". For connections with 33600 baud good lines will have values between 010…030. Depending on the settings and the modulation type a fall back or retrain is triggered if the line quality is too bad to enable a new negotiation of the connection (if necessary with a slower speed). High values indicate bad quality. These values are constantly updated during a connection. If the value increases significantly during a connection, the quality will deteriorate. After a previous AT%E command, an Autoretrain is performed.
AT&R
RTS/CTS behaviour This command determines how the modem treats the RTS/CTS (CT105/CT106) data flow control lines (refer also to the command AT&K).
ATS
AT&R0
CTS behaviour complies with V.25bis. CTS is deactivated during the connection setup after recognition of the response or ringing tones and will only be activated after the connection is set up.
AT&R1
CTS only switches to OFF when this is required by the data flow control (default).
Reading/writing the S registry Depending on the country settings, the S registers may only be changed within certain limits. The i-modul Modem 144/56k 3.0 basic still reports OK, although the value has not changed as specified. We recommend checking the results after each write attempt, using the ATS? command. ATS= Sets the S register n to the value x ATS?
38
Shows the value of the S register n
i-modul Modem 144/56k
AT Command Reference
Command
Description
AT&S
DSR behaviour This command determines how the i-modul Modem 144/56k 3.0 basic treats its DSR (CT107) output.
ATT
AT&S0
DSR always ON (default)
AT&S1
DSR ON after a response tone has been detected; DSR OFF when no carrier is detected any more.
Enabling the tone dialling method Starting with this command, each dial up is performed with the tone dialling method, until an ATP or ATDP command switches it back to pulse dialling.
AT-TRV
Phone Line Voltage Measurement (Tip Ring Voltage) Use the command AT-TRV to measure the phone line voltage (Tip Ring Voltage). The result is yielded in volt. For an existing connection the voltage range is 5 V – 12 V. Otherwise the voltage is higher than 20 V. If the voltages are lower than 2 V, no phone line is connected.
ATV
Format of modem messages This command determines, whether the i-modul Modem 144/56k 3.0 basic transfers messages to the application in short or long form.
AT\V
ATV0
Messages in short format, i.e. only the error number
ATV1
Messages in long format, i.e. the error text (default)
Format of connect rate messages AT\V0
This command enables the display of the connect message in three lines.
AT\V1 one
This command enables the display of the connect message in line. (default)
39
AT Command Reference
i-modul Modem 144/56k
Command
Description
AT&V
Displaying the configurations AT&V0
The active configuration of the modem, the saved user defaults and the saved phone numbers 0 to 3 (the parameter 0 may be omitted) are displayed.
AT&V1
Displays the diagnostic data of the last connection (connection partner, reason for disconnect): TERMINATION REASON: Reason for disconnect. e.g.: connection termination via command (ATH: "LOCAL REQUEST") LAST TX rate: Last baud rate at the phone line in send direction, prior to the termination. HIGHEST TX rate: Highest baud rate that was achieved at the phone line in send direction, prior to the termination. LAST RX rate: Last baud rate at the phone line in receive direction, prior to the termination. HIGHEST RX rate: Highest baud rate that was achieved at the phone line in receive direction, prior to the termination. Note: The data rates may vary if a fall forward, fall back or retrain occurred during the connection. To impact the negotiated data rate, use the command AT+MS. PROTOCOL: Displays the used error correction protocol. "LAPM" equals a V.42 secured connection. For "NONE", the connection was not error corrected (the error corrected can be influenced with the command AT\N). COMPRESSION: Displays the used data compression method. The example shows the used compression method V.42bis (the compression method can be set with the command AT%C). LINE QUALITY: Displays the quality of the data connection (deviation from the eye diagram). Low values indicate a good line quality. The line quality value must be evaluated differently depending on the negotiated data rate. Connections with more than 9600 baud will reach the value "000" for good lines and should not have values of more than "010". For connections with 33600 baud good lines will have values between 010…030. Depending on the settings and the modulation type a fall back or retrain is triggered if the line quality is too bad to enable a new negotiation of the connection (if necessary with a slower speed).
40
i-modul Modem 144/56k
Command
AT Command Reference
Description Rx LEVEL: Displays the receive level (which is internally applied at the modem chip) in –dBm. High values indicate a low input level; low values indicate a high input level. The optimum receive levels range from approx. 012 to 028. To high levels could cause distortions; too low levels will cause the line noise to have a negative impact on the connection quality.
AT&V
(Continuation)
Local Rtrn Count: Number of retrains (renegotiation of the connection), triggered by the local modem. Remote Rtrn Count: Number of retrains (renegotiation of the connection), triggered by the remote modem. AT+VCID=
Configuring CLIP With this function, the phone number of the caller can be displayed during an incoming call. (Only for telephone connections or PABXs, which support CLIP. If you want to use the CLIP function, please ask your network provider, if your connection supports this function. The following countries support CLIP: Australia, Belgium, China, Denmark, Germany, Finland, Great Britain, Hong Kong, India, Ireland, Iceland, Italy, Canada, Korea, New Zealand, The Netherlands, Norway, Austria, Sweden, Singapore, Spain, Taiwan, USA)
AT+VRID=
AT+VCID=0
Disables the CLIP function (default)
AT+VCID=1
Enables the CLIP function and displays the ID preformatted for calls.
AT+VCID=2
Enables the CLIP function and displays the ID unformatted for calls.
Configuring the last received CLIP The command AT+VRID displays the CLIP of the last caller.
ATW
AT+VRID=0
displays the ID preformatted
AT+VRID=1
displays the ID unformatted
Error correction messages This command determines which data transmission rate information is provided for a CONNECT message. ATW0
The i-modul Modem 144/56k 3.0 basic reports the baud rate between i-modul Modem 144/56k 3.0 basic and application. (default)
ATW1
During connection establishment, the i-modul Modem 144/56k 3.0 basic reports the speed on the phone line, the error correction protocol and the baud rate of the application.
ATW2
The i-modul Modem 144/56k 3.0 basic reports the speed on the phone line.
41
AT Command Reference
i-modul Modem 144/56k
Command
Description
AT&W
Saving the configurations The command saves the current modem configuration including the S registry in one of the two user-defined defaults.
ATX
AT&W0
Save to user default setting 0
AT&W1
Save to user default setting 1
Extended result messages,, dial tone detection The command determines, which message group is sent to the PC by the i-modul Modem 144/56k 3.0 basic. This is important for PABXs, as a leading 0 or 9 must often be dialled before a dialling tone is heard on the line. Blind Dialling (dialling without detecting the dialling tone) is activated or deactivated according to the parameter. The detection of the dialling tone, however, can always be enforced using the parameter W in the ATD dialling string (refer to the command ATD). ATX0
No detection of the dialling tone, i.e. an unsuccessful dialling attempt leads to the message NO CARRIER. No detection of the busy signal, i.e. when calling a busy line the message NO CARRIER is displayed. The message is displayed without specifying the speed.
ATX1
Like ATX0, but CONNECT message with speed information
ATX2
Dialling tone detection is active, i.e. a dialling attempt without the presence of a dialling tone leads to the message NO DIALTONE. No detection of the busy signal, i.e. when calling a busy line the message NO CARRIER is displayed.
ATX3
No detection of the dialling tone, i.e. an unsuccessful dialling attempt leads to the message NO CARRIER. Busy signal detection active, i.e. when calling a busy line the message BUSY is displayed.
ATX4
Dialling tone detection is active, i.e. a dialling attempt without the presence of a dialling tone leads to the message NO DIALTONE. (default) Busy signal detection active, i.e. when calling a busy line the message BUSY is displayed.
AT&Y
42
Selecting the user configuration for a hardware reset AT&Y0
For a hardware reset following the AT&Y0 command, the user default 0 (created using the AT&W0 command) is loaded into the current modem configuration.
AT&Y1
For a hardware reset following the AT&Y1 command, the user default 1 (created using the AT&W1 command) is loaded into the current modem configuration.
i-modul Modem 144/56k
Command
Description
ATZ
Software reset
AT Command Reference
The command causes the i-modul Modem 144/56k 3.0 basic to perform a software reset. The i-modul Modem 144/56k 3.0 basic loads (depending on parameter) the default setting saved by the user. If no parameter is specified, the user default 0 is loaded. ATZ0
Software reset; afterwards the user default 0 is loaded.
ATZ1
Software reset; afterwards the user default 1 is loaded.
Saving telephone numbers
AT&Z
The command saves four entries permanently in the EEPROM. Each entry may consist of up to 35 characters. The entries may be overwritten and must comply with the dialing string as described in the ATD command. AT&Z=xxx +++
8.2
n xxx
Is the number of the entry in the list (from 0 to 3). Is the dialling string with the phone number.
Changing from data mode to command mode (online command mode) 1 second pause before and after the entry, no Carriage Return - -. After the response "OK", an additional waiting period of 1 seconds for the re-entry of AT commands must be observed.
AT Messages List of message numbers and messages texts depending on the ATX command.
Message no. short form
Message text in long form
+F4
ATX<0>
ATX<1>
ATX<2>
ATX<3>
ATX<4>
+FCERROR
X
X
X
X
X
0
OK
X
X
X
X
X
1
CONNECT
X
X
X
X
X
2
RING
X
X
X
X
X
3
NO CARRIER
X
X
X
X
X
4
ERROR
X
X
X
X
X
5
CONNECT 1200
1
X
X
X
X
6
NO DIAL TONE
3
3
X
3
X
7
BUSY
3
3
3
X
X
8
NO ANSWER
1
X
X
X
X
9
CONNECT 600
1
X
X
X
X
10
CONNECT 2400
1
X
X
X
X
11
CONNECT 4800
1
X
X
X
X
12
CONNECT 9600
1
X
X
X
X
13
CONNECT 7200
1
X
X
X
X
14
CONNECT 12000
1
X
X
X
X
43
AT Command Reference
44
Message no. short form
Message text in long form
15
i-modul Modem 144/56k
ATX<0>
ATX<1>
ATX<2>
ATX<3>
ATX<4>
CONNECT 14400
1
X
X
X
X
16
CONNECT 19200
1
X
X
X
X
17
CONNECT 38400
1
X
X
X
X
18
CONNECT 57600
1
X
X
X
X
19
CONNECT 115200
1
X
X
X
X
20
CONNECT 230400
X
X
X
X
X
22
CONNECT 75TX/1200RX
1
X
X
X
X
23
CONNECT 1200TX/75RX
1
X
X
X
X
24
DELAYED
4
4
4
4
X
32
BLACKLISTED
4
4
4
4
X
33
FAX
X
X
X
X
X
35
DATA
X
X
X
X
X
40
CARRIER 300
X
X
X
X
X
44
CARRIER 1200/75
X
X
X
X
X
45
CARRIER 75/1200
X
X
X
X
X
46
CARRIER 1200
X
X
X
X
X
47
CARRIER 2400
X
X
X
X
X
48
CARRIER 4800
X
X
X
X
X
49
CARRIER 7200
X
X
X
X
X
50
CARRIER 9600
X
X
X
X
X
51
CARRIER 12000
X
X
X
X
X
52
CARRIER 14400
X
X
X
X
X
53
CARRIER 16800
X
X
X
X
X
54
CARRIER 19200
X
X
X
X
X
55
CARRIER 21600
X
X
X
X
X
56
CARRIER 24000
X
X
X
X
X
57
CARRIER 26400
X
X
X
X
X
58
CARRIER 28800
X
X
X
X
X
59
CONNECT 16800
1
X
X
X
X
61
CONNECT 21600
1
X
X
X
X
62
CONNECT 24000
1
X
X
X
X
63
CONNECT 26400
1
X
X
X
X
64
CONNECT 28800
1
X
X
X
X
66
COMPRESSION: CLASS 5
X
X
X
X
X
67
COMPRESSION: V.42 bis
X
X
X
X
X
69
COMPRESSION: NONE
X
X
X
X
X
70
PROTOCOL: NONE
X
X
X
X
X
77
PROTOCOL: LAP-M
X
X
X
X
X
78
CARRIER 31200
X
X
X
X
X
79
CARRIER 33600
X
X
X
X
X
80
PROTOCOL: ALT
X
X
X
X
X
i-modul Modem 144/56k Message no. short form
Message text in long form
81
AT Command Reference
ATX<0>
ATX<1>
ATX<2>
ATX<3>
ATX<4>
PROTOCOL: ALT-CELLULAR
X
X
X
X
X
84
CONNECT 33600
X
X
X
X
X
91
CONNECT 31200
X
X
X
X
X
150
CARRIER 32000
X
X
X
X
X
151
CARRIER 34000
X
X
X
X
X
152
CARRIER 36000
X
X
X
X
X
153
CARRIER 38000
X
X
X
X
X
154
CARRIER 40000
X
X
X
X
X
155
CARRIER 42000
X
X
X
X
X
156
CARRIER 44000
X
X
X
X
X
157
CARRIER 46000
X
X
X
X
X
158
CARRIER 48000
X
X
X
X
X
159
CARRIER 50000
X
X
X
X
X
160
CARRIER 52000
X
X
X
X
X
161
CARRIER 54000
X
X
X
X
X
162
CARRIER 56000
X
X
X
X
X
165
CONNECT 32000
X
X
X
X
X
166
CONNECT 34000
X
X
X
X
X
167
CONNECT 36000
X
X
X
X
X
168
CONNECT 38000
X
X
X
X
X
169
CONNECT 40000
X
X
X
X
X
170
CONNECT 42000
X
X
X
X
X
171
CONNECT 44000
X
X
X
X
X
172
CONNECT 46000
X
X
X
X
X
173
CONNECT 48000
X
X
X
X
X
174
CONNECT 50000
X
X
X
X
X
175
CONNECT 52000
X
X
X
X
X
176
CONNECT 54000
X
X
X
X
X
177
CONNECT 56000
X
X
X
X
X
178
CONNECT 230400
X
X
X
X
X
180
CARRIER 28000
X
X
X
X
X
181
CARRIER 29333
X
X
X
X
X
182
CARRIER 30667
X
X
X
X
X
183
CARRIER 33333
X
X
X
X
X
184
CARRIER 34667
X
X
X
X
X
185
CARRIER 37333
X
X
X
X
X
186
CARRIER 38667
X
X
X
X
X
187
CARRIER 41333
X
X
X
X
X
188
CARRIER 42667
X
X
X
X
X
189
CARRIER 45333
X
X
X
X
X
190
CARRIER 46667
X
X
X
X
X
45
AT Command Reference Message no. short form
Message text in long form
191
i-modul Modem 144/56k
ATX<0>
ATX<1>
ATX<2>
ATX<3>
ATX<4>
CARRIER 49333
X
X
X
X
X
192
CARRIER 50667
X
X
X
X
X
193
CARRIER 53333
X
X
X
X
X
194
CARRIER 54667
X
X
X
X
X
Table 8: AT responses depending on the ATX command
Notes regarding the table: An X in the column indicates that a message is either sent in long or short form (depending on the ATV command. In the topmost line, the characters 0 to 4 each indicate the parameters for the commands ATX0 to ATX4. If there is a number in a column, this indicates that an error message is displayed according to the error number.
46
i-modul Modem 144/56k
9
S Registry
S Registry S registers may be read and written using the ATS command. (Refer also to the AT Command Reference). Certain S registers may only be read; others only allow to enter a particular range of values. If the range of values is exceeded, the modem will report OK, although the value was not accepted. We therefore recommend to immediately check modifications by reading (ATS?). Note: * These registries are stored in the user defaults with AT&W0 or AT&W1. **
The defaults can differ depending on the configured country code.
47
S Registry
9.1
i-modul Modem 144/56k
Overview S Registry
Register
Function
Range
Default
S0*
Number of ringing tones until automatically going off- Ringing hook tones
0-5
5
S1
Ring tone counter
Ringing tones
0-255
0
S2*
Escape
ASCII
0-255
43
S3
Return
ASCII
0-127
13
S4
Line feed character
ASCII
0-127
10
S5
Backspace character
ASCII
0-255
8
S6*
Waiting period for dial tone
s
3-7
3
S7*
Waiting period for carrier signal
s
0-100
50
S8*
Dial tone delay
s
1-7
2
S9*
Reaction time for carrier signal
0.1 s
1-255
6
S10*
Time period between lost carrier signal and hang up
0.1 s
14-254
14
S12*
Transmission clock of the ESC characters
0.02 s
0-255
50
S14*
General settings
138
S21*
Settings for V24
52
S22*
Settings
117
S24*
Time period until switching into sleep mode
s
0-255
0
S25
Time period for DTR signal
0.01 s
0-255
5
S26
Time period between RTS/CTS
0.01 s
0-255
1
S27*
General settings
-
S29
Time period for modifier “flash”
10 ms
0-17
0
S30
Time period until hang up due to silence
10 s
0-255
0
S31*
General settings
-
192
S36*
Reset of error logs
-
135
S38
Time period until forced hang up
s
S39*
Flow control
-
3
S40*
General settings
-
104
S41*
General settings
-
195
S46*
Data compression
-
138
S48*
Setting for V42 declaration phase
-
7
S86
Error event code
-
Read-only
S91*
Transmit level
S95*
Result code
Table 9: Overview S Registry: Units, value range, presets
48
Units
137
0-255
0-15
20
9 0
i-modul Modem 144/56k
9.2
S Registry
Description S Registry Note:
Registries marked with *) are stored in the user defaults with the command AT&W.
S0*
Number of ringing tones until automatically going off-hook Number of rings until the modem goes off-hook For S0=0 the modem will not go off-hook when a call comes in. The value of S0 can be between 0 and 5.
S1
Ring tone counter Counter for call ringing. S1 is read-only. S1 will be reset to zero, when the modem answers a call.
S2*
Escape Escape character, which causes a switch from data mode to online command input mode. Values larger than 127 will lead to the fact that no ESC character will be recognized.
S3
Return Carriage Return Character (CR).
S4
Line feed character Line feed character
S5
Backspace character Backspace character
S6*
Waiting period for dial tone Maximum waiting time for the dialling tone. After the modem went off-hook it waits 7 seconds for the dialling tone (fixed for approval purposes). If it detects a dialling tone during this waiting period it will start dialling. If it does not detect a dialling tone, it will check if dial tone recognition is activated or if the dialling string (Section "AT Command Set", command ATD) contains the parameter W. If the dialling tone detection is not activated, the modem waits for the dialling tone. The value of the S6 register can be between 4 and 7 seconds.
S7*
Waiting period for carrier signal Wait for the carrier frequency from the other modem. The maximum time for the modem to wait for a response from the other modem is specified in S7. The time starts running as soon as the modem has finished dialling. The value of S7 can be between 0 and 180 seconds. 49
S Registry
i-modul Modem 144/56k
S8*
Dial tone delay Dial pause time, if a comma is included in the dialling string. If there is a comma in the dialling string, the modem will wait during the dialling procedure, until the time specified in S8 (in seconds) has expired. The value of S8 can be between 1 and 7 seconds.
S9*
Reaction time for carrier signal DCD response time for the carrier frequency from the other modem. The DCD output of the RS232 interface (CT109) of the modem switches to ON, when the carrier frequency from the other modem is detected before the time defined in S9 (in tenth of seconds) expires. S9 must be smaller than S10.
S10* Time period between lost carrier signal and hang up The time which leads to termination after carrier frequency loss. In S10, the time period for which the modem waits for the disconnection if it can no longer detect the carrier frequency from the other modem, is specified in tenth of seconds. S12* Transmission clock of the ESC characters Minimum pre and post run time and maximum interim time in 1/50 of seconds between two characters. This must be observed, if the modem is supposed to detect an abort sequence (usually +++). S14*
50
General settings Bit
Meaning
Bit 0
Reserved
Bit 1
Echo on inputs
Bit 2
Reserved
Bit 3
Result format
Bit 4
Reserved
Bit 5
Tone/pulse dialling
Bit 6
Reserved
Bit 7
Originate/answer
Command echo
0: Echo off 1: Echo on
Result codes:
0: Message numbers (ATV0) 1: Message texts (ATV1)
Tone/pulse
0: Tone dialling (ATT) 1: Pulse dialling (ATP)
Originate/answer 0: Answer mode 1: Originate mode
i-modul Modem 144/56k
S Registry
S21* Settings for V24 Bit
Meaning
Bit 0,1
Reserved
Bit 2
CTS behaviour
CT106 (CTS) behaviour: 0: like AT&R0 1: like AT&R1
Bit 3-4
DTR behaviour
CT108 (DTR) behaviour: 0: like AT&D0 1: like AT&D1 2: like AT&D2 3: like AT&D3
Bit 5
DCD behaviour
CT109 (DCD) behaviour 0: like AT&C0 1: like AT&C1
Bit 6
DSR behaviour
CT107 (DSR) behaviour 0: like AT&S0 1: like AT&S1
Bit 7
Reserved
Reserved
S22* Speaker system settings
S24
Bit
Meaning
Bit 0,1
Speaker volume
Speaker volume: 0: Off 1: Silent 2: Medium 3: Loud
(ATL0) (ATL1) (ATL2) (ATL3)
Bit 2-3
Speaker control
Speaker control: 0: Off (ATM0) 1: On until carrier (ATM1) 2: Always on (ATM2) 3: On at establishing
Bit 4-6
Error message group
Limit result codes: 0: like ATX0 4: like ATX1 5: like ATX2 6: like ATX3 7: like ATX4
Bit 7
Reserved
Reserved
Time period until switching into sleep mode The time after which the modem switches to energy conservation mode (sleep) during inactivity is determined (in seconds) in S24. The energy conservation mode will be quit as soon as characters are sent to the modem, or when a call comes in. Note: When the modem is in sleep mode, it is necessary to send an "AT" command before sending other commands. This first "AT" command may not be answered with "OK". Further AT commands may be entered immediately. 51
S Registry
i-modul Modem 144/56k
S25
Time period for DTR signal Time period, in which a modem waits without a DTR signal before it hangs up (1/100 seconds).
S26
Time period between RTS/CTS Time period between RTS and CTS activation in 1/100 seconds.
S27* General settings Bit
Meaning
Bit 0-3
RS232 mode
Bit 4,5
Reserved
Bit 6
CCITT or Bell modulation
CCITT/Bell select 0: CCITT modulation 1: Bell modulation
Bit 7
Reserved
Reserved
Asynchronous mode selection: 0: like AT&M0 or AT&Q0 9: like AT&Q5 10: like AT&Q6
S29
Time period for modifier "flash" Sets the time period in tenths of seconds, after which the modem hangs up due to a flash in the dialling string.
S30
Time period until hang up due to silence Time period, in which the modem waits without activity before hanging up. Units in seconds (only for FAX Class 1).
S31*
General settings Bit
Meaning
Bit 0
Reserved
Bit 1
Representation Connect message
0: 3-line message (\V0) 1: Extended single-line message (\V1)
Bit 2-3
Error correction messages
Messages: 0: Only PC baud rate 1: PC and phone baud rate 2: Only phone baud rate
Bit 4-7
52
Reserved
(ATW1) (ATW2)
i-modul Modem 144/56k
S36*
S Registry
Resetting the error logs Bit
Meaning
Bit 0..2
Determines what happens if an attempt to establish a V.42 LAP-M connection fails. It is connected to the registry S48.
Bit 3..7
Reserved
0
Modem hangs up
1
Modem stays online and establishes a direct mode connection.
2
Reserved
3
Modem stays online and establishes a normal mode connection.
4
Modem attempts to establish an MNP connection. In case of failure it hangs up.
5
Modem attempts to establish an MNP connection. In case of failure a direct mode connection is established.
6
Reserved
7
Modem attempts to establish an MNP connection. In case of failure a normal mode connection is established.
Reserved
S38
Time period until forced hang up Maximum time left for the buffers to empty their data, after a command to hang up has been received. Only applies to error corrected connections.
S39*
Flow control Selection of the data flow control between PC and modem S39=0 No data flow control (AT&K0) S39=3
RTS/CTS data flow control (AT&K3)
S39=4
XON/XOFF data flow control (AT&K4)
S39=5
Transparent XON data flow control (AT&K5)
S39=6
RTS/CTS and XON/XOFF data flow control
53
S Registry
S40*
S41*
i-modul Modem 144/56k
Break handling and MNP5 block size Bit
Meaning
Bit 0
Reserved
Bit 1
Reserved
Bit 2
Reserved
Bit 3-5
Break handling
Break handling 0: like AT\K0 1: like AT\K1 2: like AT\K2 3: like AT\K3 4: like AT\K4 5: like AT\K5
Bit 6-7
MNP block size
MNP block size 0: 64 characters 1: 128 characters 2: 192 characters 3: 256 characters
Compression settings: Compression type, retrain Bit
Meaning
Bit 0,1
Select compression type
Bit 2
Auto retrain
Bit 3
Reserved
Bit 4
Reserved
Bit 5
Reserved
Bit 6
Fall back/fall forward
Bit 7
S46*
Compression selection 0: No compression 1: MNP5 2: V.42bis 3: MNP5 or V.42bis
FB/FF control 0: No FB/FF 1: FB/FF
Reserved
V.42bis data compression S46=136 No data compression
V.42bis Connection setup protocol S48=0
Only LAPM connection possible
S48=7
LAPM or MNP 4 connection
S48=128 Connection protocol as laid down in S36
54
(AT%C0) (AT%C1) (AT%C2) (AT%C3)
Auto retrain control 0: No auto retrain (AT%E0) 1: Auto retrain (AT%E1)
S46=138 V.42bis data compression on S48*
(AT\A0) (AT\A1) (AT\A2) (AT\A3)
(AT%E2)
i-modul Modem 144/56k
S86
S Registry
Error event code When a connection fails (NO CARRIER), an event code is written into this register. S86=0 S86=4 S86=5 S86=6 S86=7 S86=8 S86=9 S86=10 S86=11 S86=12 S86=13 S86=14 S86=15 S86=16 S86=17 S86=18 S86=19 S86=20 S86=22 S86=23 S86=25 S86=26
S91
Normal disconnect, no error Carrier lost No establishing of an error-corrected (V.42) connection No extensions could be negotiated Remote terminal only supports synchronous modems No joint framing detected No protocol could be established Invalid answer when negotiating extensions No synchronous marks received from remote terminal Normal disconnection by remote terminal Remote terminal didn’t respond any more (ten attempts) Protocol error DTR drop Remote terminal demanded cleardown (GSTN cleardown) Inactivity timer expired Desired speed is not supported Long space disconnect Key abort (character was sent during connection setup) No connection setup possible Cleardown after 3 retrains Termination of the connection by the remote terminal or by a phone connected in series Remote terminal hung up
Transmit level The value for the transmit level of the modem is stored in the S91 register. The value can be configured between 0 and 15. The connection can in some cases be improved by decreasing the transmit level. S91=0 Transmit level -1 dBm S91=15 Transmit level -16 dBm Note: The range and the default value depend on the country settings (AT+GCI)
55
S Registry
S95
56
i-modul Modem 144/56k
Result code Bit
Meaning
Bit 0
CONNECT message with line speed
Bit 1
CONNECT/ARO message for error corrected connection
Bit 2
CARRIER messages enabled (messages 40 – 47)
Bit 3
PROTOCOL messages enabled (messages 70 – 80)
Bit 4
Reserved
Bit 5
COMPRESSION message enabled (messages 66 - 69)
Bit 6
Reserved
Bit 7
Reserved
i-modul Modem 144/56k
10
CE/EMC Compliant Integration
CE/EMC Compliant Integration
When integrating the i-modul Modem 144/56k 3.0 basic into an application, the system integrator is responsible for the CE/EMC conformity of the entire device. In order to integrate the i-modul Modem 144/56k 3.0 basic CE and EMC compliant into your application, we recommend the following for you to observe during development.
10.1
Your Application
The motherboard for the i-modul must be designed according to the applicable CE/EMC guidelines. Always observe short signal lines and sufficient ground surface. Connect the i-modul with a conducting spacer bolt to the device ground. If you develop a platform, which is compatible with several, different imoduls, you must maintain the respective design criteria for each i-modul (especially concerning the phone connection). The PCB tracks to the i-moduls with network interfaces, like Modem, ISDN, and Ethernet, must be designed with a track distance of 2.5 mm between the tracks of the network interface and all other signals (refer to EN60950).
10.2
Application Interface / Terminal Strip P1
The TTL RS232 interface should be equipped with ferrite beads directly at the module to reduce interference signals from the motherboard. It is also beneficial to design capacitors (preferably SMD) at all RS232 and I/O signal lines to GND, which can be equipped when needed. Short lines to the connector and good ground are important. The recommended value for capacitors is 22 pF to 47 pF.
10.3
Network Interface / Terminal Strip P2 (for Modem /ISDN)
The line to the network interface (line from i-modul to device socket) should
be as short as possible and not be routed close to sources of interference (e.g. switching power supplies). Provide the line with ferrite beads directly at the device socket. The phone interface (not for i-modul with Ethernet interface) should be provided with standard ferrite beads (e.g. Murata BLM31A601SPT or Würth Elektronik type 74279213) and with optional ceramic capacitors (100 pF/2 kV, Y2 standard) to ground. In case of extended requirements to the interference resistance of the phone line (especially burst), a current compensated impedance (e.g. Epcos B82790-C2475-N340 or Würth Elektronik type 744202) can be used. The strip conductors on the Ethernet side should have a wide design (minimum 24 mil). 57
CE/EMC Compliant Integration
i-modul Modem 144/56k
Ethernet receive PCB tracks must provide a minimum width of 25 mil, Ethernet transmit PCB tracks a minimum width of 100 mil (1 mil ≈ 0.0254 mm). The PCB tracks must be routed parallel and have the same length.
10.4
Antenna Connection (if equipped)
The antenna connection must be connected to ground and a ferrite ring must be installed behind the ground connection (towards i-modul) to increase the interference resistance against burst and ESD at the antenna connection.
10.5
Further Recommendations
The required measures will mostly depend on the connections and the layout (especially of the ground surfaces and good ground connections) of the motherboard. To save costs, some of the above mentioned capacitors or ferrite beads may be omitted. However, they should be considered in the layout to be able to integrate it without having to change the PCB, if the EMC tests show that these components are necessary. For the Ethernet module, insert bridges instead of the ferrite beads, while the ceramic capacitors remain unequipped.
10.6
Reference Documents
Our evaluation board may be helpful for designing your application. The evaluation board allows to operate our embedded modules in a simple way. Moreover, you find a wiring diagram as reference design in the evaluation board manual. For information about the evaluation board, visit our website http://www.insystec.de/en/en/demoboard or contact your sales partner or our technical customer support via e-mail to [email protected].
58
i-modul Modem 144/56k
11
Declaration of Conformity
Declaration of Conformity
This device complies with the requirements set out in the Council Directive on the Approximation of the Laws of the Member States relating to Electromagnetic Compatibility 2004/108/EC and the Council Directive relating to Low Voltage 2006/95/EC as well as the Council Directive R&TTE 1999/5/EC. We will gladly send you a copy of the declaration of conformity on request.
59
Tables and Diagrams
12
Tables and Diagrams
12.1
List of Tables
i-modul Modem 144/56k
Table 1: Physical Features ......................................................................................... 6 Table 2: Technological Features................................................................................ 7 Table 3: Specification and assignment of the terminal strips.................................... 8 Table 4: Terminal strip connections description, terminal strip P1 ........................... 9 Table 5: Terminal strip connections description, terminal strip P2 ........................... 9 Table 6: PIN specifications - reset input .................................................................. 10 Table 7: PIN specifications - indication signals ....................................................... 10 Table 8: AT responses depending on the ATX command ....................................... 46 Table 9: Overview S Registry: Units, value range, presets...................................... 48
12.2
List of Diagrams
Figure 1: PCB layout, terminal strip and fixing hole position .................................... 8 Figure 2: Connection example of the OH signal...................................................... 10 Figure 3: Connection example of the serial interface (5 V VCC).............................. 11
60
i-modul Modem 144/56k
13
Index
Index
Additional information..................... 13 Alternative results ........................... 13 Answer mode.................................. 28 AT commands ................................. 14 AT response .................................... 46 Backspace character ................. 48, 49 Baud ................................................ 33 Baud rate ......................................... 12 Baud rate detection ......................... 12 Bit direct mode................................ 12 Break ......................................... 28, 33 Carriage return character ................ 49 Checkmark ...................................... 13 CLIP................................................. 41 Command........................................ 33 Command input .............................. 14 Command mode ............................. 43 Compression type ........................... 54 Configurations........................... 40, 42 Country code................................... 32 CTS.................................................. 51 Data........................................... 31, 33 Data buffering ................................. 12 Data compression ......... 12, 28, 48, 54 Data flow control............................. 12 Data mode....................................... 43 Data transfer rate ............................ 12 DCD........................................... 29, 51 Default............................................. 32 Dial tone .......................................... 49 Dial tone delay........................... 30, 50 Dial tone detection .......................... 42 Dialling ............................................ 29 DSR behaviour ................................ 39 DTR ..................................... 31, 51, 52 Echo ................................................ 32 Energy conservation mode ............. 51
Error ................................................ 37 Error correction ......................... 12, 41 Error event code.............................. 55 ESC character............................ 48, 50 Escape character ............................. 49 Extended result messages .............. 42 Firmware ......................................... 24 Flow control .................................... 53 Forced hang-up ............................... 53 Formatting....................................... 13 Ground .............................................. 9 Hang-up .......................................... 50 Identification ................................... 33 Input ............................................ 9, 30 Level................................................ 35 Level converter.......................... 14, 24 Line feed character.......................... 48 MAX232 .................................... 14, 24 Message numbers........................... 43 Message texts ................................. 43 Minicom .......................................... 14 MNP5 .............................................. 54 Modulation .......................... 35, 36, 37 Off Hook............................................ 9 Online .............................................. 37 Operation......................................... 14 Output ............................................... 9 PABX ............................................... 31 PCB Layout........................................ 8 Phone line ......................................... 9 PIN specifications............................ 10 Prerequisites.................................... 13 Pulse dialling method ...................... 38 Reaction time for carrier signal ....... 50 Redial .............................................. 30 Reset ......................................... 42, 43 Result code ....................................... 56 61
Index
Retrain ....................................... 32, 54 Ring tone counter...................... 48, 49 Ringing ............................................ 31 RS232................................................ 9 RS232 mode.................................... 52 RTS/CTS .................................... 52, 53 RTS/CTS behaviour ......................... 38 S Registry .................................. 38, 47 Saving telephone numbers ............. 43 Serial interface .......................... 11, 12 Sleep mode ..................................... 51 Software reset ................................. 43 Speaker ..................................... 34, 35 Supply ............................................... 9 Symbol ............................................ 13 Telephone connection quality ......... 38
62
i-modul Modem 144/56k
TeraTerm ................................... 14, 24 Terminal program...................... 14, 24 Terminal strip .................................... 8 Terminating ..................................... 32 Tone dialling method....................... 39 Transmission ................................... 32 Transmit level ................................... 55 Update............................................. 24 User configuration........................... 42 User profile...................................... 12 User profiles .................................... 22 V.42bis ...................................... 31, 54 V.44 ................................................. 32 Waiting period for carrier signal...... 49 Waiting period for dial tone............. 49 XON/XOFF ................................. 12, 53