AN_2901_005 JULY The Teridian 73M2901CE single chip modem implements the V.23 standard according the ITU V.23 recommendation.

Similar documents
Chapter 11: Input/Output Organisation. Lesson 05: Asynchronous RS232C Serial Port data transfer

ZM24x Quick-Connect Industrial Modem. User s Manual

Sender Receiver Sender

ZM56 High-Speed Industrial Modem. Command Summary. 1 ZM56 High-Speed Industrial Modem

8051SERIAL PORT PROGRAMMING

Serial Interfaces Part 1. ECE 153B Sensor & Peripheral Interface Design Winter 2016

The modems are made in industrial 108mm wide aluminium housing for DIN rail mounting. UCM RS232 interface

Real-Time Embedded Systems. CpE-450 Spring 06

AT Commands - Trust 56K PCI Modem - Executing commands

=0 Read/Write IER Interrupt Enable Register =1 Read/Write - Divisor Latch High Byte + 2

Low Speed Modems for Dial and Leased Circuits 2400E (Standalone) 2400R (Rackmount)

CMM 900-3W USER GUIDE

Telenetics dial modems are based upon Rockwell chipsets. These chipsets contain Rockwell's "AT" command set.

ARC Modem Low Power Modem LP9624

RTU-COM PSTN AT. User Guide

Integrity Instruments Application Notes. Release 1

ISDN OEM1. DesignGuide V1.2

RS-422 Code-Operated Switches

EZL-200F Application Notes (003) Serial Interface (RS232/RS422/RS485)

Serial Communication. Spring, 2018 Prof. Jungkeun Park

Chapter 5 AT Commands

VISY-X. Technical Documentation. Cinterion MC 55 i. Edition: Version: 1 Article no.:

IML 560 USER GUIDE. Low Power 56Kbps Industrial modem. Version 1.2. December 6, AYANTRA Inc.

Document Name : User Manual for SC10B : RS232 to Bluetooth Converter.

UART Register Set. UART Master Controller. Tx FSM. Rx FSM XMIT FIFO RCVR. i_rx_clk o_intr. o_out1 o_txrdy_n. o_out2 o_rxdy_n i_cs0 i_cs1 i_ads_n

a16450 Features General Description Universal Asynchronous Receiver/Transmitter

Bluetooth TO Serial CONVERTER E-P132-B

MAX3232PMB1 Peripheral Module

Bluetooth to RS-232 Converter. RT-132B Bluetooth Adaptor Operation Manual

LM058 Bluetooth Serial Adapter

Serial Communication Prof. James L. Frankel Harvard University. Version of 2:30 PM 6-Oct-2015 Copyright 2015 James L. Frankel. All rights reserved.

USART. USART stands for Universal Synchronous Asynchronous Receiver Transmitter. Full-duplex NRZ asynchronous serial data transmission

UNIT-V COMMUNICATION INTERFACE

Application Note. Motorola MC to CMX865A Migration. CML Microcircuits

Bluetooth to RS-232&RS422/485. EX-9132B/BI Bluetooth Adapter Operation Manual

Basics of UART Communication

4.3 Ingenico Telium OS modem specific commands

Setting the DCM Switches

ISDN - SOC. DesignGuide. Rev 2.2

USER MANUAL. G.shdsl+ modem with G.703 interface TAHOE 671 FREEDOM OF COMMUNICATION

Serial Interfacing. Pulse width of 1 bit

Universal Asynchronous Receiver Transmitter Communication

DATA CONNECT ENTERPRISE

Serial Interfacing. Asynchronous Frame

Wait 456±10ms. Unscrambled ONES in high band. Fig. 1. V.22 Connect Handshake. * Guard tones are country dependent

Remote Maintenance of Controllers via Serial Port

Manual Reference. Modem Commands. S35i, C35i, M35i

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: Serial Port Communication Module No: CS/ES/11 Quadrant 1 e-text

W&T Manual Interface modules W&T

Cellular modem and Transceiver

Learn how to communicate

Citect for Windows Driver Specification Extract

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso

LM048 Bluetooth v2.0, v2.1 RS232 Serial Adapter Standalone (With Embedded Bluetooth v2.0 / v2.1 Stack)

Max. Shock Acc. :147 m/s{15g} Time: 11ms Pulse Wave: Half Since Wave Pulse (3 times in X,Y,Z) IEC IEC Fast Transient Power Module

The Wireless Connectivity Expert

TRAINING GUIDE LEVEL 3 MODBUS WRITE IMPORT COMMAND

LM058 Bluetooth v2.0, v2.1 RS232 Serial Adapter - SMA Connector Standalone (With Embedded Bluetooth v2.0 / v2.1 Stack)

Manual Fiber Optic Interfaces

RS-232 to Logic Level Adapter with DB9M Connector and Power LED

Application Note #146:

PCL Port RS-232 Interface Card

User Manual for VE GSM Modem

Section 1 Introduction

IC-485S /IC-485SI. If anything is damaged or missing, contact your dealer.

User Guide. Date Apr BlueEva+C11/G2. Stollmann. E + V GmbH. User Guide

Frontline Test System

RM024 DVK USER GUIDE VERSION 1.2

Host. 73M2901C/CL/CE V.22bis Single Chip Modem. V.42-LAPM Operation. - Sync to Async conversion - V.42 Detection DCE APPLICATION NOTE.

Communication Protocol Manual JOFRA CTC, ITC, MTC, ETC and Compact Copyright 2008 AMETEK Denmark A/S

GNS-MC35iT, GNS-MC35iU Terminals datasheet

NCOM SERIAL DEVICE SERVER 4XX SERIES USER S MANUAL

Cable Specifications. Interface Specifications. Fiber-Optic Specifications APPENDIXB

Features. Applications

Amarjeet Singh. January 30, 2012

FP-1000PW. Thermal Printer User s Manual. Fujitsu Isotec Limited. KA02066-Y Standard Model Built-in Power Supply Model FP-1000

Canal+ Compatibility

kcserial User Guide version 2006.FEB.20

Serial Communications

Modbus RTU Serial / Modicon Serial Device Driver Guide

Programming and Using the Motorola V.3400 Modem for Remote Operation of the DDF6000

Serial Communication. Simplex Half-Duplex Duplex

Data Communications & Computer Networks. Digital Data Communications Techniques

Configuring Dial-on-Demand Routing

USER S MANUAL. PH232Ex1. #1 RS-232 Serial Port to Ethernet, Terminal Server/Client. Doc No: PH232Ex1-UM-001 IPEX. (IP Electronix)

Manual Industry Interfaces

Bluetooth RS232 Serial Adapter

APPLICATION NOTE. N2 Dial Application. Using N2 Dial...3. Introduction...3. Key Concepts...4

MCS-51 Serial Port A T 8 9 C 5 2 1

Module Introduction. PURPOSE: The intent of this module, is to explain several of the important features of Freescale s i.mx1 applications processor.

Preliminary. PACKAGE - 28-pin MLP (5mm X 5mm) Example Circuit Diagram CP V. 48MHz Oscillator. USB Function Controller 512B EEPROM

E1 and T1 RJ-48 Cable Pinouts on page 208. Fast Ethernet 12-port Cable Pinouts on page 211

RS-232 DATA COMMUNICATIONS WITH THE TANDY COLOR COMPUTER

Document Name: User Manual for SC10MK, Modbus RTU to Modbus TCP Converter

Modicon Modbus ASCII Serial. Modbus ASCII Serial / Modicon Serial Device Driver Guide. Version 4.5 rev 0 Advantech Corp., Ltd.

Automationdirect.com. D i r e c t L o g i c M O D B U S S L A V E F 4 S L V - M B

PCL-741 Isolated Dual Port RS-232/Current-Loop Interface Card

LM068 Bluetooth v4.1 Dual Mode RS232 Serial Adapter Standalone (With Embedded Bluetooth v4.1 Stack)

#!!#!$! # #!!$!% #$!&#&! ##!$ #!!! $! # &! $!!!&%' #!#### # $(! !$ %!$'&!!(!%(!$##! #! %!$&! $!!#)!!'!!&#!!!$!!!!!!$!$!!! (!#!!! $# '!! #!

PCMCIA Fax Modem 56K. User Manual

Transcription:

73M2901CE V.22 bis Single Chip Modem A Maxim Integrated Products Brand APPLICATION NOTE AN_2901_005 JULY 2005 1 ITU V.23 Recommendation The Teridian 73M2901CE single chip modem implements the V.23 standard according the ITU V.23 recommendation. V.23 is a Frequency Shift Keying modulation allowing a full duplex transmission at an asymmetrical baud rate: - 1200bps for the high band using 2100Hz and 1300Hz frequencies referred as Main Channel - 75bps for the low band using 390Hz and 450Hz frequencies referred as Back Channel 1.1 Data Format The data transmission on the line is made in an asynchronous serial mode and is assumed to be 7-bit ASCII data. Each character is composed of: - 1 start bit - 1 stop bit - 7 data bits (LSB first) - 1 even parity bit Using these 10 bit characters, this translates to a speed of 120 characters per second at 1200bps and a speed of 7.5 characters per second at 75bps. 2 V.23 PAVI Operation In addition to the standard V.23 recommendation, the 73M2901CE also adds a special feature referred to as V.23 PAVI operation. V.23 PAVI operation also includes a Teletel option that is characterized by the transmission of some special characters during the communication. The PAVI feature implements a mechanism to allow the swapping of the two transmission channels during communication. Transmission speed may then be changed dynamically during a connection: the transmitter at 75bps may become the transmitter at 1200bps and vica versa. The process of switching from transmission at 75bps to 1200bps is referred as Back to Main Channel Turnaround. The process of switching from transmission at 1200bps to 75bps is referred as Main to Back Channel Turnaround. The mechanism to perform these operations are based on and described in the following French document: Edited by: Spécifications Techniques d Utilisation du Minitel 1B - Edition of v 1986 - Ministère des Postes et des Télécommunications Direction Générale des Télécommunications Direction des Affaires Commerciales et Télématiques Although the firmware of the 73M2901CE is based on this document, it does not precisely implement all the modes described. Following section states the status of the current firmware and all available features. 1

3 73M2901CE V.23 Operations Mode of operations The 73M2901CE allows the user to set up 6 different modes of operation as follows: V.23 standard (originate at 75bps, answer at 1200bps). V.23 opposite (originate at 1200bps, answer at 75bps). V.23 standard + turnaround enabled. V.23 opposite + turnaround enabled. V.23 standard + turnaround enabled + Teletel enabled. V.23 opposite + turnaround enabled + Teletel enabled. The turnaround option enables the turnaround mode while the Teletel option enables the transmission of the special characters (see Special Teletel Characters). 3.1 73M2901CE Configuration The V.23 operation of the 73M2901CE is controlled by four S registers and 2 AT commands: AT Commands : ATB2 selects V.23 operation in master mode (Tx 75bps/Rx 1200bps) ATB3 selects V.23 operation in slave mode (Tx 1200bps/Rx75bps) ATR4 selects turnaround triggered with the DTR signals. All others R modes use RTS signal (the default is no check of DTR ATR0). S Registers settings : S30=128 specifies the V23 mode of operation. S21+4 enables turnaround triggered by DTR (default is disabled) set by ATR4. S26 controls the transmit channel used (master/slave) and the turnaround option ATS26+64 enables the turnaround capability (default is disabled). ATS26+128 enables the master operation (default is slave) set by ATB2. S73-1 disables the Teletel SEP characters (default) S73+1 enables the Teletel SEP characters. Examples of commands for the 73M2901CE: V23 originate, turnaround controlled by DTR, SEP code enabled: ATB2R4S26+64S73+1 V.23 originate, turnaround enabled controlled by RTS, no SEP code: ATB2S26+64 The Main to Back Channel Turnaround is automatic whereas the Back to Main Channel turnaround may be initiated by the host. This turnaround may be initiated by two means; either a pulse on DTR (transition from ON to OFF) while configured in ATR4 or a pulse on RTS while configured in ATR0-3 (transition of OFF to ON for the RTS). 2

Tpulse DTR or RTS T min T typical T max Units Tpulse 50 150 ms Off On 3.2 73M2901CE Turnaround Set Up The turnaround may be initiated either by the remote modem or by the host. 3.2.1 Turnaround Initiated by the Remote Modem The local 73M2901CE is transmitting at 75bps t applicable The local 73M2901CE is transmitting at 1200bps The remote modem starts the process by switching its modem speed. It looks then for a 75bps carrier coming from the 73M2901CE. This process is automatic. As soon as a 75Bps carrier loss is detected by the 73M2901CE, a Main to Back Channel Turnaround is attempted. 3.2.2 Turnaround Initiated by the Host The 73M2901CE is transmitting at 75bps The host toggles its RTS or DTR signal according the mode the 73M2901CE is configured. The modem starts the turnaround process and acknowledges the command by sending SEP, 5/8 to the host. At the end of a successful process, the modem sends Sep, 5/1 to the host and to the network. In case of failure, it sends SEP, 5/9, SEP, 5/3 to the host. The 73M2901CE is transmitting at 1200bps t applicable 4 73M2901CE V.23 Operation 4.1 Connection 4.1.1 Standard Connection as Originate Transmitting in the Low Speed Channel On a connection request, the modem goes off hook, proceeds with the call progress detection and dialing. The modem looks then for 300ms of 2100Hz and 60ms of 1300Hz to switch to the connected state. In addition, if it is programmed to do so, the modem also looks also for the special network tones it may encounter (busy ). If the Teletel option is enabled when the handshake starts, the modem sends SEP, 5/9 to the host. If this has not happened within the wait for carrier timeout, the modem hangs up. Upon completion of the carrier detection, the modem sends a continuous 390Hz and proceeds in the connected state. As soon as it is in the connected state, the modem sends SEP, 5/3 to the DTE on the RXD line and to the remote modem after 80ms if the Teletel option is enabled. 4.1.2 Standard Connection as Answer Modem Transmitting in the High Speed Channel On an incoming call or ATA command, the modem goes off hook and sends 3.3s of 2100Hz. The modem sends a continuous 1300Hz and looks then for 60ms of 390Hz to switch in the connected state. If this has not happened 3

within the wait for carrier timeout, the modem hangs up. Upon completion of the carrier detection, the modem sends a continuous 1300Hz and proceeds in the connected state. 4.1.3 Opposite Connection as Originate Transmission in the High Speed Channel When the calling modem must transmit data at 1200bps and receive at 75bps after the connection, it must be configured before the connection in the opposite mode. To connect, the modem goes off hook, proceeds with the call progress detection and dialing as in the normal mode. The modem then looks for 300ms of 2100Hz and 60ms of 390Hz before entering into the connected state. In addition, if it is programmed to do so, the modem looks for the special network tones it may encounter (busy ). If the Teletel option is enabled when the handshake starts, the modem sends SEP, 5/9 to the host. If this has not happened within the wait for carrier timeout, the modem hangs up. Upon completion of the carrier detection, the modem sends a continuous 1300Hz and proceeds in the connected state. As soon as it is in the connected state, the modem sends SEP, 5/3 to the DTE on the RXD line and to the remote modem after 80ms if the Teletel option is enabled. 4.1.4 Opposite Connection as Answer- Transmission in the Low Speed Channel On an incoming ring detection or ATA command processing, the modem goes off hook and sends 3.3s of 2100Hz. The modem sends a continuous 390Hz and looks then for 60ms of 1300Hz to switch in the connected state. If this has not happened within the wait for carrier timeout, the modem hangs up. Upon completion of carrier detection, the modem sends a continuous 390Hz and proceeds in the connected state. 4.2 Disconnection The disconnect causes may be: - Host command of disconnection +++ and ATH0 - Loss of carrier. 4.3 Turnaround During a V23 connection to provide the 1200 bps transmission channel to the modem that has the greater amount of data to transmit, it is possible to swap the transmission channels of each modem upon request. This mechanism is called either Main to back channel turnaround or Back to Main channel turnaround according the transmission channel of the modem at the time of the turnaround request. 4.3.1 Turnaround Description All the following description assumes that the Turnaround option is enabled. In addition whenever it is stated that some characters have to be sent either to the host or to the remote modem, it is assumed that the Teletel option is enabled. If the Teletel option is disabled, the character transmissions are simply bypassed. 4.3.2 Basic Principles The mechanism is based on the fact that only the 75bps transmitter, the master, is allowed to initiate the turnaround process by changing the speed of its modem. This reversal of the 1200 bps-transmission direction causes for the remote end, called the slave, to lose of the 75bps carrier signaling it to change the speed of its modem. Every loss of 75bps carrier of at least 20ms is therefore considered as a turnaround command. After initialization of the process, the master tries to detect a 75bps carrier within 440ms±10ms (This time may be longer due to variations in the time needed for the TERIDIAN modem to detect the loss of carrier). If this fails, the modem hangs up. The slave modem, after detecting the loss of 75bps carrier, switches to the high speed receive mode and tries to detect a 1200bps carrier. If this fails, it assumes the loss of carrier was not a request to turn around and it goes back to its initial speed. Before any turnaround process, the requesting modem must be sure that there is no more information exchange. 4

4.3.3 Modem in Slave Mode (Opposite Mode/Main Channel Transmission) As soon as the 75bps carrier loss is detected, the modem initiates a disconnection within a time window of 440ms±10ms. If this loss of carrier is greater than 20ms then the modem is configured to transmit in Back channel with the 75bps carrier. The host is warned by reception of the sequence SEP, 5/8. Then in a 220ms±10ms window, the modem looks for a 1200bps carrier present for 40ms. Upon detection of the 1200bps carrier and after a 90ms delay, the turnaround is successful, and the modem sends SEP, 5/1 to the host and to the network. The turnaround is then finished. If at the end of the 220ms window time, no 1200bps carrier has been validated; the modem switches its channels again and sends its 1200bps carrier. It warns the host by sending SEP, 5/8. It then tries to validate 40ms of 75bps carrier. If this validation occurs, the carrier loss was due to noise on the line and the transmission may proceed as before the interruption. If the validation does not occur within the 440ms window time, the modem hangs up and sends SEP, 5/9 and SEP, 5/3 to the host. Therefore, there are three possible outcomes when the modem is in slave mode: 1) The turnaround is processed correctly; the host receives SEP, 5/8 and SEP, 5/1; the network receives SEP, 5/1. 2) The 75bps carrier loss is due to noise on the line and within 20ms to 450ms; the host receives SEP, 5/8 followed by SEP, 5/8. The network does not receive anything. 3) The 75bps carrier loss is greater than 450ms; the host receives SEP, 5/8, SEP, 5/8 and SEP, 5/9, SEP,5/3; the modem hangs up. 4.3.4 Modem in Master Mode (Standard Mode/Back Channel) Upon reception of the special command (RTS or DTR signals toggle) from the host, the modem starts the turnaround process; it switches its channels, sends its 1200bps carrier, sends SEP, 5/8 to the host, and tries to validate 40ms of 75bps carrier within a 440ms±10ms window. Upon validation of the 40ms of 75bps carrier, the modem sends SEP, 5/1 to the host and to the network. If at the end of the 440ms window, no 75bps carrier has been validated, the modem sends SEP, 5/9, SEP,5/1 to the host and hangs up. Therefore, there are two possible outcomes when the modem is in master mode: 1) The turnaround is processed correctly; the host receives SEP, 5/8 and SEP, 5/1; and the network receives SEP, 5/1. 2) The turnaround fails; the host receives SEP, 5/8 followed by SEP, 5/9, SEP, 5/3. 5

4.4 Turnaround Flowcharts 4.4.1 Master to Slave Back to Main Channel V23 back Tx75 Rx1200 Turnaround request RTS or DTR toggle Turn off Tx75 Turn off DCD Turn off DSR Start 440ms window Swap chip to main Turn on Tx1200 with marks Send SEP5/8 to host processor Validation of 40ms of 75bps carrier? Stop 440ms time window Send SEP5/1 to host processor Send SEP5/1 on line Send CONNECT 1200/75 to host Turn on DCD Turn on DSR 440ms window finished? Send SEP5/9 SEP5/3 to host Send NO CARRIER to host Stop connection Go on hook Off line command mode V23 main Tx1200 Rx75 6

4.4.2 Slave to Master Main to Back Channel >20ms of 75bps carrier loss V23 main Tx1200 Rx75 Turn off Tx1200 Turn off DCD Turn off DSR Start 440ms window Start 220ms window Swap chip to back Turn on Tx75 with marks Send SEP5/8 to host processor Validation of 40ms of 1200bps carrier? Turn off Tx75 Send SEP5/8 to host processor Swap chip to main Turn on Tx1200 with marks 220ms window finished? Stop 220ms time window Stop 440ms time window Wait 90ms Send SEP5/1 to host processor Send SEP5/1 on line Turn on DCD Turn on DSR Send CONNECT 75/1200 to host Validation of 40ms of 75bps carrier? 440ms window finished? Send SEP5/9 SEP5/3 to host Send NO CARRIER to host Stop connection Go on hook Stop 440ms time window Turn DCD on Turn on DSR Off line command mode V23 main Tx1200 Rx75 V23 back Tx75 Rx1200 7

4.5 Teletel Characters The Teletel characters are special characters transmitted between the modem and the network (and the remote modem). Those characters are transmitted to the network in the format: 1 start, 1 stop, 7 data, 1 even parity; and to the host depending on the current data format between DTE and DCE. The different Teletel characters stand for hexadecimal values which are as following: Teletel Character Hexadecimal Value SEP 013h 5/1 051h 5/3 053h 5/8 058h 5/9 059h These codes may need to be converted into the correct format for transmission. Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time. Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737- 7600 2010 Maxim Integrated Products Maxim is a registered trademark of Maxim Integrated Products.