Contact an Expert

Thread: SPI bus decoding ?


Permlink Replies: 9 - Pages: 1 - Last Post: May 19, 2014 10:48 AM Last Post By: Alx
Alx

Posts: 20
Registered: 12/28/11
SPI bus decoding ?
Posted: Apr 5, 2012 12:05 AM
Click to report abuse...   Click to reply to this thread Reply
Hi,
is it available any LA sw plug-in to decode (or Inverse assemble) for Serial Peripheral Interface bus (SPI) ?
I have some set-up with DAC (dig-to-analog converter) and Flash memory which needs to be debugged
(both are SPI).
Thanks
algoss


Posts: 586
Registered: 11/03/06
Re: SPI bus decoding ?
Posted: Apr 6, 2012 6:50 AM   in response to: Alx in response to: Alx
Click to report abuse...   Click to reply to this thread Reply
Alx,

You have 2 ways you can go with this.

  • An optional (for pay) SW tool, called B4602A Signal Extractor, that will extract the serial SPI data, and display it as parallel SPI data. It won't do any protocol decode. The list price is about $2900. Information is in the LA help file.

  • A separate HW tool from Advanced Logical Devices (www.ald.com) that will convert the serial data stream to parallel, in hardware, allowing triggering, etc.

The HW solution is much better, and less expensive. Since it uses HW to parallelize the data it uses LA memory much more efficiently, and basic triggering is available.

If you have a specific protocol in mind on SPI that you want to decode, there is another optional SW tool, B4641A Protocol Development Kit. It allows you build write a decoder for your protocol. Used in conjunction with the ALD HW, it will allow protocol-level triggering on SPI 'packets'. It costs about $3900. Information on this is also in the LA help file.

Al
Alx

Posts: 20
Registered: 12/28/11
Re: SPI bus decoding ?
Posted: May 17, 2013 12:41 AM   in response to: algoss in response to: algoss
Click to report abuse...   Click to reply to this thread Reply
ALD HW solution is really good, but limited to 8MHz SPI clock maximum.
How is better to do triggering/decoding when debugging modern SPI flash memories,
where SPI clock could be around 66MHz...85MHz and even 100MHz,
above that there are double and quad data transfer modes (when several data lines
are involved) ??
algoss


Posts: 586
Registered: 11/03/06
Re: SPI bus decoding ?
Posted: May 17, 2013 3:46 PM   in response to: Alx in response to: Alx
Click to report abuse...   Click to reply to this thread Reply
Back in the Dark Ages, SPI was limited to 8MHz. Now, of course, like everything else, it goes much faster. There are no faster solutions for the Logic Analyzer, but there are several families of Agilent Oscilloscopes that support SPI with HW-based triggering, at up to 100 MHz. This would include the 3000X, 4000X, 7000B, 9000A families. There may be others. In every case, the signal going into the front of the scope is split out to an FPGA that handles the real-time triggering. Both protocol-based triggering and 'packet' level decode are available as options.

Al
Alx

Posts: 20
Registered: 12/28/11
Re: SPI bus decoding ?
Posted: May 13, 2014 4:11 AM   in response to: algoss in response to: algoss
Click to report abuse...   Click to reply to this thread Reply
Hi,
In recent LA v5.80 installation package Readme it is mentioned:

" I2C, SPI and CAN decode support
Added the ability to decode I2C, SPI and CAN and provided basic configuration files for signal capture and elementary decode. There are complimentary default configuration files and decode algorithms for use with the Signal Extractor Tool which is native to the logic analyzer application and interface. The decoders can work off of transitional timing data which potentially allows for extremely long target time capture periods. Readme files providing further information about these slow speed serial bus decoder solutions can be found in the Signal Extractor “Complimentary” directory ".

Where I can find that "Complimentary" directory with Signal Extractor files ? Inside ISO image of DVD ??

I did my LA SW update by SetupLA05801004.exe

Thanks!
algoss


Posts: 586
Registered: 11/03/06
Re: SPI bus decoding ?
Posted: May 13, 2014 6:27 AM   in response to: Alx in response to: Alx
Click to report abuse...   Click to reply to this thread Reply
Alx,

I just loaded the latest SW, and I can't find the files mentioned either. I have asked the factory for help. That said, to use the complimentary files you will still need to have a license for the B4602A Signal Extractor tool. The B4602A is intended as a sort of development environment, and the examples won't work without it.

Al

Disclaimer: For more reliable response, you should consider calling your local Agilent Technical Call Center. The Agilent Forums are monitored on an "as available" basis, and aren't necessarily the fastest way to get technical questions answered.
Alx

Posts: 20
Registered: 12/28/11
Re: SPI bus decoding ?
Posted: May 13, 2014 8:25 AM   in response to: algoss in response to: algoss
Click to report abuse...   Click to reply to this thread Reply
Hi Al,

I checked about the B4602A license presence, I think it is installed in my config
(you can reference to the picture attached).

Another problem I found, when installing LA SW v5.80 on some PC
as the first-time installation - that is running smoothly.
If I perform mentioned installation on some PC, where previously LA SW v5.70
was installed (of course, I uninstalled previous version preliminary) - I always get Error message
(Pls, reference to the picture attached).

I have WinXP SP3 32-bit, I verified both ISO (DVD bundle) and .exe bundle installation.

PS Sorry, I did not put last problem into another topic of this Forum. Just made all things together.

Thanks!!
algoss


Posts: 586
Registered: 11/03/06
Re: SPI bus decoding ?
Posted: May 15, 2014 1:19 PM   in response to: Alx in response to: Alx
Click to report abuse...   Click to reply to this thread Reply
OK, well you have the right license, you just need the files. I haven't gotten an answer back on where the files are. It's training week for the sales force, so a lot of factory guys are tied up with that.

I don't know why you can't load the 5.80.1004 SW on the second PC. Either the file, or the PC, have a problem. Try the file on a third PC, or try downloading it again. I have downloaded it here, and loaded it on 4 or 5 different PC's, including one old laptop with XP SP3 on it, with no problems.

One point, though. In general you need all of the latest .NET patches, in addition to the latest Windows patches (which usually don't include .NET), so you should use Microsoft Update (which still works) and verify that you have everything.

Al
algoss


Posts: 586
Registered: 11/03/06
Re: SPI bus decoding ?
Posted: May 16, 2014 2:10 PM   in response to: algoss in response to: algoss
Click to report abuse...   Click to reply to this thread Reply
I found the files you were looking for. They are at C:\Users\Public\Documents\Agilent Technologies\Logic Analyzer\Extractor Algorithms\Complimentary

They do NOT need a license to run.

Al
Alx

Posts: 20
Registered: 12/28/11
Re: SPI bus decoding ?
Posted: May 19, 2014 10:48 AM   in response to: algoss in response to: algoss
Click to report abuse...   Click to reply to this thread Reply
Hi,
you were right, - my installation package was somehow corrupted.
I re-downloaded it again and installed smoothly !

Also, on WinXP SP3 32-bit, respective path to SPI files is following:

c:\Documents and Settings\All Users\Documents\Agilent Technologies\Logic Analyzer\Extractor Algorithms\Complimentary

Thank you very much for support!

Point your RSS reader here for a feed of the latest messages in all forums