Level 3

Sniff the Bus

Four chips, one board, four different conversations happening at once. Your logic analyzer is the only way to listen in, and this page is the reference for what you're listening to.

The Sniffer Board

A small number of sniffer boards live at the table. Ask a booth worker to loan you one, and return it when you're done. Each one runs four different bus protocols simultaneously: UART, I2C, SPI, and an 8-bit parallel bus. Your job is to capture each one with your logic analyzer and figure out what's being said.

Top view of the sniffer board with the five protocol headers outlined, each box in its header color
The Protocol Headers Each header has its own color, and each is boxed in it: parallel (black), SPI (red), I²C (green), UART (yellow), and the QUAD practice header (white) at the bottom.

This page and its four sub-pages cover the protocols themselves: what each one is, where it came from, and how to read a capture of it. What to actually do with the data once you've captured it is the puzzle, and isn't covered here.

Using the Sniffer Board

The board runs on its own battery, so the only thing you plug into it is your analyzer. Its USB-C port is just for charging at our station; you don't need it for the challenge.

Top view of the sniffer board. Along the top edge, left to right: the USB-C port, then the Power slide switch, the Boot button and the Status light, each labeled.
Power, Boot and Status All three sit along the top edge, next to the USB-C port, and each is labeled on the board.
  • Power is the slide switch. Switch the board off whenever you connect or move analyzer wires, and back on once they're in place (the Logic Analyzer page explains why).
  • Boot is the button next to it. It's only for loading new firmware and has nothing to do with the puzzle, so leave it alone. Holding it while you switch on stops the board from running at all; if that happens, switch it off and on again without touching the button.
  • Status is the light. It tells you how the board is doing:
Status light
You seeIt meansWhat to do
Light blue, a few quick flashesThe board just switched onWait a second
Green, slowly fading in and outThe battery is fine and the board is runningCapture away
Blue, slowly fading in and outThe board is on USB powerCapture away
Yellow, flashing SOSThe board has a hardware faultBring it back to the booth
Red, steadyThe battery is getting lowKeep going, but swap it at the booth soon
Red, flashing fastThe battery is very lowSwap it at the booth for a charged one
OffSwitched off, or the battery is flatCheck the switch, then bring it back

Practice First

Before touching any of the four protocol buses, verify your logic analyzer is hooked up correctly using the sniffer board's QUAD header. It carries two clean, predictable square waves, there purely to confirm your capture setup works before it matters. There's no data to decode and nothing puzzle-related. The Quadrature page shows what it looks like and how to wire it up.

Four Protocols, Four Personalities

Every one of these buses solves the same basic problem, getting bits from one chip to another, but they make very different trade-offs to do it. That's most of what's interesting about them.

Serial · Async

UART

No clock wire at all, just an agreed-upon speed and a start/stop bit framing every byte. The oldest, simplest, and still everywhere.

Serial · Multi-drop

I²C

Two wires, a shared bus, and every device gets an address. Built for chips to talk to chips inside the same box.

Serial · Full-duplex

SPI

No addressing at all, just a select line, a clock, and two data lines moving in both directions at once. Fast and simple.

Parallel

8-bit Parallel

Eight wires carry one bit each, all at once, so nothing needs shifting. Trades pins for speed, the opposite bet from the other three.

Setting Up PulseView

PulseView is the free, open-source capture and decode front end for the sigrok project, and it's what we recommend for this challenge.

Your logic analyzer is a clone, not a genuine Saleae. It's a clone of the Saleae Logic 8. Saleae's own Logic 2 software may or may not work with it, and Saleae doesn't support clones, so we recommend PulseView: get it from sigrok.org/wiki/Downloads (the nightly build). Logic 2 can still be the easy way out in some cases: on an Apple Silicon Mac, where PulseView may not start, Logic 2 has worked for us. On Windows you'll probably need to run Zadig once to give the analyzer a driver; the Logic Analyzer page shows how.

Once it's installed, plug in your analyzer, open PulseView, and connect to it with the fx2lafw driver: the PulseView page walks through it. Each protocol sub-page lists the sample rate and sample count to use, plus how to set up that protocol's built-in decoder.

At the Booth

This is the grand-prize round. Solving it wins a pocket oscilloscope, and only a limited number are available. You'll want the logic analyzer you earned in Level 2 (and the bag it came in) and a laptop running PulseView (yours, or one of ours). Once the data's captured, CyberChef is where you'll take it apart.