How to read a board's signals with a logic analyser
Tap the lines between a board's chips, record them with a logic analyser and decode PWM, UART, I²C and SPI in Saleae Logic 2 or PulseView.
Once a board is traced, you know which pins connect to which, but you still don’t know what passes along those connections. The main chip is constantly talking to its sensors, its radio and its memory, and that conversation is where much of a product’s behaviour lives: how often a ring samples your pulse, what a solar logger sends to its Wi-Fi module, how a pump decides how fast to run.
A logic analyser records several of these lines at once as a sequence of highs and lows, and its software turns them back into bytes. It doesn’t show the shape of a voltage the way an oscilloscope does, so it won’t tell you whether a signal is noisy; what it gives you instead is many channels, long recordings and decoders that read the protocols for you.
Choose an analyser and its software
There are two common setups, and the rest of this guide works with either.
Saleae Logic 8 (or Logic Pro 8 and 16) with its free Logic 2 software for Windows, macOS and Linux. Logic 2 has decoders for serial, I²C, SPI, CAN and more, lets you set the voltage threshold to suit 1.8 V, 3.3 V or 5 V logic, and shows frequency and duty cycle when you hover over a signal. Logic 2 only works with Saleae’s own hardware.
A cheap 8-channel USB analyser, the small 24 MHz boxes sold in every electronics market, with PulseView, the free and open-source program from the sigrok project. PulseView’s decoders cover the same protocols and many more. These boxes read up to 5 V on their inputs and have a fixed threshold, so 1.8 V logic may sit too close to it to read reliably.


Whichever you use, sample at least four times faster than the fastest signal you want to read, and ten times faster if you can spare it. A 24 MHz box is comfortable for UART, I²C and most PWM, and fine for slow SPI, but it can’t keep up with a fast SPI flash chip.
Find the line before you touch it
Start with what the board already gives you. Look for test pads labelled TX, RX, SDA or SCL, and for a row of four unused holes near the main chip, which is very often a debug serial port (ground, transmit, receive and power). If you’ve traced the board, the chip’s datasheet tells you which pins carry which bus.
Then measure. With the board powered, set the multimeter to DC volts, put the black probe on ground and touch the red probe to the line. A serial line usually rests at the supply voltage, 3.3 V on most boards, because it idles high. If you see more than 5 V, or a negative voltage, stop: that’s RS-232 or a motor drive, and it will damage the analyser.
Practise on a board you can’t break
Measuring a live board takes practice, and a wrong probe on a real one can short a rail or kill a part. DEADBOARD lets you practise in the browser on simulated open-hardware boards built from their real layouts: you probe with a multimeter, read the current a board draws from a bench supply as it starts, look at nodes on an oscilloscope and find hot parts with a thermal camera, then fix the fault you’ve found. Its boardview shows every part’s connections, which trains the same habit this guide relies on, following a net from a pin you know to the part you want.

Use a pad if there is one
Every point on a net carries the same signal, so pick the easiest one to reach. In order of preference, use a labelled test pad, a header pin, a via (the small plated hole that carries a track between layers), or the end of a resistor or capacitor on that line. A hook clip on a component lead needs no soldering at all.
Only when none of these is in reach do you open the track itself.
Scratch the track just enough
A signal track is a fraction of a millimetre wide, and its copper is thinner than a sheet of paper. You want to remove the coating over about two millimetres of it while leaving every bit of the copper in place.

Use the flat of a sharp craft knife or a fibreglass scratch pen, and scrape lightly along the length of the track rather than across it. Brush the dust away after every two or three strokes and look under the magnifier. Stop as soon as the copper shines evenly. If you see a groove, a dull line or the board’s fibres showing through, you’ve cut into the track; check it with the multimeter’s continuity mode and, if it’s broken, bridge the gap before you go on.
The tracing guide covers scraping for probing. The difference here is that the window has to take solder, so it needs to be clean and a little longer.
Solder the jumper
Use thin wire: 30 AWG wire-wrap wire is easy to handle, and enamelled copper wire is finer still. Put a little flux on the copper window and tin it with a touch of the iron and a trace of solder. Tin the bare end of the wire too, lay it along the track and touch both with the iron for a second or two, until the solder flows into one small, shiny joint.

The joint is far stronger than the track underneath it, so a tug on the wire will tear the copper off the board. Before you do anything else, tape the wire down a couple of centimetres away with Kapton tape or a dab of hot glue, so that any pull lands on the tape.
Check your work with the multimeter before powering anything. The wire should beep to both ends of the track, and it should not beep to the neighbouring tracks or to ground.
Connect the analyser

Connect ground first, from one of the analyser’s ground pins to a ground point on the board such as a connector shell, a large copper fill or the negative side of the battery. Without a shared ground the analyser has nothing to measure against, and you’ll capture noise that looks like data.
Then connect one channel to each line you’ve tapped, and write down which colour went where. Both Logic 2 and PulseView let you rename the channels; call them TX, SDA and so on now, while you still remember.
Be careful with anything that plugs into the wall. Many cheap mains-powered devices have no isolation between the mains and the board, so the board’s ground can sit at a dangerous voltage, and connecting it to your laptop through the analyser can hurt you and destroy both. Power such a board from a bench supply or a battery at its normal voltage, after removing its mains section, or ask someone experienced to help.
Compare the four protocols
| PWM | UART | I²C | SPI | |
|---|---|---|---|---|
| Lines | One | One each way, TX and RX | Two shared, SDA and SCL | Four: clock, two data, chip select |
| Clock | None | None; both ends agree a baud rate | Yes | Yes |
| Usual speed | Hundreds of Hz to 25 kHz | 9600 to 115200 baud | 100 or 400 kHz | 1 MHz to over 100 MHz |
| Picks a part by | Wiring | Wiring, one part per pair | A seven-bit address | Its own chip-select line |
| Found on | Fans, LEDs, motors | Debug ports, Wi-Fi and GPS modules | Sensors, chargers, small memories | Flash memory, displays, radios |
| What you read | Frequency and duty cycle | Text or bytes | Addresses, registers and values | Commands and data |
| 24 MHz analyser | Yes | Yes | Yes | Slow SPI only |
Capture
Choose the sample rate, set a recording of a few seconds, and add a trigger so the capture starts on the first falling edge of the line you care about. Serial and I²C both begin their messages by pulling a line low, so this catches the start of the conversation.
The moment a device switches on is often the most useful to record, because it sets up all its parts in turn. Start the capture first, then power the board.
Read a PWM signal
PWM (pulse-width modulation) is a steady train of pulses that controls things like a fan’s speed, an LED’s brightness or a motor’s power. It appears as one line switching at a fixed rate, and what matters is how long each pulse stays high.
Measure the period, the time from one rising edge to the next, which gives you the frequency. Then measure how long the signal stays high within one period; that share is the duty cycle. Logic 2 shows both when you hover over the signal. In PulseView, place the two cursors on the edges, or add the PWM decoder.
To find what a pin controls, change one setting on the device, a fan speed or a brightness level, and capture again. If the duty cycle moves with the setting, you’ve found the line that does it.
Read a UART
UART (a serial port) uses one wire for each direction. The line rests high, and each byte starts with a low start bit, followed by eight data bits, least significant first, and a high stop bit. There is no clock line, so both ends must agree on the speed in advance, called the baud rate.
To find the baud rate, zoom in on a burst and measure the narrowest pulse, which is one bit. One divided by that time is the baud rate; round it to the nearest standard rate.
Add the Async Serial decoder in Logic 2, or the UART decoder in PulseView, with that rate and the usual settings of eight data bits, no parity and one stop bit. Show the result as text. A debug port often prints readable start-up messages: the chip family, the firmware version, sometimes the server the device is about to contact.
Read I²C
I²C uses two shared lines, a clock (SCL) and data (SDA), and both rest high. The main chip starts each message by pulling SDA low while SCL is still high, then sends a seven-bit address that names the part it wants, plus one bit for read or write. The addressed part answers by holding SDA low for one clock, called the acknowledge (ACK). A part that doesn’t exist, or isn’t ready, leaves the line high, which is a NACK.
Add the I²C decoder and it lists every message as an address, a direction and the bytes that follow. The address is a strong clue to what the part is: datasheets list each chip’s address, so searching the address with the words “I2C address” usually narrows it to a few chip families. Treat that as a lead until you’ve matched it to the marking on the chip.
Most reads follow the same pattern. The main chip writes one byte, the number of the register it wants, then starts again and reads the value back. Write down each register and value in a table; together they show how the device sets up its parts and what it reads from them.
Read SPI
SPI uses four lines: a clock, a data line from the main chip, a data line back to it, and a chip-select line that goes low while a particular part is being addressed. It’s common for memory chips, displays and radios.
Add the SPI decoder, assign the four channels, and try the four clock modes until the bytes make sense. SPI flash memory makes this easy to check, because most flash chips answer the command 0x9F with an ID that names their maker and size. SPI often runs too fast for a 24 MHz analyser; if the decoded bytes are inconsistent from one capture to the next, that’s the likely reason.
Keep the capture with your notes
Save the capture file, .sal from Logic 2 or .sr from PulseView, and export the decoded messages as CSV. Note the sample rate, the threshold and where each wire was soldered, with a photo of the board. Publish them with the teardown so that others can open the same recording and check what you read from it.
Keep two things apart in what you write. The decoded bytes are a measurement, and anyone can check them against your capture. What those bytes mean is your interpretation, and it stays a guess until a datasheet or a second test confirms it.
When you’re done, unsolder the jumpers, clean off the flux with isopropyl alcohol, and cover each copper window with a dab of nail varnish or UV-curing solder mask, so the bare copper doesn’t corrode.