Home

Serial Communication

The purpose of serial communication is to transfer information between devices while using fewer wires than parallel communication.

Terms

Synchronous vs. Asynchronous – Synchronous uses a clock signal; asynchronous does not. Half-Duplex vs. Full-Duplex – Half-duplex allows one device to send/receive at a time, while full-duplex allows both simultaneously. Differential Signaling – Uses -V and +V instead of 0V and +V to reduce noise interference. Baud Rate – The speed of data transmission, measured in bits per second (bps). CRC and Error Correction – Cyclic Redundancy Check and other methods ensure data integrity.

You said: Are there more? ChatGPT said: Yes, here are additional key variables in serial communication protocols:

Bit Order (Endianness) – Determines whether the most significant bit (MSB) or least significant bit (LSB) is sent first. Parity Bit – Used for basic error detection (Even, Odd, None). Stop Bits – Define the end of a data packet (e.g., 1, 1.5, or 2 bits). Flow Control – Manages data flow to prevent buffer overflows (e.g., XON/XOFF for software, RTS/CTS for hardware). Framing – Defines how data is structured, including start bits, data length, parity, and stop bits. Voltage Levels – Specifies signal levels, such as RS-232 (±12V) vs. TTL (0V/5V). Protocol-Specific Features – Some protocols (e.g., SPI, I²C, CAN) include unique properties like multi-master support or address-based communication.

Other common ports

UART - Universal Asynchronous Receiver/Transmitter

SPI - Serial Peripheral Interface

I2C - Inter Integrated Circuit

CAN - Controller area network

Either CAT - Ethernet for control automation technology