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.
Connecting Your Device
PulseView opens on its built-in Demo device, a fake analyzer that makes up signals. Switch it to your real one:
-
Open the device list
Click the device drop-down in the toolbar (it says Demo device) and choose Connect to Device….
-
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.
-
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.
-
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.
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.
| Protocol | Sample rate | Sample count | Captures |
|---|---|---|---|
| Quadrature (practice) | 1 MHz | 20 k | 20 ms |
| UART | 1 MHz | 5 M | 5 s |
| I²C | 4 MHz | 10 M | 2.5 s |
| SPI | 4 MHz | 10 M | 2.5 s |
| 8-bit parallel | 100 kHz | 1 M | 10 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.
-
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.
-
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.
-
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.
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:
-
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.
-
Pick the decoder and its output
Choose your decoder, then which of its outputs you want:
Decoder Output UART TX dump I²C Data read SPI MISO Parallel Binary -
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.
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.