Gear / Serial & console / Logic analyzer
LA

Logic analyzer

Captures and decodes UART, SPI and I2C off the wire. Find the baud rate, read the bus.
CORE KIT 10–15€ Serial & console

What it does

A logic analyzer captures multiple digital signals over time and, with software like sigrok/PulseView, decodes them into protocol bytes for UART, SPI, I2C, JTAG and more. When you find unlabelled test points on a board, it tells you what they are: which pin is a clock, which carries data, and at what speed.

Use cases

01
Identify an unknown header

Capture all the candidate pins at once and let the UART/SPI/I2C decoders tell you which one is which.

02
Find an unknown UART baud rate

Zoom in on the shortest pulse during boot, measure it, and derive the baud rate from the bit time.

03
Sniff a bus in-circuit

Tap SPI or I2C lines while the board runs normally and read the traffic without interrupting it.

How you use it

Install the open-source stack, then connect ground and the channels of interest and capture while the device boots or operates:

sudo apt install sigrok pulseview
sigrok-cli -d fx2lafw --scan
sigrok-cli -d fx2lafw --samples 1M -c samplerate=4MHz -o cap.sr
# open cap.sr in PulseView, stack a UART/SPI/I2C decoder

Wiring

Logic analyzer Target signals CH0 CH1 CH2 CH3 CH4 CH5 CH6 CH7 GND Signal 1 Signal 2 Signal 3 Signal 4 Signal 5 Signal 6 Signal 7 Signal 8 GND
Clip a channel per signal, and share GND.
Variants & pitfalls

Sample fast enough. Sample at least 4x the signal's fastest edge or you get aliasing artefacts instead of a clean decode.

Share a ground. Always tie the analyzer's ground to the board's ground, or the captured levels drift and decoders miss framing.