Electronic – History question – why are logic levels inverted between TTL and RS232


I'm just looking for a historical answer as to why TTL and RS232 don't transition logically in the same directions. The signals are the same, but basically level-shifted and inverted.

Was there a technological reason behind this, was it a mistake, or was there hardware that inverted that was cheap and easy to come by to drive the outputs for RS232 communication?

Thank you for helping to satisfy a curious question.

Best Answer

This is partly speculation, but here goes:

Originally, asynchronous serial interfaces were current loops. In order to make things like detecting wiring faults easier, the "idle" state was defined as current flowing, and the "start" bit was a brief interruption of the current.

The first devices were strictly electromechanical, but as soon as digital electronics became common enough, there was a desire to use the teletypes for I/O. It would make sense, then, that the logic that drives the current loop would be "on", or high for the same condition, because that would be the obvious way to drive, say, an NPN transistor.

Now, switch to voltage signaling. The telephone line sits at a negative voltage with respect to ground, because it was discovered early on that this reduced electrolytic corrosion in the wires caused by moisture.

So, for the same reason, the "idle" state in RS-232 was defined to be the negative voltage, because that is the state that the line is in most of the time.

Therefore, the translation between logic and RS-232 needed to be inverting.