A Think Again Media Group publication
Tech Debunk

Does a serial port send multiple bits at once like a parallel port?

Serial port: following the bits through the hardware

By Phil Springer, Editor · Published · Tech Debunk

Serial port: following the bits through the hardware

A serial port sends the bits of a character in sequence. NI's LabVIEW manual describes a transmitter sending one bit at a time along a communication line to a receiver. Its examples include a computer exchanging data with an instrument or another computer. The character is a useful unit for the application, but the connection carries it as successive electrical states. The manual makes that distinction concrete by describing the frame around each character, including the start, data, optional parity and stop bits.

The electrical sequence needs agreed settings. NI identifies four: transmission rate, data-bit count, parity and stop-bit count. In its RS-232 description, data goes least significant bit first, with negative voltage representing a logical one and positive voltage representing zero. An optional parity bit follows the data and supplies an error check. The line remains in its negative idle state after the stop interval until another start bit arrives. NI calculates character throughput by dividing the transmission rate by the number of bits in the complete character frame. Framing therefore consumes transmission time alongside the content.

RFC 1662 supplies an actual protocol using that arrangement. Published in July 1994, it defines framing for the Point-to-Point Protocol, including asynchronous connections with eight data bits and no parity. Section 4.5.2 specifies one start bit, eight data bits and one stop bit, with the least significant data bit transmitted first. The eight bits do not travel together merely because the protocol calls them an octet. They occupy consecutive positions between the start and stop intervals. The specification also requires a full-duplex link: sequential transmission in each direction is compatible with communication in both directions.

PPP adds boundaries above that character framing. A flag marks a packet frame's beginning and end, and a frame-check sequence detects errors. Particular byte values need escaping so that payload content is not mistaken for a delimiter or intercepted as a control character. RFC 1662 specifies that the flag value 0x7e becomes the two-byte sequence 0x7d, 0x5e within escaped data. A packet can consequently require extra transmitted characters as well as the start and stop bits surrounding each character. Payload length and total transmission time describe different quantities.

The conversion inside the computer is visible in a 2008 patent application by Dwarka Partani, Sujith Arramreddy and Melanie Fike. Their server-management design gives a UART, or universal asynchronous receiver transmitter, both a parallel interface toward the host and a serial interface toward the connection. A serializer turns parallel input into serial output; a deserializer performs the reverse conversion. Thus parallel transfer inside the computer can feed a serial port without making the external transmission parallel. The same information changes representation as it passes through the UART.

Their proposed circuit also connects a second, virtual UART to a server-management controller. A selectable path can serve a local terminal or route terminal information through the management system and network interface to a remote computer. In the remote path, serial information is collected into network packets, then unpacked in the opposite direction. The patent describes separate parallel buses on the host and management sides. This is a particular server design, rather than a universal diagram for every serial port, but its explicitly labeled interfaces show why internal bus width cannot identify the format on a cable.

Software exposes these choices through configuration structures. Microsoft's DCB definition includes the transmission rate, number of data bits, parity scheme and stop-bit count. For an 8250 controller, the documented data-bit range is five through eight, with restrictions on particular stop-bit combinations. Other fields govern flow control. With CTS monitoring enabled, output pauses when the clear-to-send signal is off. Software flow control instead uses XOFF and XON characters to stop and resume transmission. These signals regulate when the serial port sends data; they do not provide extra simultaneous bits of the character.

The DCB documentation also distinguishes buffer capacity from the act of sending. Its XoffLim setting reserves free input-buffer space when flow control tells the sender to stop. Microsoft cautions that more characters can arrive after the stop signal, so that allowance must not be zero. Buffering and signaling handle a sender that cannot stop instantaneously. They add coordination around the sequential stream without changing its ordering.

Windows read and write operations introduce another use of the word asynchronous. Microsoft's documentation permits an overlapped operation to proceed while the calling thread performs other work. That concerns application scheduling, alongside the timing and flow-control rules of the communications resource. The same documentation separates discarding buffered output from finishing its transmission. PurgeComm can remove characters that have not yet been sent, while FlushFileBuffers waits for pending output to be transmitted and remains subject to flow control. A program can therefore submit, queue, cancel or wait for a block of characters while the serial port delivers the surviving characters bit by bit.

True or False?

A serial port shoves multiple bits through at once, just like a parallel port.

Show the answer

The Record

No. "Serial" means exactly what it sounds like — one bit at a time, in or out, single file, no exceptions. The parallel port is the one that moves multiple bits simultaneously, side by side. That difference gives you a useful way to remember the two kinds of port. For most of PC history this serial, one-bit-at-a-time crawl still moved everything: modems, terminals, peripherals, even direct computer-to-computer links. One bit at a time did all that work — and never once needed to borrow parallel's lane.

Send this question to a friend

Read next

By clicking “Send me the real story” you agree to Tech Debunk’s Terms of Use and Privacy Policy.