Level 3 · Practice

Quadrature

Two square waves, a quarter period out of phase. There's nothing to decode here. This is the sniffer board's practice signal, there purely to prove your analyzer is hooked up correctly before you touch a real bus.

There is no data on this signal. Unlike the four protocol pages, nothing here is part of the puzzle. The QUAD header exists purely so you can confirm your logic analyzer, cables, and capture settings actually work before you spend a capture window on a bus that matters.
WiresA + B + GND
SignalTwo square waves, 90° out of phase
EncodesDirection (phase) + amount (edge count)
Here~1 kHz, fixed, always running

A Little History

Quadrature encoding predates digital electronics. It's a mechanical trick for telling rotation direction from two sensors instead of one. Industrial tachometers and rotary encoders have used it for decades. It became a household technology (literally) inside the opto-mechanical computer mouse: a rubber ball turning two small wheels, each interrupting a pair of light beams slightly out of phase with each other. That's exactly the same signal shape you'll see on the QUAD header.

What It's Actually For

Measuring rotation, both direction and amount, without an absolute position sensor. A single square wave from a spinning shaft tells you how fast, but not which way. Add a second channel offset by a quarter cycle, and the order the two edges arrive in tells you the direction, while simply counting edges tells you how far it turned. It's still the standard way rotary encoders report motion today, in volume knobs, motor shaft feedback and old-school mice.

How It Works

Two channels, A and B, run the same square wave frequency, offset by a quarter period (90°). Whether A leads B or B leads A depends on which direction things are turning. Reverse the rotation and the two channels swap which one leads. On the sniffer board this relationship is fixed and just keeps repeating; there's no rotation to reverse, it's simply here as a known-good pattern to test against.

A B ¼ period (90°) B trails A by a fixed quarter period. That phase relationship is the whole signal.
Nothing to decode, just a shape to recognize. If your capture shows two clean square waves with B consistently a quarter-period behind A, your analyzer, ground, and channel assignment are all correct, and you're ready for a real bus.

On the Sniffer Board

Top view of the sniffer board with the white QUAD header outlined in a white box
 The QUAD header is the white one, boxed in white. Pins run from pin 1 at the top: A, B, GND.
QUAD header pins
PinConnects to
ALogic analyzer channel D0
BLogic analyzer channel D1
Logic analyzer GND wire

In PulseView: 1 MHz sample rate, 20 k samples (that's 20 ms), then click Run. You should see two clean square waves at 1 kHz, with B trailing A by a quarter period.

PulseView capture of the QUAD header: A on D0 and B on D1 as two 1 kHz square waves, B rising a quarter period after A. D2 to D7 are unconnected and sit high.
A good QUAD capture A on D0, B on D1: two 1 kHz square waves (one period is 1000 µs), with each of B's edges 250 µs after A's. D2–D7 aren't connected, so they just float high; that's normal for unused channels.
Troubleshooting:
  • Only one square wave? Switch the board off and check that the D0 and D1 wires are pushed all the way onto A and B.
  • B leads A instead of lagging? The D0 and D1 wires are swapped. Switch off and swap them.
  • Noise or nothing at all? Check the ground connection first. It's the most common miss.