Skip to content

How we teach

The answer-anything standard

After reading a protocol's chapters you can answer any question a working engineer, an interviewer, an exam or a design review would ask about it. This is how the books are built, and checked, to keep that promise.

22 parts after the passport, the same order, every protocol

A missing part is visible at once, and you always know where to look. Tier C protocols get the parts marked “every tier”.

  1. P0

    Protocol Passport every tier

    A one-page card: full name, who made it and when, the spec and version taught, OSI layers, topology, wires, speed, distance, node limit, duplex, addressing, error check, where you meet it and its sister protocols.

  2. P1

    Why it exists every tier

    The problem it solved, and its version timeline.

  3. P2

    Where it lives every tier

    Real systems that use it: an illustrated scene and a system diagram.

  4. P3

    Architecture & roles

    Topology, roles (controller and target, host and device…), layers.

  5. P4

    Physical layer every tier

    Voltage levels, drivers, termination and pull-ups, connectors and pinouts, cables, speed versus distance, EMC and protection.

  6. P5

    Bit-level signalling every tier

    Encoding, clocking, synchronisation and sampling, as timing diagrams.

  7. P6

    Frame and packet format every tier

    Every field, bit by bit: a bit-field figure and a table.

  8. P7

    Transactions every tier

    Complete exchanges as sequence charts; state machines.

  9. P8

    Addressing, arbitration, access

    Who may talk, when, and how collisions are resolved.

  10. P9

    Timing & performance

    Every timing parameter with real numbers; throughput, efficiency and latency worked out.

  11. P10

    Errors & recovery every tier

    Parity and CRC computed by hand, ACK/NACK, retries, error states, bus recovery.

  12. P11

    Flow control, power, configuration

    Flow control, power states, configuration and enumeration.

  13. P12

    Versions & variants

    What changed in each version, and the compatibility rules.

  14. P13

    Hardware design

    Reference schematic, part choice, layout rules, level shifting, isolation.

  15. P14

    Implementation

    Driver code (C), RTL (Verilog) for hardware-level protocols, stack code for network protocols, line by line.

  16. P15

    See it on the wire every tier

    A real capture from a lab run, decoded: analyzer view or packet dissection.

  17. P16

    Debugging playbook

    Symptom → cause → check → fix, with scope and analyzer recipes.

  18. P17

    Security

    Attacks and defences, where relevant.

  19. P18

    Compare & choose

    Against its sister protocols, with a selection guide.

  20. P19

    Myths & mistakes

    “Wrong → Why → Right” boxes.

  21. P20

    In industry

    Real chips, products and practice, with the facts checked and dated.

  22. P21

    Question bank every tier

    Graded questions with worked answers.

  23. P22

    Cheat sheet every tier

    One visual page that holds the whole protocol.

Each protocol gets the depth it deserves

TierForSize per protocolDossierLabsPrinted Q&AIn the register
Tier A CoreProtocols an engineer works with daily: I²C, CAN, PCIe, TCP, AXI, DDR…40–100 pages (several chapters)All 22 parts2–4100–200187
Tier B ImportantProtocols you meet often in one field15–35 pages (one chapter)All 22 parts, shorter140–80518
Tier C Specialist & legacyNiche, historical or proprietary protocols5–12 pages (a section)The core partsOptional15–2558
Tier D Not a protocolStandards and methods often listed as protocols by mistakeA 1–2 page note and a pointer————

How each chapter is checked before it ships

  1. 1

    Question universe first

    Before a protocol is written, every kind of question about it is collected: concepts, exact fields and bits, timing numbers, calculations, version differences, hardware design, driver and RTL code, debug scenarios, security, industry practice, interview and GATE-style questions.

  2. 2

    Write to the universe

    The chapter is written so that every question is answerable from its text, figures and tables.

  3. 3

    Blind test

    A fresh reviewer reads only the finished chapter and answers a held-out sample of the questions, graded against a key checked against the spec. The target is at least 95 % correct; every miss becomes new content and the chapter is re-tested.

  4. 4

    Spec check

    Every number (timings, voltages, field widths, limits) is traced to the primary spec, datasheet or RFC, with its section number logged.

  5. 5

    Lab check

    Every lab and code listing is run, and every output printed in the book comes from a real run.

Visual-first

At least one figure every 1.5 pages

Each protocol has a required figure set, drawn with the same colour rules in every book: in every timing diagram the controller's bits are one colour and the target's another, so you always see who is driving the wire.

  1. 01Hero scene: where the protocol lives
  2. 02Passport card
  3. 03Topology and system diagram
  4. 04Physical-layer schematic and connector pinout
  5. 05Bit-level timing diagram, every parameter labelled
  6. 06Frame or packet bit-field diagram
  7. 07Transaction sequence chart
  8. 08State machine
  9. 09Protocol stack and layer diagram
  10. 10“See it on the wire”: a decoded capture from a real lab run
  11. 11Eye diagram, spectrum or constellation
  12. 12Comparison chart and debug flowchart

Desk labs you can run, bench labs you can build

Desk labs: run by the author, on free tools

  • Hardware protocols as RTL: Icarus Verilog, Verilator, cocotb
  • Decoding signal captures: sigrok-cli and its protocol decoders (UART, SPI, I²C, CAN, LIN, 1-Wire, JTAG, SWD, USB, I²S…)
  • Network and fieldbus traffic: tshark/Wireshark, scapy, and real open-source stacks on loopback or in network namespaces
  • The CAN family: python-can virtual bus, cantools, ISO-TP
  • Radio PHY: NumPy/SciPy waveform labs
  • Maths and plots: Python with NumPy, SciPy and matplotlib

Bench labs: on your own hardware

For an ESP32, STM32 or Pico board, an 8-channel USB logic analyzer, a USB-CAN adapter, RS-485 modules, common sensors, a LoRa module or an RTL-SDR. Each book lists its own small kit. Bench labs are clearly labelled “not run by the author”.

The same structure in all of them

Front matter

  • How to use this book
  • A readiness check: 10 questions that point back to the right earlier book
  • Learning outcomes
  • A “protocols in this book” map with tiers
  • Desk and bench setup

Chapters

  • A banded opener with a hero image
  • A “Where we are” strip, warm-up questions and outcomes
  • Basic / Intermediate / Advanced labels and Deep Dive boxes
  • Key idea, at-a-glance and real-world boxes
  • Common mistakes, an interview corner and a summary

End matter

  • A book project
  • A final test with worked answers
  • Revision cards and comparison tables
  • A spec reference table (which spec, which version, which section)
  • Glossary and index

Written in simple English: short sentences, one idea per paragraph, and every term defined at first use. For the giant specifications (PCIe, USB4, 5G NR, Wi-Fi, Bluetooth, DDR5), the books teach every mechanism and every number engineers use, and say exactly which spec section holds the rest.

The books explain specifications in their own words. For conformance and certification work, always use the official specification of the standards body. Bench labs that need the reader's own hardware are marked “not run by the author”; desk labs were run, and their printed output comes from those runs.