Level 3 · Tools

Using PulseView

Your analyzer captures raw voltage transitions. PulseView is what turns that into something you can actually read: set the right sample rate, decode the protocol, and get the bytes out.

Installing PulseView

PulseView is the graphical front end for the open-source sigrok project. It's free, cross-platform, and what we recommend for every protocol on the sniffer board. Grab it from sigrok.org/wiki/Downloads. Take the nightly build (version 0.5), not the older 0.4 release: only the nightly has the Decoder Output view described under Getting Data Out.

On Windows, plan on running Zadig once. If PulseView can't find your analyzer after installing, Windows needs the WinUSB driver for it. Zadig comes with PulseView, and the Logic Analyzer page walks through it.
The PulseView Setup wizard's welcome screen.
The PulseView installer A standard Windows setup wizard; the defaults are fine.

Connecting Your Device

PulseView opens on its built-in Demo device, a fake analyzer that makes up signals. Switch it to your real one:

  1. Open the device list

    Click the device drop-down in the toolbar (it says Demo device) and choose Connect to Device….

  2. Pick the driver and scan

    Step 1: choose fx2lafw (generic driver for FX2 based LAs). Step 2: leave it on USB. Step 3: click Scan for devices using driver above.

  3. Select it and click OK

    Your analyzer appears as Saleae Logic with 8 channels: these clones borrow the Saleae Logic's USB ID, which is why. Select it, click OK, and the toolbar now shows Saleae Logic with channels D0–D7.

  4. Nothing found?

    On Windows, the driver is missing: run Zadig (see the Logic Analyzer page). On Linux, you likely need the analyzer's firmware or the udev rules from the same page. On any OS, try unplugging, closing PulseView, and reopening it after reconnecting.

The PulseView main window on first launch, showing the Demo device, a sample count of 1 M samples and a sample rate of 200 kHz in the toolbar.
First launch: the Demo device The toolbar holds the device drop-down, then the sample count (1 M samples) and the sample rate (200 kHz).
The Connect to Device dialog with the fx2lafw driver chosen, USB selected, and Saleae Logic with 8 channels found by the scan.
Connect to Device fx2lafw driver, USB, scan, and the analyzer turns up as Saleae Logic with 8 channels.

Setting Up a Capture

Two settings matter before you hit Run, both in the toolbar next to the device: the sample count (left) and the sample rate (right). PulseView doesn't ask how long to capture for: the length is the sample count divided by the rate, so 5 M samples at 1 MHz is 5 seconds.

Get the sample rate too low and you'll miss transitions or misread the signal; get it needlessly high and you'll only fit a moment of signal into your samples. The rule of thumb: sample at least 10–40× faster than the signal you're capturing, so every transition gets several samples around it, not just one right on the edge.

Recommended settings per bus
ProtocolSample rateSample countCaptures
Quadrature (practice)1 MHz20 k20 ms
UART1 MHz5 M5 s
I²C4 MHz10 M2.5 s
SPI4 MHz10 M2.5 s
8-bit parallel100 kHz1 M10 s

Each of those captures every chunk on its bus at least twice, so a chunk cut off at the start or end of the capture turns up whole elsewhere. Click Run once both are set.

Adding Protocol Decoders

A raw capture just shows voltage levels. A decoder is what turns that into bytes and readable annotations. After capturing, click the decoder button in the toolbar (the yellow-green icon) and search by name.

  1. Pick the decoder

    Search for UART, I²C, SPI or Parallel in the decoder list, then double-click it. A new decoder row appears under your channels.

  2. Assign channels

    Click the decoder's name on the left of its row to open its settings. Each decoder asks which captured channel maps to which signal (e.g. RX, or SCL/SDA, or CLK/MOSI/MISO/CS#). The exact assignments for each protocol are on that protocol's own page.

  3. Set protocol-specific options

    Baud rate for UART; CS# polarity and clock mode (CPOL/CPHA) for SPI. Wrong settings here usually show up as garbled or empty decoded output. If that happens, double check these before assuming your capture itself is bad.

The decoder selector filtered by the search 'par', showing the Parallel sync bus decoder and its description.
Finding a decoder Type part of its name: par finds the Parallel decoder, with a description of what it needs underneath.
A Parallel decoder's settings panel open over a capture, listing its inputs CLK and D0 onwards, each with a drop-down to pick a captured channel.
A decoder's settings Click the decoder's name at the left of its row: each of its inputs gets a drop-down to pick the captured channel that feeds it.

Getting Data Out

Once a decoder's running, its output appears as a labeled row under the raw waveform: hover over any decoded item to see its value, or zoom in until the values are readable. To get the bytes out of PulseView, for CyberChef or anything else, use the Decoder Output view:

  1. Open the view

    Use the add-view button in the toolbar (upper left, first option) and choose Decoder Output. It opens a hex dump with an ASCII column alongside, so text is readable right there.

  2. Pick the decoder and its output

    Choose your decoder, then which of its outputs you want:

    DecoderOutput
    UARTTX dump
    I²CData read
    SPIMISO
    ParallelBinary
  3. Save it

    Save as a binary file and you get exactly the decoded bytes, nothing else: drop the file straight into CyberChef. A hex dump save is there too if you'd rather read it.

Skip the CSV export. File → Export and right-click → Export all annotations both work, but every line comes wrapped in sample numbers and decoder names you'd have to strip off. The Decoder Output view gives you just the bytes.

Next: Pick a Protocol

With PulseView talking to your analyzer, head to whichever protocol you're ready to capture: UART, I²C, SPI, or 8-bit parallel. New to all this? Start with the quadrature practice signal.