Telecommunications - Asynchronous (stop/start) data transmission

This is an extension to telegraph methods used by computer terminals from the model 33 teletype to VDUs/VDTs (Video Display Units/Terminals). When serial data is transmitted, timing information must be sent to allow the information to be correctly decoded at the distant end.

Bit synchronisation information is required to allow the receiver to sample each bit at the correct time. Character synchronisation allows the receiver to divide the datastream into characters, ie to know where each character starts and stops.

In asynchronous operation both bit and character synchronisation are provided by the start and stop bits, when nothing is being transmitted a continious mark (logic 1) is being sent to line, when a character is sent the start bit causes a 1 -> 0 transition, 1.5 bit lengths after that will be the middle of the first bit, each bit is then sampled in turn until the stop bit which is always 1 to ensure a 1 -> 0 transition at the start of the next character.

Therefore no additional timing signals need to be provided by the modem but the terminal must know what speed is being transmitted to sample at the correct rate.

  Users have to sort out, baud rates, parity, number of stop bits/ data bits and any handshaking.
this is how a CR is sent to line

 
 
 ---+ +---+ +-------+ +--------------1=mark  
 | | | | | | | | | | |  
 +---+ +---+ +-----------+ 0=space  

s 1 2 3 4 5 6 7 p s

t a t

a l m r o

r s s i p

t d d t

y

Stop/start is used when connecting to the Public Network pad.

line rate 110 b/s line rate > 110 b/s

number of stop bits PAD min 2 min 1

DTE-C min 1 min 1

coding of parity bit optional in all transmissions from the DTE-C, however in all user data transmitted or received by the DTE-C the coding of all 8 bits (7 character bits plus parity bit) will be passed transparently between the DTE-C and DTE-P. All characters generated by the PAD (eg PAD service signals) will be transmitted with even parity.

11 - Parity Slide


Practical PH2 - To connect two terminals across an asynchronous link

Procedure

1 - Connect up the equipment as follows -

+---+ +---------+ +-----------+ +---+

+--+ +---| send1+--|3rcv +---| +---+

+------+ |dte 2+--|4 dte| +-------+

terminal | rcv3+--|1send | terminal

| 4+--|2 |

+---------+ +-----------+

ASYNC ASYNC

MODEM MODEM

  1. Connect and switch on mains power to all equipment
  2. Try typing something on one terminal:
    1. is it sent to the other terminal?
    2. try typing carriage return?
    3. when is the message sent?
  3. TEE in a protocol tester to the V24 at either end of the link, set the protocol tester for ASYNC and HEX decoding.
  4. Type somthing on the terminal and check that it is being decoded correctly on the tester.

Objectives

Synchronous Serial Ports

see this page

Communicating with the Serial port using Java

see this page

 


metadata block
see also:

 

Correspondence about this page

Book Shop - Further reading.

Where I can, I have put links to Amazon for books that are relevant to the subject, click on the appropriate country flag to get more details of the book or to buy it from them.

cover OSI Reference Model for Telecommunications (McGraw-Hill Telecom Professional S.)

Commercial Software Shop

Where I can, I have put links to Amazon for commercial software, not directly related to the software project, but related to the subject being discussed, click on the appropriate country flag to get more details of the software or to buy it from them.

 

cover Cinema 4D GO 5.0 Win - A 3D modelling tool

cover Cinema 4D ART 6.0 Win

cover The Cinema 4d R8 Handbook (Graphics Series) - Book about how to use Cinema 4D software

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2015 Martin John Baker - All rights reserved - privacy policy.