HARDWARE ★ HALF, FULL AND SIMPLEX (POPULAR COMPUTING WEEKLY)|Popular Computing Weekly) ★

Half, full and Simplex (Popular Computing Weekly)
★ Ce texte vous est présenté dans sa version originale ★ 
 ★ This text is presented to you in its original version ★ 
 ★ Este texto se presenta en su versión original ★ 
 ★ Dieser Text wird in seiner Originalfassung präsentiert ★ 

David Wallin explains duplex and takes a look at the RS232 interface

This week I'll be looking at the RS232 interface. But first a full explanation of duplex is required.

For full information on the use of each pin of the RS 232c. see Hotline- a persona! guide to computer communcations by Ben Knox. (Century Communications, £6.95. ISBN 0-09-160931-3). This book was an information source for this week's article.

Duplex

Transmission and reception of data may be in one of three 'duplexes' or modes, they are: Full Duplex. Half Duplex and Simplex.

Simplex-This mode of operation allows data to either be sent or received, but not both. Simplex Data Transmission means that data may be transmitted, but not received. Similarly, Simplex Data Reception means that data may be received, but not transmitted. A normal radio receiver is a received, but not transmitted. A normal radio receiver is a simlex device, you pick up sound transmitted from a studio, but you can't talk back.

Half Duplex - Half duplex allows data to be sent or received but not at the same time. When transmitting data, you cannot receive anything, and when receiving, you can't transmit. 'Walkie-Talkies' and CBs are half duplex devices. On a computer-modern link the TxD and RxD pin are required. Also the protective ground should be wired up.

Full Duplex - Full duplex allows you to receive and transmit at the same time. A telephone is a full duplex device, you can hear and talk at the same time. Most home micros will work with full duplex modems, but are not capable of doing two things at once, (ie, transmitting and receiving) and so they operate in half duplex. Micros like the Amiga which can multi-task would be able to receive and transmit at one time. Full duplex is expensive and usually requires four lines. TxD. RxD. protective ground and signal ground (pin 9).

The most common duplex is half and. unless stated otherwise, the information in this article applies to half duplex operation.

How RS 232 began

Over 20 years ago, the Electronics Industries Association of Washington DC. decided that they needed a standard for connecting any computer (be it micro, mini or mainframe) to any serial device (ie modem, printer or robot). A standard was set and this was known as 'Agreement RS232'. The most common RS standard used today, the V24 version, is agreement RS 232c which was introduced in 1969

Many home micros (including ttie BBC) have an RS 423 interface port. This is a budget version of the full 232c. As most data links (connection of micro and device) require usse of only five of the 25 pints, the RS 423 was designed as a five pin serial port Also many micros that claim to have an RS 232 or an RS 232c. in fact have a cut down version; very few use all of the 25 pins.

The RS 423

As mentioned above RS 423 has only five pins. This is because most of the other pins are not required, and those that are can be 'created' by combining the available pins. The five pins used are:

NameAbbreviationPin number
Protective ground(Gnd)1
Transmit data(TxD)2
Received data(RxD)3
Request to send(RTS)4
Clear to send(CTS)5

Some modems have the inputs and outputs (TxD and RxD) labelled differently, so check the manual for proper wiring up details. In fact, only three pins are essential as the CTS and RTS lines are hardly ever used these days. This is because their job can be done by a buffer, an area of Ram (about 128 bytes. (£K) in which data waits as if in a kind of queue.

CTS and RTS

The purpose of CTS and RTS are to prevent data collisions. This is when data Is going in both directions, on a half duplex line and there is literally a crash as the two collide. This results in loss of and damage to data. To prevent this CTS and RTS are available.

If the computer wishes to send data, it raises or take high the RTS line (it requests permission from the modem to send some data). In plain English, it applies to voltage to It. When the modem is ready and able to send data, it raises the CTS line (telling the computer it is clear to send) The data is then sent. After it has all been sent. RTS and CTS are lowered, the voltage is dropped.

Full duplex has no need for the CTS and RTS as Txed (transmitted) data and Rxed (received) data travel along different wires.

RS 232c link

It is useful to know what all the pins on an RS 232c are for, so here's a list Pin

No.DescriptionAbbreviation
1Protective groundGnd
2Transmitted dataTxD
3Received dataRxD
4Request to sendRTS
5Clear to SendCTS
6Data set readyDSR
7Signal groundGnd
8Received line signal detector
9Reserve
10Reserve
11Unassigned
12Secondary received line signal deleclor
13Secondary clear to send2nd CTS
14Secondary transmitted data2nd TxD
15Transmitter signal element timingDCE source
16Secondary received data2nd RxD
17Receiver signal element timingDCE source
18Unassigned
19Secondary recuest la send2nd RTS
20Data terminal readDTR
21Signal quality detector
22Ring indicatorRI
23Data signal rate selector
24Transmit signal element timingDTE source
25Unassigned

Unassigned means that the pin has no use. the two unassigned pins take the number of pins up to 25. a standard connector size Reserved means that the pin is there for the manufacturers to do what they like with. They are not subject to either RS 232 or CCITTT regulations and may be used for testing, etc. They usually perform functions which only that device has.

The connectors

The two common connectors are:

  1. The standard 25 way RS 232 D' socket An elongated D' shape. The female is usually found on the computer and the male on the modem/device The pin numbers correspond to the RS 232 pm number
  2. The five pin RS 423, as found on the BBC and many other cheaper home micros. The computer usually has the female connector.

David Wallin , Popular Computing Weekly

★ AMSTRAD CPC ★ A voir aussi sur CPCrulez , les sujets suivants pourront vous intéresser...

Lien(s):
» Hardware » Modem - Modem Commstar
» Hardware » Interface Minitel - Vt Link
» Hardware » Modem - Dataphone
» Hardware » Modem - Astracom 1000
» Hardware » Modem - Skywave Multiport Interface with Modem House's Voyager 7
» Hardware » Modem - Volex TTX 2000A
Je participe au site:

» Vous avez remarqué une erreur dans ce texte ?
» Aidez-nous à améliorer cette page : en nous contactant via le forum ou par email.

CPCrulez[Content Management System] v8.7-desktop
Page créée en 041 millisecondes et consultée 1377 fois

L'Amstrad CPC est une machine 8 bits à base d'un Z80 à 4MHz. Le premier de la gamme fut le CPC 464 en 1984, équipé d'un lecteur de cassettes intégré il se plaçait en concurrent  du Commodore C64 beaucoup plus compliqué à utiliser et plus cher. Ce fut un réel succès et sorti cette même années le CPC 664 équipé d'un lecteur de disquettes trois pouces intégré. Sa vie fut de courte durée puisqu'en 1985 il fut remplacé par le CPC 6128 qui était plus compact, plus soigné et surtout qui avait 128Ko de RAM au lieu de 64Ko.