
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
What this book covers
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
Contents
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.
13 protocols at home 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.
| Protocol | Depth | Governing spec |
|---|---|---|
| RS-232TIA/EIA-232 serial interface | Tier A | TIA-232-F; ITU-T V.24/V.28 |
| RS-422TIA/EIA-422 differential serial interface | Tier A | TIA-422-B |
| RS-485TIA/EIA-485 multidrop differential interface | Tier A | TIA-485-A |
| UARTUniversal Asynchronous Receiver-Transmitter | Tier A | no single standard; vendor reference manuals (e.g. TI/NXP UART) |
| AT command setHayes AT commands (ITU-T V.250, 3GPP TS 27.007) | Tier B | ITU-T V.250; 3GPP TS 27.007, 27.005 |
| COBSConsistent Overhead Byte Stuffing | Tier B | Cheshire & Baker (1999) paper |
| DMX512DMX512-A digital multiplex lighting protocol | Tier B | ANSI E1.11 |
| RDMRemote Device Management over DMX512 | Tier B | ANSI E1.20 |
| SLIPSerial Line Internet Protocol | Tier B | RFC 1055 |
| USARTUniversal Synchronous/Asynchronous Receiver-Transmitter (synchronous mode) | Tier B | vendor reference manuals |
| XON/XOFFsoftware flow control | Tier B | ASCII control characters (ANSI X3.4); de-facto |
| 20 mA current loop20 mA current-loop serial (teletype) | Tier C | de-facto (teletype practice) (verify) |
| IrDA SIRInfrared Data Association Serial Infrared | Tier C | IrDA Serial Infrared Physical Layer Specification |
Also used here, taught in full elsewhere
Study paths
Book 2 is on 4 career paths
Board-level & embedded
Book 3PlannedSPI and Its Family
~360 pages planned · 15 protocols
Book 4PlannedI²C, SMBus, PMBus and I3C
~430 pages planned · 10 protocols
Book 5PlannedEmbedded I/O, Sensor and Single-Wire Protocols
~380 pages planned · 19 protocols
Book 6PlannedDebug, Programming, Test Access and Instrument Control
~460 pages planned · 31 protocols