Maxim Integrated 73M1822, 73M1922 User Manual

Simplifying System IntegrationTM
73M1822/73M1922 MicroDAA
Teridian V.22 bis
Linux Softmodem for
User Guide
Rev. 1.5
April 7, 2009
UG_1x22_043
V.22 bis Linux Softmodem for 73M1x22 MicroDAA User Guide UG_1x22_043
© 2009 Teridian Semiconductor Corporation. All rights reserved. Teridian Semiconductor Corporation is a registered trademark of Teridian Semiconductor Corporation. Simplifying System Integration is a trademark of Teridian Semiconductor Corporation. Hayes, Hayes AT, Smartcom and Smartmodem are registered trademarks of Hayes Microcomputer Products. IBM, IBM PC, IBM AT and PS/2 are registered trademarks of IBM. MNP is a registered trademark of Microcom. Tri-state is a registered trademark of National Sem iconductor Corporation. All other trademarks are the property of their respective owners.
Teridian Semiconductor Corporation makes no warranty for the use of its products, other than ex pressly contained in the Company’s warranty det ai l ed i n the Teridian Semiconductor Corporation standard Terms and Conditions. The company assumes no resp onsibility for any errors which may appear in thi s document, reserves the right to change device s or specifications detailed herein at any ti m e without notice and does not make any commitment to update the information contained herein. Accordingly, the reader is cautioned to verify that this document is current by comparing it to the latest version on http://www.teridian.com or by checking with your sales representative.
Teridian Semiconductor Corp., 6440 Oak Cany on, Suite 100, Irvine, CA 92618
TEL (714) 508-8800, FAX (714) 508-8877, http://www.teridian.com
2 Rev. 1.5
UG_1x22_043 V.22 bis Linux Softmodem for 73M1x22 Mi cr oDA A User Guide
Table of Contents
Introduction ............................................................................................................................... 6
1
1.1
Use of this Document ................................................................................................................... 6
Language and Terminology ......................................................................................................... 6
1.2
Registered Trademarks ............................................................................................................... 6
1.3
User Guide ................................................................................................................................. 7
2
2.1
The AT Command Format ........................................................................................................... 7
S-Registers ................................................................................................................................ 20
2.2
S-Register Overview ...................................................................................................... 20
2.2.1
Auto Answer .................................................................................................... 21
S0
Ring Count ...................................................................................................... 21
S1
Escape Code Character .................................................................................. 21
S2
Carriage Return Character .............................................................................. 21
S3
Line Feed Character ....................................................................................... 22
S4
Backspace Character ...................................................................................... 22
S5
Wait Before Blind Dial ..................................................................................... 22
S6
Wait For Carrier After Dial ............................................................................... 22
S7
Pause Time For Comma ................................................................................. 23
S8
Carrier Detect Response Time ....................................................................... 23
S9
Lost Carrier Hang Up Delay ............................................................................ 23
S10
S99 Preset Country Selection ................................................................................ 24
DTMF Ton/Toff Dialing Speed ........................................................................ 24
S11
DTMF / Twist Dial Register ............................................................................. 25
S12
DTMF-Data / Transmit Attenuation ................................................................. 26
S13
DTMF- DAC transmit level coefficient ............................................................. 26
S85
Pulse Dial Make Time ..................................................................................... 27
S32
Pulse Dial Break Time ..................................................................................... 27
S33
Pulse Dial Inter-digit Time ............................................................................... 27
S34
Pulse Map \ CID control \ Black Listing control ............................................... 27
S72
Status Register 4 ............................................................................................. 28
S92
Flash (!) / On Time .......................................................................................... 28
S86
Flash (!) / Off Time .......................................................................................... 28
S87
Accepted Answer Tone Frequencies .............................................................. 28
S120
Answer Tone Qualify Time .............................................................................. 29
S121
S29 Extended Result Code/ Cadence Stat us ................................................. 29
Configuration and Status Register 1 ............................................................... 30
S73
Dial Tone / Wait For Dial Tone Time ............................................................... 30
S66
Dial Tone / Qualify Dial Tone Time ................................................................. 30
S67
Dial Tone / Cadence A Minimum On Time ..................................................... 30
S35
Dial Tone / Cadence A Maximum On Time .................................................... 30
S36
S37 Dial Tone / Cadence A Minimum Off Time ..................................................... 31
Dial Tone / Cadence A Maximum Off Time .................................................... 31
S38
Dial Tone / Cadence B Minimum On Time ..................................................... 31
S39
Dial Tone / Cadence B Maximum On Time .................................................... 31
S40
Dial Tone / Cadence B Minimum Off Time ..................................................... 31
S41
Dial Tone / Cadence B Maximum Off Time .................................................... 31
S42
Busy Detection Cadence Cycle Count ............................................................ 32
S23
Busy Tone / Cadence A Minimum On Time .................................................... 32
S43
Busy Tone / Cadence A Maximum On Time ................................................... 32
S44
Busy Tone / Cadence A Minimum Off Time .................................................... 32
S45
Busy Tone / Cadence A Maximum Off Time ................................................... 32
S46
Busy Tone / Cadence B Minimum On Time .................................................... 32
S47
Busy Tone / Cadence B Maximum On Time ................................................... 33
S48
Busy Tone / Cadence B Minimum Off Time .................................................... 33
S49
Rev. 1.5 3
V.22 bis Linux Softmodem for 73M1x22 MicroDAA User Guide UG_1x22_043
S50 Busy Tone / Cadence B Maximum Off Time ................................................... 33
Call Progress Selection ................................................................................... 33
S20
Imprecise Filter Selection ................................................................................ 33
S88
Precise Call Progress Selection ...................................................................... 34
S19
Precise Call Progress Detect .......................................................................... 34
S63
Pre Dial Call Progress Imprecise Detect Level ............................................... 35
S75
Post Dial Call Progress Imprecise Detect Level ............................................. 35
S76
Pre Dial Call Progress Precise Detect Level ................................................... 35
S77
Post Dial Call Progress Precise Detect Lev el ................................................. 36
S78
Calling Tone Off Time ..................................................................................... 36
S15
Calling Tone On Time ..................................................................................... 36
S16
Data Modulation Selection .............................................................................. 36
S30
Data Modulation Status ................................................................................... 37
S31
Wait Before Connect ....................................................................................... 37
S119
V23 Half Duplex Enable .................................................................................. 37
S124
Protocol Selection ........................................................................................... 38
S25
FSK Originate Carrier Detect Level ................................................................ 38
S79
FSK Answer Carrier Detect Level ................................................................... 38
S80
PSK Originate Carrier Detect Level ................................................................ 38
S81
PSK Answer Carrier Detect Level ................................................................... 39
S82
QAM Originate Carrier Detect Level ............................................................... 39
S83
QAM Answer Carrier Detect Level .................................................................. 39
S84
Inactivity Timeout ............................................................................................ 39
S117
Pre Call attempt delay ..................................................................................... 40
S105
Delay between 1
S106
Delay between N
S107
Maximum successive failed attempts ............................................................. 40
S108
Delay between series ...................................................................................... 41
S109
Software Ring Detect ...................................................................................... 41
S123
Ring / Minimum Frequency Detection ............................................................. 41
S17
Ring / Maximum Frequency Detection ............................................................ 42
S18
Ring / Cadence A Minimum On Time ............................................................. 42
S51
Ring / Cadence A Maximum On Time ............................................................ 42
S52
Ring / Cadence A Minimum Off Time ............................................................. 42
S53
Ring / Cadence A Maximum Off Time ............................................................ 42
S54
Ring / Cadence B Minimum On Time ............................................................. 42
S55
Ring / Cadence B Maximum On Time ............................................................ 43
S56
Ring / Cadence B Minimum Off Time ............................................................. 43
S57
Ring / Cadence B Maximum Off Time ............................................................ 43
S58
Billing Delay Time ........................................................................................... 43
S74
S95 Caller ID configuration ..................................................................................... 43
Caller ID Ring Interrupt Delay ......................................................................... 44
S118
Parallel Pick-up Energy Detection (Default=0) ............................................... 44
S89
Line-In-Use/Parallel Pick Up Configuration Regi st er ...................................... 44
S110
Line-In-Use Settling time ................................................................................. 45
S111
Line-In-Use Energy detection Wait ................................................................. 45
S112
Line-In-Use Energy Detection Threshold ........................................................ 45
S113
Parallel-Pick-Up Energy detection Threshold ................................................. 46
S116
Parallel Pick Up Debounce Timer ................................................................... 46
S122
General Modem Status Register 1 .................................................................. 46
S14
General Modem Status Register 2 .................................................................. 47
S21
General Modem Status Register 3 .................................................................. 48
S22
Data Mode Control Register ........................................................................... 48
S26
Call Progress Transmit Register ..................................................................... 49
S27
Fast Connect Status and Calling Tone Enable Register ................................ 50
S28
Test Control Register ...................................................................................... 50
S60
Signal detect Register 1 .................................................................................. 51
S61
Signal detect Register 2 .................................................................................. 51
S62
st
and 2
th
and N+1
nd
th
attempt .................................................................. 40
attempt ............................................................ 40
4 Rev. 1.5
UG_1x22_043 V.22 bis Linux Softmodem for 73M1x22 Mi cr oDA A User Guide
S65 DTMF Detect Register .................................................................................... 52
Test Timer ....................................................................................................... 52
S68
Test Error Count .............................................................................................. 53
S69
Auto Retrain Threshold ................................................................................... 53
S70
RTS to CTS Turnaround Delay ....................................................................... 53
S90
Maximum carrier detect threshold (High Byte) ................................................ 53
S114
Maximum carrier detect threshold (Low Byte) ................................................ 53
S115
Application Notes for the TSC Softmodem ................................................................................ 54
2.3 Resetting the TSC Softmodem Call Progress Detection Built in Country Support V23 Operation Line in Use/Parallel Pick Up Detection Support DTMF Tone Detection SMS Applications SMS Applications continued SMS Applications continued
S-Register Index ...................................................................................................................... 66
3
Related Documentation .......................................................................................................... 68
4
Contact Information ................................................................................................................ 68
5 Revision History
...................................................................................... 55
................................................................................................. 55
................................................................................................. 58
................................................................................................................ 61
............................................................ 61
................................................................................................... 62
........................................................................................................... 63
.......................................................................................... 64
.......................................................................................... 65
................................................................................................................................ 69
Rev. 1.5 5
V.22 bis Linux Softmodem for 73M1x22 MicroDAA User Guide UG_1x22_043
1 Introduction
The Teridian V.22BIS Softmodem is a V.22bis, V .22, V.23, V.21, Bell 212A, 103, and 202 modem algorithm. It includes the signal processing functions as w el l as an “AT” command interpreter.
1.1 Use of this Document
It is assumed that the reader has basic familiarity with microprocessors, firmware and data communications. Prior experience with modems is not assumed but would be useful. This document presents all the features included i n the TSC V.22BIS Softmodem in terms of software.
1.2 Language and Terminology
To a large extent, telecommunications and, by extension, data communications, has developed a terminology distinct from the rest of the e l ect ronics engineering community. The lack of worldwide standards until recent years has also hampered the adoption of widely accepted terms. North A m erica, dominated by the earlier influence of Bell Telephone, has developed terminology, which differs from that now used by the ITU, the industry group respon sibl e for setting international standards. As international data exchange grows in importance, the ITU can be expected to grow in influence, even in North America. For that reason we have chosen to use t he ITU terminology in most cases. There will be some exceptions to our use of ITU terms. For exampl e, "mark" (one) and "space" (zero) are much shorter t han "binary one" and "binary zero" and these have been used where appropriate. Also, we may use Bell terminology when discussing Bell specif i cat ions. The North American terminology is so pervas ive that it is used by default in areas where the ITU has yet to venture.
1.3 Registered Trademarks
Throughout this manual, we wish to acknowledge the following: Hayes, Hayes AT, Smartcom and Smartmodem are registered trademarks of Hay es M icrocomputer Products; IBM, IBM PC, IBM AT, and PS/2 are registered trademarks of IBM; MNP i s a registered trademark of Microcom; Tri-state is a registered trademark of National Semiconductor Corporation.
6 Rev. 1.5
UG_1x22_043 V.22 bis Linux Softmodem for 73M1x22 Mi cr oDA A User Guide
Causes the modem to immediately go on-line (off-hook) in the Answer mode and attempt to handshake regardless of the value of register S0. This command gives you a method of manually answering an incoming phone call. For restrictions, see also the R command.
2 User Guide
The modem firmware supports a variation of the Hayes AT command set as its DTE interface. Originating, answering and setting up the various options are performed by sending one or m ore AT commands to the modem from the DTE. A brief desc ription of the AT command syntax and the AT commands supported follows.
2.1 The AT Command Format
Instructions sent to the modem are referred as “AT commands” because they are always prece ded by a prefix composed of the two characters “AT” t hat are used to get the “ATtention” of the modem. Provided that the correct connections have been made (refer to the data sheet), the TSC Softmodem will use those two characters to determine the transmission rate, the data length as well as the parity used by the DTE. Most of the AT commands have selectable parameters and related values. Every AT comm and will have the following format:
<AT><Command>{Argument}{=n}<Enter>
AT - Attention code Command - A command consists of one letter Argument - Optional information that further defines the command =n - Used when setting a register
You may "string" commands together in one command line as long as the total length of the command line does not exceed 63 bytes. The attention code, AT, is only required at the beginning of the command line. If no argument is provided with a command that takes a numerical argument, an argumen t of zero is assumed. For example, the following commands are identical:
ATH<Enter> or ATH0 <Enter>
NOTE: Information in "angle" brackets <> must be included as part of the command line, while information in "curly" braces {} may or may not be necessary as part of the command line.
NOTE: the +++ and A/ commands are neither preceded by AT nor followed by <CR>. The TSC Softmodem requires time before it is ready to accept another command after responding
with “OK”. When multiple AT commands are used back to back, the user must wait until after the ‘OK<Enter>_’ response from the modem from the previous command before the modem is ready to take another command. This wait time should be a least 10 ms. All commands except “D ”, “A”, and “O” return an “OK”.
The following description uses these convent i ons:
All allowed parameters are shown.
specifies the default value when applicable.
A Answer
Rev. 1.5 7
V.22 bis Linux Softmodem for 73M1x22 MicroDAA User Guide UG_1x22_043
execute the last command or command
A/ and +++AT are the only commands that are neither preceded by AT nor followed by
V23 Master or Slave
mode
V23 Slave or Master
mode
Turnaround phase
DCD
Active
Inactive
A/ Repeat Last Command
The A/ command causes the modem to re­sequence that was issued.
<Enter>.
B Communication Standard Selection
B0 ITU V22bis, V22 or V21 operation

B1 Bell 212A or Bell 103 operation (also V.22bis f or 2400 bps operation) B2 V23 – 75bps transmission, 1200bps reception – Master mode B3 V23 – 1200bps transmission, 75bps recept ion – Slave mode B4 Bell 202 – 1200bps reception B5 Bell 202 – 1200bps transmission B6 V23 4-Wire – 1200bps receive and transmit B7 V23 4-Wire – 1200bps receive and transmit (same as B6) B8 Bell 202 4-Wire – 1200bps receive and transmit B9 Bell 202 4-Wire – 1200bps receive and transmit (same as B8)
B10 Selects 1200 bps V.23 Half duplex mode ( V23 H). B10 and B11 are the same B11 Selects 1200 bps V.23 Half duplex mode ( V23H) . B10 and B11 ar e the same.
C Data Carrier Detect Signal (DCD) Monitoring
C1 DCD ON in presence of qualified carrier signal C2 DCD ON in presence of raw carrier signal
During V23 turnaround phases, the DCD signal is OFF if C1 or C2 options selected
C0 DCD always ON
8 Rev. 1.5
UG_1x22_043 V.22 bis Linux Softmodem for 73M1x22 Mi cr oDA A User Guide
This command puts the modem into originate mode and instructs the modem to dial the phone number expressed by the string argument n...n. The number will be dialed with either tones or pulses depending on how the last number was dialed. On power up, this
e dialing. (See the note in DT[n...n] command.) The allowable
arguments for n...n differ for pulse and tone dialing; see the descriptions under DT[n...n]
P
R
Modem uses answer mode frequencies after dialing the number. Allows dialing up an originate-only modem. Busy detect is disabl ed during reverse dial.
T
;
A “;” (semicolon) causes the modem to go back into the Command State,
line. To do this, the semicolon
must be the last character in the command line.
,
When inserted in a dialing string, a “,” (comma) causes the modem to pause. The default time for the pause is two seconds, and can be changed by
@
A @ (commercial "at" symbol) causes the modem to wait up to 30 seconds for
tect the end of a prerecorded message. The default wait time is 30 seconds, and can be changed by modifying register S7. Result Codes 7 and 8 will be reported regardless of which Result Code Set is selected.
!
An ! (exclamation mark) causes a "hook flash." This simulates hanging up for 1/2 second and then reconnecting. It i s typi call y used for transferring calls.
W
Causes the modem to wait for a dial tone for a specified length of time before
by modifying register S66. Result Code 6 will always be included regardless which Result Code Set is selected.
S
J
Replace the current active configuration with the factory standard configuration stored in memory
D Dial
n n A-D, *, # are only allowed during Tone dialing.
command will default to puls and DP[n...n].
0-9 digit
Dial String Modifiers
Pulse dial the digits that follow.
Tone dial the digits that follow.
allowing you to enter other commands while on-
modifying register S8. a 5 second period of quiet before proceeding. This is often used to de
proceeding. The default is 8 seconds, and can be changed
S-register modification. See S[r]=[n] comm and. PTT Test. See J[n] command.
E Echo Command
E0 Command echo disabled
E1 Command echo enabled
F Load Factory default Configuration
Rev. 1.5 9
V.22 bis Linux Softmodem for 73M1x22 MicroDAA User Guide UG_1x22_043
Analog Interface Test Mode: Loops back the TXAP-TXAN signal to RXA through external components to check if everything is wired correctly. Returns
Goes off-hook and wait for CAS tone. If a CAS is detected, send an ack and
detect a US CID .
ernate (preferred) method of detecting DTMF tones is available though usage of the Caller ID DTMF detection mode. Refer to DTMF tones detection chapter at the end of this document.
G Guard Tone Selection
G1 550Hz guard tone enabled G2 1800Hz guard tone enabled
G0
No guard tone
H Hook Control
H1 Off-hook (connect to phone l i ne)
H0
On-hook (hang up)
I Identification
I0 I3 Returns firmware revision number I4 Returns copyright notice
Returns TSC Softmodem information
Returns product identification code
J PTT t est
J0 J1 Transmit DTMF tones specified by registers S12 and S13 J2 Transmit Answer ton e or Calling tone specified by register S13 and S27 J3 Transmit modulati on specified by registers S14, S30 and S60 J4 Transmit silence (quiet m ode) J5 Wait (To set up the wait time use J5.[n]. [n] is in 1/10 ms) J6 Detect CAS and DTMF tones off hook(requires host polling of register S65)*
J7
J8
*An alt
Stop J test in progress
OK, or ERROR. Signal Levels are specified wit h S113, S114-S115.
10 Rev. 1.5
UG_1x22_043 V.22 bis Linux Softmodem for 73M1x22 Mi cr oDA A User Guide
is turned inactive as soon as at least 15 bytes are in the 32
status is only acknowledged by the TSC Softmodem, thus starting or stopping data
transmission to the DTE, if data are received by the DCE. Receive Data is not buffered by
DSR
N0
N1
circuit is turned ON
up process
N2
circuit is turned ON
is
K DTE-DCE Flow Control
K3 RTS/CTS flow control (hardware flow control) K4 Xon/Xoff control (software flow control)
K0
In Asynchronous mode, CTS byte transmit buffer. CTS is turned back active when less than 4 bytes are in the buffer. RTS
the TSC Softmodem.
Flow control disabled
L Fast Connect
L1 Disable 2100 Hz answer tone and billing delay L2 2 second billing delay enabled with no 2100 Hz answer tone L3 400 ms answer tone and billing delay enabled
L0
Disable Fast Connect
N Data Set Ready (
DSR always ON DSR is OFF in the idle state and when in a test mode. DSR
at start of the handshaking process. DSR is turned OFF when hang­is started.
DSR is OFF in the idle state and when in a test mode. DSR at the end of handshake after issuing the “CONNECT” result code. DSR turned OFF when hang-up process is started.
) signal Monitoring
Rev. 1.5 11
V.22 bis Linux Softmodem for 73M1x22 MicroDAA User Guide UG_1x22_043
V22bis
connection
Carrier...
result
V42
detection
Prot./connect
..
result
Data
mode
DCD
DSR
V22bis
connection
V42
detection
connect.. result
Data
mode
DCD
DSR
V22bis
connection
V42
detection
Data
mode
DCD
DSR
V22bis
connection
Carrier...
result
Prot./connect..
result
Data
mode
DCD
DSR
V22bis
connection
Data
mode
DCD
DSR
If you have returned to Command state from Data state without breaking a connection, the O0 command will return you on-line (Data stat e)
Similar to O0, but also causes the modem to initiate an equalizer retrain sequence
The following shows the actions of DCD and DSR as viewed at the RS232 connect or (inverted from pins) during the connection process under different conditions.
1) Mode V22bis, Protocol enable d (through S25), Extended result co des.
2) Mode V22bis, Protocol enable d (through S25), Normal result codes.
3) Mode V22bis, Protocol enable d (through S25), No result codes.
4) Mode V22bis, No Protocol, Extended result codes.
5) Mode V22bis, No Protocol, No result codes.
O On-Line
O1 O2 Enables the modem to respond to a remote request for retrain
O3 Disables the modem to respond to a remote request for retrain O4 Enables speed negotiation O5 Disables speed negotiation
12 Rev. 1.5
O0
O[1-7] Retrain
UG_1x22_043 V.22 bis Linux Softmodem for 73M1x22 Mi cr oDA A User Guide
The O[n] command is used to go back on-line when the command state was entered by
Note: If commands O0 or O1 are given to the modem while not connected, it will respond with ERROR.
Causes the modem to pulse dial.
conjunction with the dial command, or alone, to designate
the method used for subsequent dialing.
DTR
Modem goes on-hook (hangs up), disables the Auto Answer mode, and
transitions from ON to OFF.
Turning
back ON will enable auto-Answer mode.
Enable V.23 Turnaround in Master Mode (On to Off
transition starts the
turnaround). Turnaround is done via
in all other R command settings.
The R[n] command selects how the Data Terminal Ready (
) signal is used by the
modem.
O6 Enables rate change to 1200 bps O7 Enables rate change to 2400 bps
issuing the +++ escape sequence or turning DTR from ON to OFF with the appropriated S­Register setting in effect. The O[n] command applies only to asynchronous operation.
P Pulse Dial
The P modifier can be issued in
Q Result Codes Control
Q1 Result codes disabled
Refer also to the V[n] and X[n] commands.
Q0
Result codes enabled
R Data Terminal Ready (
R1 Modem assumes the Command State when DTR transitions from ON to OFF
R2
R3 Modem is reset when DTR transitions from ON to OFF R4 R5 Power Down with DTR toggle (need hard reset)
R0 Modem ignores DTR
assumes the Command State when DTR
DTR
) Action
DTR
RTS
Rev. 1.5 13
DTR
V.22 bis Linux Softmodem for 73M1x22 MicroDAA User Guide UG_1x22_043
S[r]?
The S[r]? command requests the modem to report the current value
These registers are used to set up various operating parameters of the modem as explained in Chapter 5. The value reported is in decimal notation.
S[r]$
The S[r]$ command requests the modem to report the current value of register [r]. The value reported is in hexadecimal notation.
S[r]???
The S[r]???… command requests the modem to report the current value of [r] and successive registers. The values are reported in decimal notation. The number of registers reported corresponds to
? (question marks) given to the modem. For an example: S10??? will report the values stored in the registers S10, S11, S12.
S[r]$$$
The S[r]$$$… command requests the modem to report the current
rted in hexadecimal notation. The number of registers reported corresponds to the number of $ (dollar signs) given to the modem. For an example: S10$$$ will report the values sto red in the registers S10, S11, S12.
S[r]=[n]
S[r]=[n] Set S-Register Value r = 0 to 104 n = 0 to 255 The S[r]=[n] command allows you to set (modify) the value of any of register [r] to new value [n]. The value [n] is entered in decimal notation.
S[r]=n.$n.n.$n…
The S[r]=n.$n.n.$n… command allows you to set (modify) the value of any of [r] and successive registers to the new values n (decimal notation) or $n (hexadecimal notation). For an example: S10=$F0.128.$EC.25 will set register S10=F0 (hexadecimal), S11=128 (decimal), S12=EC (hexadecimal), and S13=15 (decimal).
l hexadecimal values must be entered in as a two digit hex value. For
example enter $0A instead of $A.
S[r]+[n]
The S[r]+[n] command sets bits in [r] S register by ORing the [n] value and the value currently in the S Register.
S[r]-[n]
The S[r]+[n] command clears bits in [r] S register by ANDing the [not n] value and the value currently in the S Register. All bits set in the mask [n] will be cleared in the S register.
Causes the modem to tone dial.
conjunction with the dial command, or alone, to designate
the method used for subsequent dialing.
S S Register Monitoring
of register [r].
the number of
value of [r] and successive registers. The values are repo
T Tone Dial
The T modifier can be issued in
Al
14 Rev. 1.5
V.22BIS Linux Softmodem for 73M1x22 MicroDAA User Guide UG_1x22_043
Y0
Asynchronous mode. No speed buffering, no prot ocol.
Y1
Synchronous mode. No speed buffering, no protocol.
Y4
Quasi-Synchronous mode. Allows the transmis sion and reception of
Y6
Asynchronous with speed buffering. Allows fix ed DTE-DCE speed so connection results.
V Verbose/Numeric Result Codes Selection
V0 Numeric result codes – Format <CR>digit(s)<CR>
V2 Numeric result codes - Format <CR><LF>digit( s)<CR><LF>
Refer also to the Q[n] and X[n] commands
V1 Verbose result codes – Format <CR><LF>word< CR><LF>
Y Asynchronous/Synchronous Mode Selection
synchronous data through an asynchronous DTE by stripping off start and stop bits on transmission and adding them on reception (See V42 operation).
applications do not need to change the communications rate based on
15 Rev. 1.4
V.22 bis Linux Softmodem for 73M1x22 MicroDAA User Guide UG_1x22_043
W0
Do not return extended result codes (40-80). The message CONNECT followed by the data rate between the DTE and the modem wi ll be sent to the DTE
W1
The CONNECT message will report the DTE speed then enable the carrier and extended result codes
W2
The CONNECT message will report the DCE speed. All extended result codes are disabled
W Extended Result Codes Selection
0 OK 13 CONNECT 7200 1 CONNECT 14 LINE-IN-USE 2 RING 22 CONNECT 75/1200 3 NO CARRIER 23 CONNECT 1200/75 4 ERROR 5 CONNECT 1200 40 CARRIER 300 6 NO DIALTONE 41 CARRIER 600 7 BUSY 44 CARRIER 1200/75 8 NO ANSWER 45 CARRIER 75/1200 9 CONNECT 600 46 CARRIER 1200 10 CONNECT 2400 47 CARRIER 2400 11 CONNECT 4800 70 PROTOCOL:NONE
Result codes
Numeric
value
Verbose
value
Numeric
value
Verbose
value
Extended Results Codes:
12 CONNECT 9600 77 PROTOCOL:LAP-M
16 Rev. 1.5
UG_1x22_043 V.22 bis Linux Softmodem for 73M1x22 MicroDAA User Guide
14
+ ext.
0, 2, 4, 6, 14
0, 2, 4, 6, 14 +
0, 2, 4, 6, 14
0 – 1, 3 – 5,
0–1, 3–5,
+ ext.
0–1, 3–5,
0, 2 – 4, 14
0, 2 – 4, 14
0, 2 – 4, 14
0 – 1, 3 – 5, 7,
0–1, 3–5, 7,
+ ext.
0–1, 3–5, 7, 9-
0, 2, 4, 6, 14
0, 2, 4, 6, 14 +
0, 2, 4, 6, 14
0 – 1, 3 – 5, 7,
0–1, 3–5, 7,
+ ext.
0–1, 3–5, 7,
0, 2 – 4, 7, 14
0, 2 – 4, 7, 14
0, 2 – 4, 7, 14
0 – 1, 3 – 5,
0–1, 3–5, 9–
+ ext.
0–1, 3–5,
0, 2, 4, 6 - 7,
0, 2, 4, 6 - 7,
0, 2, 4, 6 - 7,
0 – 1, 3 – 5,
0–1, 3–5, 9–
0–1, 3–5,
0, 2 – 4, 7, 14
0, 2 – 4, 7, 14
0, 2 – 4, 7, 14
0 – 1, 3 – 5, 7,
0–1, 3–5, 7,
0–1, 3–5, 7, 9-
0, 2, 4, 6 - 7,
0, 2, 4, 6 - 7,
0, 2, 4, 6 - 7,
0 – 1, 3 – 5, 7,
0–1, 3–5, 7,
0–1, 3–5, 7, 9-
X Result Codes Set and Dialing Capabilities Selection
X0 Enable Result Codes 0-4, 14 X1 Enable Result Codes 0-5, 10-14 X2 Enable Result Codes 0-6, 10-14 X3 Enable Result Codes 0-5, 7, 10-14
X4 Enable Result Codes 0-7, 10-14 X5 Enable Result Codes 0-5, 10-14 and detect BUSY at OF F HOOK X6 Enable Result Codes 0-6, 10-14 and detect BUSY at OF F HOOK X7 Enable Result Codes 0-5, 7, 10-14 and detect BUSY at OF F HOOK X8 Enable Result Codes 0-7, 10-14 and detect BUSY at OFF HOOK
See Result Codes table under W command.
X0
X1
X2
X3
X4
W0 W1 W2 W0 W1 W2
0, 2 – 4, 14 0, 2 – 4, 14 0, 2 – 4, 14 0 – 1, 3 – 4, 0, 2 – 4, 14 0, 2 – 4, 14
Pre Dial Post Dial
0–1, 3–4, 14 0–1, 3–4, 14
+ ext.
ext.
+ ext.
ext.
0, 2 – 4, 14 0 – 1, 3 – 5,
9 – 14, 22, 23
9 - 14, 22, 23
9 - 14, 22, 23
9 - 14, 22, 23
0–1, 3–5,
9–14, 22, 23
9–14, 22, 23
9–14, 22, 23
9–14, 22, 23
0–1, 3–5,
9-14, 22, 23
9-14, 22, 23
4, 22, 23
9–14, 22, 23
X5
X6
X7
X8
14
14
+ ext.
14 + ext.
+ ext.
14 + ext.
14
14
9 - 14, 22, 23
9 - 14, 22, 23
9 - 14, 22, 23
9 - 14, 22, 23
14, 22, 23
14, 22, 23
+ ext.
9–14, 22, 23
+ ext.
9–14, 22, 23
+ ext.
9-14, 22, 23
9-14, 22, 23
14, 22, 23
14, 22, 23
Rev. 1.5 17
V.22 bis Linux Softmodem for 73M1x22 MicroDAA User Guide UG_1x22_043
Y0
Asynchronous mode. No speed buffering, no prot ocol.
Y1
Synchronous mode. No speed buffering, no protocol.
Y4
Quasi-Synchronous mode. Allows the transmis sion and reception of bits on transmission and adding them on reception (See V42 operation).
connection results.
The Z command resets the modem. The Z command is equivalent to a power cycle. Additional commands are not allowed in the command string.
The @C[r]=[n] command allows you to set (modify) the
or hexadecimal($ prefix) notation.
The @C[r]=n.$n.n.$n… command allows y ou to set
$0A instead of $A.
Register.
the Register.
the register.
Y Asynchronous/Synchronous Mode Selection
Y6 Asynchronous with speed buffering. Allows fix ed DTE-DCE speed so
synchronous data through an asynchronous DTE by stripping off start and stop
applications do not need to change the communications rate based on
Z Reset
@C Configure Registers
The @C command modifies the MicroDAA register value.
@C[r]=[n], Set Register Value r = 0 to 31($1F), n = 0 to 255($FF)
value of any of MicroDAAregister [r] to new value [n]. The value [n] and [r] can be either in decimal(n o prefix)
@C[r]=n.$n.n.$n… command allows you to set (modify) the value of any of [r] and successive registers to the new values n (decimal) or $n (hexadecimal).
@C[r]+[n] command sets bits in [r] register by ORing the [n] value and the value currently in the
@C[r]-[n] command clears bits in [r] register by ANDing the [not n] value and the value currently in
@D Dump Registers
The @D command dumps entire MicroDAAregisters.
(modify) the value of any of [r] and successive registers to the new values n (decimal) or $n (hexadecimal). For an example: @C$10=$0F.128.$EC.25 will set Register $10=$F0, Register $11=128 (decimal), Register $12=$EC and S13=15 (decimal).
must be entered in as a two digit hex value. For example enter
The @C[r]+[n] command sets bits in [r] regi st er by ORing the [n] value and the value currentl y in the Register.
The @C[r]-[n] command clears bits in [r] register by ANDing the [not n] value and the value currentl y in the Register. All bits set in the mask [n] will be cleared in
All hexadecimal values
18 Rev. 1.5
UG_1x22_043 V.22 bis Linux Softmodem for 73M1x22 MicroDAA User Guide
Terminates the softmodem application gracefully and goes to Linux prompt. root directory.
During a data connection, the escape command (+++) returns you to Command state
terminating the data connection so you can enter AT commands. The TSC Softmodem supports the TIES (Timing Independent Escape Sequence) escape, not the patented Hayes escape. The +++ must be followed by a valid AT command for the escape
AT command follows the +++, the modem will return to the data
line
command state.
@L[n] Set Lease Line Operation
Lease line operation is des ignated by S89 bit 2
n = 1 Sets lease line bit n = 0 Clears lease line bit
@Z Escape to OS
To return to Softmodem application from t he li nux prompt, type “tsc_1922_CRLF” from the
+++ Escape Sequence
without
to be recognized. If a non­mode. Giving the TSC Softmodem a “+++AT” is also valid for escaping to the on-
Rev. 1.5 19
V.22 bis Linux Softmodem for 73M1x22 MicroDAA User Guide UG_1x22_043
2.2 S-Registers
2.2.1 S-Register Overview
The S register set found in the TSC Softmodem is modeled after the Hayes S-registers, but differ in m any respects. The Hayes register set has evolv ed over time to support added features, and the TSC Softmodem has many features not found in ot her m odems. As is true for the AT commands, the Hayes format is loosely followed, but it should not be assumed that software driver configurations written for another modem will work without some modificati ons. Closely examine the register set and assure the commands sent to the TSC Softmodem will giv e the intended actions.
The S-Registers allow you to customize the modem's operation. For example, you can use S-Registers to determine how many times the telephone will ring before the modem answers, how long the modem will wait for a dial tone before aborting a dialing sequ ence, how long the modem will pause during a "pause" command, and so on. S-Registers are chang ed with the S[r]=[n] command.
You can check your S-Register settings any time you are in Command State. To check an S-Register setting, enter a command consisting of the S-Register you want to check followed by a question mark. For example, to check how long the modem will wait for a di al tone before aborting a call, type in the following command:
AT S6? <Enter> The screen will display the current settin g of S-Register S6. To change an S-Register setting, enter a command consisting of the S-Register, an equal (=) sign, and
the desired value (in decimal). For example, t o set the modem to answer after three rings, type the following command:
AT S0=3 <Enter> Note: For more details on the commands to check or modify S-Registers see the S command under the
paragraph “AT” command set.
List Of S-Registers The S-Registers you can change with the S[r] =[ n] command, or whose value you can check with the S[r]? command, are listed below:
20 Rev. 1.5
UG_1x22_043 V.22 bis Linux Softmodem for 73M1x22 MicroDAA User Guide
This register specifies the ring on which the modem will answer. A value of 1 to 255 will
answer mode and cause it to answer on that many rings
detected.
When the modem is set for Auto-Answer, register S1 keeps track of the number of times
on time, the S1 register is reset to 0 after the sum of
S56 and S58 seconds has elapsed.
2.2.1.1 TR30.2-Style Contr ol and Status Registers
S0 Auto Answer
n 0 –255
1-255 Auto answer mode on selected number of rings
0 Auto answer disabled
place the modem in auto-
S1 Ring Count
n 0 –255
0 No valid rings detected
the phone rings. After the end of ring-
S2 Escape Code Character
n 0 – 127 (ASCII)
>127 Escape feature disabled
43 ASCII “+”
S3 Carriage Return Character
n 0 – 127 (ASCII)
This character terminates both the command line and the result codes.
Rev. 1.5 21
13 <CR>
Loading...
+ 47 hidden pages