16

Quad-SPI (QSPI) and Octa-SPI support


N
Nik

SPI analyzer capable to decode Single, Dual. Quad and Octa SPI transactions.
Quad SPI FLASH are very common in embedded designed. Octa-SPI FLASH is also available by all the leading vendors.
Quad-SPI displays are also already in the market.

A

Activity Newest / Oldest

A

Addio

I just made one in the last couple days. If there are any bugs, or features I missed please let me know via issues on github. Unfortunately I only released Windows builds so far, so if your on Linux or Mac you will have to compile yourself. When I get around to creating a Linux build environment I will release Linux versions, and maybe I can borrow my friends Mac to get a Mac release too. github.com/AddioElectronics/QSPI-Analyzer


  • Avatar
Avatar

Tim

Thanks so much for sharing your project! I added your QSPI analyzer to our list of community created analyzers below.
support.saleae.com/community/community-shared-protocols


A

Addio

No problem! Thank you for adding it.


M

Matan

I wanted to ask if and how I can use your analyzer to parse Dual SPI with only two data lines (CLK, CS , DO, DI).
Thanks


Avatar

Tim

(#76337)
"Another one we would like to monitor is QSPI. Thanks."


C

Cornel

I was wondering if Saleae made any progress toward developing a QUAD SPI analyzer? The QUAD has definitely increased in popularity over the years. I hope I can see a QUAD SPI decoder in the list in the near future :) (and from this point, once QUAD SPI is validated, all the other similar flavors, like DUAL, OCTA and even QPI should be easily implemented)


Avatar

Tim

No progress on this unfortunately due to higher priority items on our plate. I really wished we could start working on this...

For now, you'll have to rely on a few community shared analyzers that was mentioned below, namely QSPI and SPI Flash:
support.saleae.com/protocol-analyzers/community-shared-protocols


A

Is the QSPI analyzer in the community page actually working on latest LOGIC software?


Avatar

Tim

Yes, I've confirmed their provided x64 dll to be working on Win10 (see image attached).
github.com/dedicatedcomputing/saleae_qspi/tree/master/Releasex64


D

David

I'm getting an error when this analyzer is loaded. I'm following these instructions: support.saleae.com/faq/technical-faq/setting-up-developer-directory. What am I missing?


Avatar

Tim

Strange... could you send me (Tim) a message through the link below? This will open up a support ticket and we can look into it for you. Please also attach the .dll that you have attempted to load on your end and we can try it over here as a first step.
contact.saleae.com/hc/en-us/requests/new


D

David

Done.


Avatar

Tim

Got it! We'll be in touch via email soon.


H

Harald

I just got asked to give some help with an upcoming QSPI interface to be debugged/traced, so:
* is there a way to follow your plans, do early testing, ...?
* would it be possible to define 4 SPI analyzers and write a HLA combining those 4 channles (maybe into a 5th "SPI analyzer" then showing the combines data?
* otherwise at least for 1st tests I'd just export 4 SPIs (either binary or CSV) and write external "merger" script (which would be ugly and not allow to interactivly analzysing date in the Logic UI)


Avatar

Tim

1. Unfortunately, QSPI is not on our roadmap at the moment, and therefore, we don't have a means of early testing.
2. HLAs unfortunately cannot combine inputs from multiple LLAs, though this is a feature request we are tracking here (ideas.saleae.com/b/feature-requests/high-level-analyzer-combine-data-from-multiple-sources/)

Some alternative options below:
- You may give the community-shared QSPI analyzer a try, though it looks like the original developer hasn't updated it in several years (github.com/dedicatedcomputing/saleae_qspi)
- You may also create an HLA that sits on top of our Simple Parallel Analyzer LLA, which already supports a single CLK and multiple parallel data lines. You could use the "SPI Flash Analyzer for Logic 2" HLA extension available from the Extensions Marketplace in our app as an example for creating a potential QSPI HLA that sits on top of our Simple Parallel Analyzer.


T

Tyler

We are getting a similar error here when trying to load on our PC in the lab that does not have internet access, were you able to find a solution?


Avatar

Tim

Feel free to send me (Tim) a message through the link below and we can open up a support ticket and can take a look.
contact.saleae.com/hc/en-us/requests/new


K

KurtE

It would be great to have an official version. I have been playing with both the two mentioned in threads. Neither is for for example setup to properly decode simple 8mb PSRAM chips that are used for Teensy 4.1 or ESP32... The QSPI analyzer user analyzer does handle the quad write command. Also you have to manually switch it from SPI, to QSPI. So for example you can either see the setup data or the quad stuff. The SPI Flash analyzer is nicer but again it is geared specifically for flash. Not sure how difficult it would be to add support for PSRAM...