Protocol Analyzers decode data that have been encoded according to a particular protocol such as SPI or I2C. The Logic software currently offers 23 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 rerun against any data you have collected and will update all results.
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.
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.
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.
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.
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).
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.