Author Topic: Rigol MSO1104 SPI logic analyser decode problem [SOLVED]  (Read 5682 times)

0 Members and 1 Guest are viewing this topic.

Offline FrankTTopic starter

  • Regular Contributor
  • *
  • Posts: 176
  • Country: au
Rigol MSO1104 SPI logic analyser decode problem [SOLVED]
« on: December 24, 2014, 08:23:28 pm »
I'm trying to use the SPI decode feature on the logic analyser inputs.  It appears to be decoding a bit on both the rising and falling edges of the clock (See attached picture).

I can get it to work with an analog input,  not a digital one.

Does anyone know if I'm missing a setting?  I couldn't find anything.
« Last Edit: January 09, 2015, 06:27:33 am by FrankT »
 

Offline Howardlong

  • Super Contributor
  • ***
  • Posts: 5392
  • Country: gb
Re: Rigol MSO1104 SPI logic analyser decode problem
« Reply #1 on: December 25, 2014, 12:28:28 pm »
Is it undersampling?

Try speeding up the trace a notch. The sampling rate for decoding is a lot less than the scope's sampling rate, but it moves up and down with the timebase. Sadly you don't seem to be able to manually adjust the decode sampling rate on this series of scopes.
 

Offline FrankTTopic starter

  • Regular Contributor
  • *
  • Posts: 176
  • Country: au
Re: Rigol MSO1104 SPI logic analyser decode problem
« Reply #2 on: December 25, 2014, 10:32:15 pm »
Thanks,

I tried that without success.  I looks buggy.  If I switch the clock line from the digital input to an analog input, it works.  If I slow the SPI clock down to 25kHz, I get decoded byte on every clock pulse.

 

Offline Howardlong

  • Super Contributor
  • ***
  • Posts: 5392
  • Country: gb
Re: Rigol MSO1104 SPI logic analyser decode problem
« Reply #3 on: December 27, 2014, 02:37:31 pm »
Just tried it myself.  Check that, if the SPI decode mode is set to Timeout (rather than CS), the decode timeout is sufficient, or use the CS mode.

It seemed to work for me.

 

Offline smgvbest

  • Supporter
  • ****
  • Posts: 632
  • Country: us
    • Kilbourne Astronomics
Re: Rigol MSO1104 SPI logic analyser decode problem
« Reply #4 on: December 28, 2014, 10:30:55 pm »
Just tried it myself.  Check that, if the SPI decode mode is set to Timeout (rather than CS), the decode timeout is sufficient, or use the CS mode.

It seemed to work for me.

If I understood the OP correctly he is having the issue on the Digital inputs not the analog ones.   from the look of you screen capture your on the analog inputs. 

I could be wrong though.
Sandra
(Yes, I am a Woman :p )
 

Offline Howardlong

  • Super Contributor
  • ***
  • Posts: 5392
  • Country: gb
Re: Rigol MSO1104 SPI logic analyser decode problem
« Reply #5 on: December 29, 2014, 12:17:03 am »
Thank you for the clarification, Sandra, you're right. I'll test again tomorrow, it's late here.
 

Offline Howardlong

  • Super Contributor
  • ***
  • Posts: 5392
  • Country: gb
Re: Rigol MSO1104 SPI logic analyser decode problem
« Reply #6 on: December 29, 2014, 01:40:48 am »
I couldn't stop myself, I had to deal with it now, even though it is 0130 here. It looks like my comments are still valid on the LA as well as analogue channels. Firmware is the recently semi-released beta to fix the jitter problem some people were encountering and the AC coupled trigger.


8 bit decode




16 bit decode




Use of CS rather than timeout (default) mode: if you have CS available this makes sense. or you have to fiddle with the Timeout value
 

Offline FrankTTopic starter

  • Regular Contributor
  • *
  • Posts: 176
  • Country: au
Re: Rigol MSO1104 SPI logic analyser decode problem
« Reply #7 on: December 29, 2014, 07:23:45 am »
That's good to hear.  Where did you get the semi-released beta?
 

Offline smgvbest

  • Supporter
  • ****
  • Posts: 632
  • Country: us
    • Kilbourne Astronomics
Re: Rigol MSO1104 SPI logic analyser decode problem
« Reply #8 on: December 30, 2014, 04:48:15 am »
I hope they release this soon.   
Sandra
(Yes, I am a Woman :p )
 

Offline Howardlong

  • Super Contributor
  • ***
  • Posts: 5392
  • Country: gb
Re: Rigol MSO1104 SPI logic analyser decode problem
« Reply #9 on: December 30, 2014, 09:33:34 am »
That's good to hear.  Where did you get the semi-released beta?

It was available for a few days from Rigol about a month ago as a beta to fix the now infamous, if rarely noticed, AC trigger coupling and jitter problem. Unfortunately, for many users it also introduced a new feature where the front panel was very frequently either unresponsive or produced erratic random keypresses at startup, resolved by switching off and on again. There was also no way to return to your previous version.

 

Offline FrankTTopic starter

  • Regular Contributor
  • *
  • Posts: 176
  • Country: au
Re: Rigol MSO1104 SPI logic analyser decode problem [SOLVED]
« Reply #10 on: January 09, 2015, 06:29:16 am »
The latest firmware, 00.04.02 SP4, has fixed the problem.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf