# SPMI analyzer

**URL:** <https://discuss.saleae.com/t/spmi-analyzer/2110>\
**Category:** Uncategorized\
**Created:** [February 23, 2023, 1:41am UTC](https://discuss.saleae.com/t/spmi-analyzer/2110 "2023-02-23T01:41:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![msp2464](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@msp2464](https://discuss.saleae.com/u/msp2464)\
**Post date:** [February 23, 2023, 1:41am UTC](https://discuss.saleae.com/t/spmi-analyzer/2110/1 "2023-02-23T01:41:28Z")

</div>

Hi,

I want to analyze SPMI protocol but I think Logic 8 doesn’t support this.

Is there any way to get extention or analyze SPMI protocol?

Somebody please help me!!

---

<div class="post-metadata">

**Author:** ![timreyes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/timreyes/32/108_2.png) [@timreyes](https://discuss.saleae.com/u/timreyes)\
**Post date:** [February 24, 2023, 4:30am UTC](https://discuss.saleae.com/t/spmi-analyzer/2110/2 "2023-02-24T04:30:41Z")

</div>

@msp2464 Thanks for writing in. We unfortunately don’t have official support for an SPMI protocol anlayzer. However, there may be a few options available for you in case a member of our community is unable to share their solution.

1. You can create a custom low level analyzer (LLA) using our protocol analyzer SDK below.  
[Protocol Analyzer SDK - Saleae Support](https://support.saleae.com/saleae-api-and-sdk/protocol-analyzer-sdk)

2. At first glance, SPMI data looks like it can be decoded at a low level using our pre-installed SPI analyzer. Afterwards, you can create a python high level analyzer (HLA) that sits on top of the SPI analyzer to provide additional decoding specific to the SPMI protocol. More information on high level analyzers and creating them can be found in the link below:  
[Software Extensions - Saleae Support](https://support.saleae.com/extensions)

If you happen to have a [capture file](https://support.saleae.com/user-guide/using-logic/saving-loading-and-exporting-data) (in .sal file format) with the SPMI data that you’d like to decode, feel free to upload that here and I can take a look if our pre-installed SPI analyzer can perform low level decoding on it.

---

<div class="post-metadata">

**Author:** ![msp2464](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@msp2464](https://discuss.saleae.com/u/msp2464)\
**Post date:** [March 2, 2023, 4:26am UTC](https://discuss.saleae.com/t/spmi-analyzer/2110/3 "2023-03-02T04:26:08Z")

</div>

Thank you for supporting.

As you mentioned, If SPI analyzer can perform decoding on it, It would be very helpful for me.

I will upload the capture file as soon as possible.

Thanks.

---

<div class="post-metadata">

**Author:** ![msp2464](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@msp2464](https://discuss.saleae.com/u/msp2464)\
**Post date:** [March 2, 2023, 4:51am UTC](https://discuss.saleae.com/t/spmi-analyzer/2110/4 "2023-03-02T04:51:14Z")

</div>

Uploading: Session 0.sal…

I’d like to share the file, but there’s some error.

I don’t know why it is. I can’t upload it.

So, I have some questions.  
In SPI protocol, there are four inputs like MOSI, MISO, Clock, Enable.

Otherwise, SPMI has only two inputs like SPMI\_CLK and Date.

How do you decode it by SPI analyzer?

And what is different between LLA and HLA?

Please let me know.

---

<div class="post-metadata">

**Author:** ![timreyes](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.saleae.com/timreyes/32/108_2.png) [@timreyes](https://discuss.saleae.com/u/timreyes)\
**Post date:** [March 3, 2023, 12:25am UTC](https://discuss.saleae.com/t/spmi-analyzer/2110/5 "2023-03-03T00:25:08Z")

</div>

@msp2464 Sorry about the upload issue! I generated an upload link that you can use below:  
[https://www.dropbox.com/request/NY9vj6Qb9wBR2BMx7IBY](https://www.dropbox.com/request/NY9vj6Qb9wBR2BMx7IBY)

To answer your questions below:

> [@msp2464](#):
>
> In SPI protocol, there are four inputs like MOSI, MISO, Clock, Enable.
> 
> Otherwise, SPMI has only two inputs like SPMI\_CLK and Date.
> 
> How do you decode it by SPI analyzer?

You can set it up as follows using our SPI analyzer:

- Clock → SPMI\_CLK
- MOSI → Data
- MISO → leave blank
- Enable → leave blank

> [@msp2464](#):
>
> And what is different between LLA and HLA?

A low level analyzer (LLA) performs the first pass decoding of raw digital data from a digital channel. Our pre-installed analyzers are LLAs, such as our Async Serial analyzer, SPI analyzer, and I2C analyzer.

A high level analyzer (HLA) is a “2nd layer” analyzer that sits on top of an LLA to provide additional decoding. HLAs are written in Python. In your use case, if the SPI analyzer works to decode your data, you can create a Python HLA that performs further decoding that might be specific to the SPMI protocol. More information on high level analyzers and creating them can be found in the link below:  
[Software Extensions - Saleae Support](https://support.saleae.com/extensions)
