Protocol Analyzers decode data that has been encoded according to a particular protocol, such as SPI or I2C. The Logic software currently offers 23 different protocol analyzers.
Adding Protocol Analyzers
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 re-run 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.
Changing Analyzer-Specific Radix (Hex, Decimal, etc)
Sometimes you need to specify a different radix for different analyzers. To do this, 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 re-name.
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 timing marker.
Viewing Protocol Analyzer Results
When a protocol analyzer successful 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.
Exporting Analyzer Results
To export the results of a particular protocol analyzer, click the Gear button on that analyzer and select Export as text/csv file.
To export more than one protocol analyzer, or a only results that match your search, click the Gear button on the Decoded Protocols panel and select Export search results.
trello ID: 57215c96cb44251902be82bf