Communication Guide
RS-232 Cable Design: Capacitance, Edge Timing, Grounding, and Validation
A cable-length number is useful only with its electrical assumptions. Reserve load capacitance for every non-cable element, then check the actual receiver waveform, endpoint grounds, and UART error behavior.
17 min · Intermediate · Updated October 17, 2026
Define the Complete Point-to-Point Link
Record both RS-232 transceiver part numbers, guaranteed loaded output levels, receiver thresholds and input impedance, load-capacitance rating at the intended data rate, UART framing, cable capacitance per length, connector and protection capacitance, and endpoint ground conditions. RS-232 is single-ended and point-to-point; do not treat a multi-drop RS-485 topology as interchangeable. The Serial Interface Guide introduces the cable budget; this page follows it through electrical validation.
| Input | Source | Failure if omitted |
|---|---|---|
| Cable capacitance per meter | Chosen cable datasheet | Overstated permissible length |
| Fixed load capacitance | Receiver, connector, PCB, ESD device | Invisible budget consumption |
| Driver load rating | Transceiver datasheet at data rate | Slow or undersized output swing |
| Receiver thresholds | Transceiver AC/DC table | Insufficient bit-center voltage margin |
| Ground environment | Installation and measurement | Shifted single-ended input voltage |
Compute an Electrical Screening Length
Select a supported total capacitive load from the actual driver datasheet under the relevant data-rate and supply conditions. Subtract non-cable load, then divide by the chosen cable capacitance per meter. The RS-232 Cable Length Calculator performs this first-pass estimate and reports propagation-delay references. A traditional 2500 pF figure is a useful historical comparison, not a blanket rating for every transceiver or baud rate.
Formula reference
Capacitance budget
Ctotal = Cfixed + Ccable,per-meter LLscreen = (Cbudget - Cfixed) / Ccable,per-meterFeasible only if Cbudget > CfixedVariable definitions
- Cfixed includes receiver input, connectors, PCB, and protection devices
- Cbudget is the selected driver's guaranteed or justified load allowance
- Lscreen is a capacitance screening length, not a guaranteed communication distance
Using a 2500 pF reference budget, 300 pF fixed load, and a 50 pF/m cable gives (2500 − 300)/50 = 44 m. Choosing a 100 pF/m cable halves the screening result to 22 m. Neither number proves the loaded swing, timing, noise margin, or common-ground suitability of that installed link. Recheck both directions if the endpoint transceivers or wire pairs differ.
Relate Loaded Edges to UART Sampling
Cable capacitance slows voltage transitions. The receiver must see a stable mark or space at its sample point, not merely a crossing somewhere inside the bit. A high baud rate reduces the available settling interval; driver slew behavior, receiver thresholds, oscillator mismatch, and cable noise determine the useful margin. The UART Timing Calculator checks frame and sampling timing, but it does not model an analog RS-232 waveform.
Formula reference
Timing references
tbit = 1 / BaudRatetcable,one-way = L / vpropFractional flight delay = tcable,one-way / tbitVariable definitions
- Propagation delay alone is not edge-settling time
- The receiver sample point and oscillator error need device-specific analysis
- Use the actual loaded waveform and receiver thresholds to assess voltage margin
At 115200 baud, one bit lasts about 8.68 µs. At 44 m and a cable velocity of 2×10⁸ m/s, one-way flight time is about 0.22 µs, or 2.53% of the bit interval. This is not a 2.53% baud error: a fixed delay shifts the whole waveform, while clock mismatch accumulates across a frame. Slow edges and ground-referenced noise may be more important than flight time here.
Preserve Voltage and Ground Margin
RS-232 uses voltage relative to a reference conductor. Ground differences, common noise, ESD currents, and cable shield connections can alter the voltage observed at the far-end receiver. Check the chosen receiver's valid input thresholds and absolute limits in every expected ground and power state. Isolation can be appropriate where ground potential or surge conditions are beyond the selected devices, but an isolation decision requires a system safety and installation review. Do not infer safety or EMC compliance from a length calculation.
Verify connector pinout and whether a null-modem crossover is required. Check hardware handshake lines if the application uses them; a working TX/RX pair does not prove RTS/CTS behavior. Avoid copying RS-485-style 120 Ω termination across an RS-232 output without a device-specific design.
Validation Plan
| Condition | Observe | Reason |
|---|---|---|
| Maximum specified cable | Positive/negative swing and edge duration at receiver | Actual analog threshold margin |
| Worst data pattern | Bit-center voltage and framing errors | Pattern-dependent settling |
| Highest baud | Transition time relative to bit interval | Minimum timing margin |
| Low supply and hot device | Driver swing and slew | Weak output corner |
| Ground offset/noise | Receiver-pin voltage and error count | Single-ended reference sensitivity |
| Power sequencing | Unpowered pin and protection current | Absolute-rating and back-power risk |
Scope the analog line at the far-end receiver with a suitable probe. A logic-analyzer decode can look clean while voltage or edge margin is small. Count framing, parity, and application errors over meaningful patterns and duration, then repeat with the intended cable, connectors, enclosure, and supply variation. Compare both transmit directions.
Common Mistakes
- Treating a historical 15 m figure as a universal maximum.
- Using 2500 pF without checking the selected driver datasheet.
- Ignoring receiver, connector, PCB, and ESD capacitance.
- Assuming all cable types have the same pF/m.
- Equating capacitance screening length with guaranteed operation.
- Confusing one-way propagation delay with UART baud mismatch.
- Checking baud rate but not the loaded far-end waveform.
- Ignoring the single-ended ground-reference path.
- Applying RS-485 termination rules to RS-232.
- Forgetting handshake wiring or crossover requirements.
- Testing only one transmission direction.
- Claiming isolation or regulatory compliance from a resistor/cable calculation.
Primary Engineering Sources
For load and cabling context, see Analog Devices serial-interface guidance and the TI TRS3122E datasheet application section. For any build, use the exact transceiver and cable datasheets rather than transferring example ratings across devices.
Support reference
FAQ
What is the maximum RS-232 cable length?
There is no universal distance. Cable capacitance per meter, fixed parasitics, the selected driver and receiver, baud rate, wiring, grounding, and noise determine whether a link works.
What does a 2500 pF reference mean?
It is a traditional RS-232 load-capacitance reference, not a length guarantee or a replacement for the selected transceiver's rated load at its specified data rate.
Why does higher cable capacitance matter?
The driver must charge and discharge more load, which can lengthen transitions and shrink the time spent at valid receiver voltage levels.
Does a lower baud rate always fix a long cable?
It may allow more bit time for a slow edge, but it cannot repair inadequate voltage swing, ground offset, noise, wiring errors, or device absolute-limit violations.
Should I use a 120-ohm termination resistor?
No generic RS-485-style termination should be copied onto an RS-232 link. Use the receiver load and any circuit specified by the RS-232 transceiver datasheet.
How do I include connectors and protection?
Subtract receiver input, connector, PCB, and protection-device capacitance from the chosen load budget before dividing the remainder by cable capacitance per unit length.
How should I check ground difference?
Measure or bound the difference between endpoint references, and compare the resulting receiver-pin voltages with the selected transceiver's input and absolute maximum ratings. Use appropriate isolation where required.
Is propagation delay the main RS-232 limit?
For many conventional RS-232 links, loaded edge rate and voltage margin matter more than one-way cable flight time, but both should be checked for the actual rate and length.
How can I verify the link?
Test the real cable with worst-case supply, temperature, baud setting, data patterns, and grounding. Observe analog waveform at the receiver and count framing or application errors.
Summary
Calculate a cable capacitance budget with all fixed loads, then validate the far-end voltage, edge and UART timing, ground margin, and errors in both directions. A longer screened length is useful for candidate selection, not a promise of reliable communication.
