Computer/Embedded Technology


10 issues to consider before installing Ethernet - Part IV

10 September 2002 Computer/Embedded Technology

Half-duplex or full-duplex?

Full-duplex links are the key to extending the maximum network diameter of Fast (100 Mbps) Ethernet. Full-duplex requires separate receive and transmit paths (link segments consisting of no more than two devices). These devices can be Ethernet adapters or switching hub ports. Notice that we did not mention repeating hub ports. A repeating hub is part of the collision domain and reinforces collisions received on any of its other ports. A repeating hub is not capable of full-duplex operation. Although it is possible to have just two Ethernet adapters configured for full-duplex, expansion beyond two adapters requires a switching hub capable of supporting full-duplex operation.

Half-duplex means transmitting and receiving over the same medium but not at the same time. Full-duplex allows for simultaneous sending and receiving. Coaxial-based transceivers such as 10Base-5 and 10Base-2 are not able to invoke full-duplex since they do not have separate receive and transmit paths. However, 10Base-T and 10Base-FL do have separate switching hubs. If these interfaces are configured for half-duplex, then the simultaneous detection of receive and transmit activity will trigger collision detection. These same interfaces configured for full-duplex would disable this collision detection logic since full-duplex does not follow the CSMA/CD rules of shared Ethernet.

It is very important that a full-duplex link be configured properly. A station or switching hub port will send out frames at will, ignoring the CSMA/CD protocol of shared Ethernet, if it is configured for full-duplex. If the other end is configured for half-duplex, it will incorrectly detect collisions and take actions that could cause late collisions which are not automatically re-sent) and CRC errors. The result is a general slowdown of the network negating the benefits of migrating to Fast Ethernet.

As mentioned before, at 100 Mbps the maximum network diameter is short because of the limited collision domain at this speed. This is not a problem with twisted-pair link segments and switch ports because the maximum twisted-pair segment length is 100 m which is within the collision domain limit. The problem is with fibre-optic ports which allow segment lengths of 2 km for multimode operation and 15 km or greater for single-mode operation. Under the rules for half-duplex CSMA/CD Ethernet, our point-to-point fibre-optic segment is limited by the collision domain to 412 m. However, with full-duplex operation, which ignores the CSMA/CD algorithm, fibre-optic segments can be extended to their limit.

With Fast Ethernet, the use of switch technology is recommended. When using Fast Ethernet over fibre-optic cabling, full-duplex operation is recommended.

Auto-negotiation

With the proliferation of Fast Ethernet and the similarity of the cabling components to conventional Ethernet, a means was proposed in IEEE 802.3u to automatically configure Fast Ethernet ports to work with either legacy Ethernet ports or other Fast Ethernet ports. This configuration protocol was based upon National Semiconductor's NWay standard. There is a way for twisted-pair links to automatically configure compatible formats in order for links to begin communicating. This scheme was intended for twisted-pair links and not coaxial buses. Coaxial cable is a legacy 10 Mbps standard that is not in the plans for evolving Ethernet. Fibre optics is a different story. Although fibre-optics is very much in the plans for evolving Ethernet, there is no simple way for two fibre-optic devices to auto-negotiate data rates since a 10Base-FL device operates at 850 nm while a 100Base-FX device operates at 1300 nm. These devices will not interoperate. However, there is nothing in the Auto Negotiation protocol to prevent two fibre-optic devices to auto-negotiate if communication is possible. Recognising this, the 100Base-SX standard was recently introduced which incorporates 850 nm fibre-optic components that can function at either 10 or 100 Mbps. At 100 Mbps, these devices are limited to 300 m segment lengths. Therefore, it is important that the installer fully understands the capabilities of the fibre-optic equipment. Frequently with fibre optics, the data rate is fixed and not negotiated. The auto-negotiation protocol functions best on twisted-pair links.

The benefit of auto-negotiation is to provide hands-free configuration of the two devices attached to the link segment. At connection time, each of the two devices will advertise all their technical abilities. These abilities have been ranked by the standard as shown in Table 1. The lowest possible ranking is 10Base-T which assumes half-duplex or shared Ethernet operation. The very next ranking is 10BaseT full-duplex indicating that full-duplex has higher performance than half-duplex. Finally, the highest ranking is 1000Base-T full-duplex. This ranking scheme has been provided for completeness. It is not assumed that a particular adapter can handle all technologies. In fact, some of these technologies may not have been commercialised. However, they are all listed consistent with the IEEE 802.3 standard.

Table 1. Auto-negotiation assumes a ranking of priorities. 10Base-T is at the bottom

1000Base-T full-duplex

1000ase-T

100Base-T2 full-duplex

100Base-TX full-duplex

100ase-T2

100Base-T4

100Base-TX

10Base-T full-duplex

10Base-T

Each device examines each other's technical abilities and determines the lowest common denominator. For example, if an Ethernet adapter can only handle 10Base-T while a switch port can handle either 10Base-T or 100Base-TX, 10Base-T will be chosen by both. If two Ethernet adapters connect, one only advertising 10Base-T and the other only advertising 100Base-TX, there will be no subsequent communication since no compatibility exists.

Auto-negotiation can be very helpful or it can be a source of problems especially in the area of half, full-duplex selection since it is difficult to ascertain what was selected. Usually a switching hub and adapters have indicators that will denote Fast Ethernet selection; however, there is usually no indication for half, full-duplex operation.

Part V will continue this discussion and look at the Transport Layer Protocols.

For more information: Jaap Willemse, Electronic Products Design, 012 665 9700, [email protected]



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Intelligent video processing
Rugged Interconnect Technologies Computer/Embedded Technology
The CHARM150AGX is based on a NVIDIA AGX Orin embedded processor, which incorporates a multicore ARM processor and powerful AI/ML accelerator.

Read more...
Quectel’s single-board computers put industrial edge computing on one PCB
iCorp Technologies Computer/Embedded Technology
Quectel Pi series of single-board computers (SBCs), designed for a broad range of industrial applications, include three compact development platforms – the Quectel Pi M1, L1, and H1 boards.

Read more...
Nordic expands nRF Cloud with firmware vulnerability scanning
RF Design Computer/Embedded Technology
nRF Cloud identifies vulnerabilities in firmware and shows exactly which deployed devices are affected, empowering device manufacturers to address EU Cyber Resilience Act requirements.

Read more...
Arrival of the Epic-PTH9
Vepac Electronics Computer/Embedded Technology
AAEON introduces the EPIC-PTH9, a compact 4-inch industrial single-board computer powered by Intel Core Ultra Series 3 (formerly Panther Lake) processors.

Read more...
EPS-9600 Managed Layer 3 Ethernet Switch with next-generation Time- Sensitive Networking
Electronic Products Design Computer/Embedded Technology
Diamond Systems has introduced EPS-9610 (part of the EPS-9600 family), a rugged, ultra-compact embedded Ethernet switch which integrates military-grade ruggedness with next-generation Time-Sensitive Networking (TSN) capabilities.

Read more...
An industry-first Android 16 smart module solution
RF Design Computer/Embedded Technology Telecoms, Datacoms, Wireless, IoT
The MeiG Smart SLM580 4G Smart Module features native support for Android 16 and covers core frequency bands in major countries and regions worldwide.

Read more...
Accelerate STM32-based IoT development with SPI EEPROM board
Altron Arrow Computer/Embedded Technology
ST Microelectronics’ ready-to-use STM32 expansion board helps design more efficient battery-friendly IoT devices based on ultra low power 32-Mbit Page.

Read more...
Unleash the next generation of Intel Core power
Vepac Electronics Computer/Embedded Technology
The EPIC-BTS9 from AAEON, is tailor-made to bring unprecedented performance to smart manufacturing and industrial robotics.

Read more...
QMC series I/O modules for VITA 93 small form factor mezzanine
Rugged Interconnect Technologies Computer/Embedded Technology
The new line of VITA 93 QMC mezzanine modules, from Acromag, are engineered to meet increasing demands for smaller form factors and more performance.

Read more...
MIKROE celebrates 2000th Click board
Computer/Embedded Technology
MIKROE has launched its 2000th Click board, the RTC 27 Click, designed for low-power real-time clock and calendar functionality, time tracking, alarm event generation, watchdog timing, and timestamp capture.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved