I2C SPI USB CAN eSPI Cable Testing View All Quick Start Guides User Manuals Software Downloads Knowledge Base Videos Case Studies App Notes White Papers Sales Support About Us
Products Blog Sales Support Contact Search
Using the Beagle I2C/SPI Protocol Analyzer, How Do I Capture and Filter a Specific Bit Pattern to View Only the Data That I Need to See on the SPI Bus?
Rena

Question from the Customer:

I’m using the Beagle I2C/SPI Protocol Analyzer and I could use some advice. I am testing SPI devices, transmitting and receiving 14 bytes of data; each pair (MISO and MOSI) is exchanged during the single byte transfer. The data is bidirectional – I’m receiving data from the master and sending the master a byte of data during the same 8 clock cycles. I want to view the data specifically when MOSI = 0xEE AND MISO = 0x6D.  Can I trigger captures for that specific bit pattern?

Response from Technical Support:

Thanks for your question! For the data condition that you want to view, we recommend using the Beagle analyzer and the Data Center Software. Together, they can filter the data you have defined.  The triggering feature that you are looking for is not available - but  with the Data Center Software, you can use the LiveFilter feature almost like a trigger to filter a specific data pattern to focus on the data that you need to see.  Simply apply the filter to focus on your event(s) of interest, and disable the filter to view the context of the event: see all the transactions that occurred before and after your event.

Beagle I2C SPI Protocol Analyzer Data Center Software can filter complex data patterns
Figure 1: Beagle I2C/SPI Protocol Analyzer Figure 2: Data Center Software

 

The screen shot below is an example of what you will see when using LiveFilter in the Data Center Software with a Beagle Analyzer.

Use Data Center Software to "trigger" data with filters Figure 3: Data Center Software - Filter Data

  1. To set up the filter, click the LiveFilter tab. See Figure 3.
  2. In the text fields, enter the data patterns that you want to filter. In this case, EE for MOSI Data and 6D for MISO Data.
  3. To enable this pattern, click the checkmark  button.

There are many options for filtering and capturing data. For more information about filtering a capture, please refer to section 4.8 of the Data Center Software User Manual. For data pattern conditions, the Data Center Software supports logical OR. For logical AND and other logical conditions, you can use the Beagle Software API and create the specific conditions that you need when you need it. For details about API, please see the section 6 of the Beagle Protocol Analyzer User Manual.

Additional resources that you may find helpful include the following:

We hope this answers your questions. If you have other questions about our protocol analyzers or other Total Phase products, feel free to email us at sales@totalphase.com or submit a request for technical support.