Our tutorial video below demonstrates the basics of decoding data using protocol analyzers. The video covers the following topics:
The basics of protocol analyzers
Capturing and decoding SPI data
Configuring the SPI analyzer
Changing the display radix
Navigating using the Data Table
Troubleshooting Incorrect Analyzer Results
1. Using the Analyzer Restart feature
In case an analyzer is producing incorrect results, or in case an analyzer has gotten stuck processing data, one solution might be to restart the analyzer. This will have the same effect as deleting and re-adding the analyzer, and may allow the analyzer to get unstuck from a bad state. To restart the analyzer, click on the three dots next to the analyzer and select "Restart." Contact us if this occurs as this may be a bug in the analyzer.
2. Filtering Glitches from your Capture Data
The glitch filter is designed to help remove noise picked up in the digital recording. This can be especially useful when using protocol analyzers, since present noise may prevent proper decoding of digital data. More information on enabling the glitch filter can be found below.
If you are using the older Logic 1.x software, the following images and instructions apply.
Adding Protocol Analyzers
Protocol Analyzers decode data that have been encoded according to a particular protocol such as SPI or I2C.To add a Protocol Analyzer, click the Plus button on the Analyzers sidebar on the right of the software.
Different analyzers require different settings.
All protocol analyzers require you to specify which channels should be used for specific inputs used by the protocol.
If, after running a protocol analyzer, you notice that it doesn't work or doesn't display correctly, you may want to try editing the settings. For example, the SPI Analyzer must be set up to match the data exactly for correct decoding.
To edit the settings for an existing analyzer, find that analyzer in the Analyzers panel on the right of the software. Click the gear button and select Edit Settings.
After editing your analyzer settings, the analyzer will rerun against any data you have collected and will update all results.
Changing the Global Radix (Hex, Decimal, etc)
By default, all protocol analyzers will use the global radix settings.
To change the global radix, click the Options button at the top right of the software and then click the desired radix: Ascii, Ascii & Hex, Binary, Decimal, or Hexadecimal.
You can also use the keyboard shortcuts CTRL-A, CTRL-B, CTRL-D, or CTRL-H for Ascii, Binary, Decimal, or Hexadecimal, respectively.
Sometimes you need to specify a different radix for different analyzers. To do that, locate the analyzer you would like to change in the Analyzers panel on the right of the software. Click the gear button and select the desired radix button.
Edit the Analyzer Name
If you like, you can edit the name of the analyzer to help keep track of what it is connected to. On the desired analyzer, click on the text to rename.
Starting an Analyzer at a Specific Point in the Software
Sometimes it is desirable to start the analyzer only at a specified location in your data. A common use for this is if you are using SPI without an enable line. A transition on the enable line is normally required to synchronize the analyzer and allow it to start decoding.
When using SPI with no enable line (and in other desired instances), it is possible that the capture will start in the middle of a byte transition, and it will not have a means to properly find the beginning of a byte. In this case, you can manually set the starting location by first setting the A1 timing marker at the desired starting location.
Then click the Analyzer's gear button and select Re-run starting at the timing marker.
Viewing Protocol Analyzer Results
When a protocol analyzer successfully decodes data, colored regions will appear above the digital waveform where a byte or other bit-field is transmitted. Be sure to zoom in far enough to see the transitions making up a particular byte or bit-field.
In addition to displaying results over the digital waveform (in context), results are displayed in a list in the Decoded Protocols panel on the right of the software.
Clicking an individual item in this list will zoom to that location in the digital waveform.
Searching Analyzer Results
To search for a specific result, type the exact text you would like to match. For example, if you would like to find transactions involving the I2C address 0x42, type 0x42 (assuming the display radix is hexadecimal).
Filter Analyzer Results to a Specific Range
To limit the protocol results to a specific range, first add a timing marker pair with marker 1 and marker 2 placed at the beginning and end of the area on the graph you would like to search.
Then open the settings menu for the protocol search panel and select Search Between Timing Markers.
Then, from the "Choose timing markers" dialog, select the pair that you have just placed around the activity and click Search.
The results are now filtered to all enabled analyzers within that time range.