Skip to content
Book 2 cover: UART, RS-232, RS-422 and RS-485
Book 2·Board-level & embeddedPlanned

UART, RS-232, RS-422 and RS-485

Asynchronous serial from the bit to multidrop RS-485 networks, AT commands and DMX512.

~340
pages planned
13
protocols
Wave 1
release wave
—
chapters outlined

The scope of Book 2

From the series plan. Underlined names are Tier A protocols (several chapters), plain names Tier B (a full chapter), italic names Tier C (a compact section); bold labels group the topics.

  • UART, and USART synchronous mode
  • RS-232: levels, DB9/DB25, RTS/CTS/DTR, null modem
  • RS-422
  • RS-485: multidrop, termination, biasing, fail-safe, isolation, direction control
  • baud-rate and oversampling maths, autobaud, 9-bit multiprocessor mode, RTS/CTS and XON/XOFF
  • USB–UART bridges
  • protocols that ride on UART: the AT command set (V.250, 3GPP 27.007) used by GSM/4G, Wi-Fi and Bluetooth modules; SLIP and COBS framing
  • DMX512 and RDM
  • IrDA SIR, 20 mA current-loop serial

Labs: UART TX/RX in Verilog with a cocotb testbench; baud-error calculator; sigrok decode of 8N1/7E1 captures; RS-485 multidrop and a DMX512 decode

Chapters are planned when writing starts

The scope above is this book's brief in the series plan. Its chapter-by-chapter outline is written when the book's turn comes, and appears here.

Protocols this book teaches

From the series register. This book is each one's home: the place it is taught in full. Other books only use it.

ProtocolDepthGoverning spec
RS-232TIA/EIA-232 serial interfaceTier ATIA-232-F; ITU-T V.24/V.28
RS-422TIA/EIA-422 differential serial interfaceTier ATIA-422-B
RS-485TIA/EIA-485 multidrop differential interfaceTier ATIA-485-A
UARTUniversal Asynchronous Receiver-TransmitterTier Ano single standard; vendor reference manuals (e.g. TI/NXP UART)
AT command setHayes AT commands (ITU-T V.250, 3GPP TS 27.007)Tier BITU-T V.250; 3GPP TS 27.007, 27.005
COBSConsistent Overhead Byte StuffingTier BCheshire & Baker (1999) paper
DMX512DMX512-A digital multiplex lighting protocolTier BANSI E1.11
RDMRemote Device Management over DMX512Tier BANSI E1.20
SLIPSerial Line Internet ProtocolTier BRFC 1055
USARTUniversal Synchronous/Asynchronous Receiver-Transmitter (synchronous mode)Tier Bvendor reference manuals
XON/XOFFsoftware flow controlTier BASCII control characters (ANSI X3.4); de-facto
20 mA current loop20 mA current-loop serial (teletype)Tier Cde-facto (teletype practice) (verify)
IrDA SIRInfrared Data Association Serial InfraredTier CIrDA Serial Infrared Physical Layer Specification

Book 2 is on 4 career paths

More on this shelf