Rigol MSO1104 SPI logic analyser decode problem [SOLVED] - Page 1
Forum section: electronics / testgear

author: FrankT
author_rank: Regular Contributor
timestamp: December 24, 2014, 08:23:28 pm
content: 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.

author: Howardlong
author_rank: Super Contributor
timestamp: December 25, 2014, 12:28:28 pm
content: 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.

author: FrankT
author_rank: Regular Contributor
timestamp: December 25, 2014, 10:32:15 pm
content: 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.

author: Howardlong
author_rank: Super Contributor
timestamp: December 27, 2014, 02:37:31 pm
content: 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.

author: smgvbest
author_rank: Unknown
timestamp: December 28, 2014, 10:30:55 pm
content: Quote from: Howardlong on December 27, 2014, 02:37:31 pmIf 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.

author: Howardlong
author_rank: Super Contributor
timestamp: December 29, 2014, 12:17:03 am
content: Thank you for the clarification, Sandra, you're right. I'll test again tomorrow, it's late here.

author: Howardlong
author_rank: Super Contributor
timestamp: December 29, 2014, 01:40:48 am
content: 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 decode16 bit decodeUse of CS rather than timeout (default) mode: if you have CS available this makes sense. or you have to fiddle with the Timeout value

author: FrankT
author_rank: Regular Contributor
timestamp: December 29, 2014, 07:23:45 am
content: That's good to hear. Where did you get the semi-released beta?

author: smgvbest
author_rank: Unknown
timestamp: December 30, 2014, 04:48:15 am
content: I hope they release this soon.

author: Howardlong
author_rank: Super Contributor
timestamp: December 30, 2014, 09:33:34 am
content: Quote from: FrankT on December 29, 2014, 07:23:45 amIt 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.

author: FrankT
author_rank: Regular Contributor
timestamp: January 09, 2015, 06:29:16 am
content: The latest firmware, 00.04.02 SP4, has fixed the problem.