SimonFili Posted June 23, 2017 Share Posted June 23, 2017 Hi all, Received the open scope yesterday. Did the following so far: Installed the digilent agent Upgraded firmware Calibrated Started up http://waveformslive.com/ Captured a few wave gen output and did FFT and played with cursors Then captured a digital stream between an ESP8266 and an AM2302 (Temp/Humid sensor) This is where I have my first question It's stated in the documentation (not much so far I can find) that we have a logic analyzer. So I was expecting to do a little bit more than just seeing triggers and the waveform on the screen. Is there more we can do with the "logic analyzer" than just capturing and seeing a waveform? Looking at https://sigrok.org/ there's definitely more we can do with a logic analyzer. Is there a way to use this hardware with sigrok? Thanks! Link to comment Share on other sites More sharing options...
Kristoff Posted June 23, 2017 Share Posted June 23, 2017 Hey SimonFili, For now the Logic Analyzer in WaveForms Live just displays the digital waveforms. Protocol analysis is one of many features we'd like to implement but we didn't want to hold up release since it is easy for us to push updates to both WaveForms Live and the OpenScope MZ firmware. We wanted to get hardware out there so could prioritize features based on customer feedback. We have not done any work to integrate with Sigrok because we've been focused on WaveForms Live and the OpenScope MZ firmware. Maybe this is something a community member can take a first shot at. -Kristoff Link to comment Share on other sites More sharing options...
SimonFili Posted June 23, 2017 Author Share Posted June 23, 2017 Thanks for the quick answer. Will try to first import in pulseview (sigrok) but the CSV import seems difficult to use... with no doc. Fun stuff! Link to comment Share on other sites More sharing options...
Kristoff Posted June 23, 2017 Share Posted June 23, 2017 Hey I created a protocol analysis feature request issue here on GitHub. I encourage you and anyone else that would like this feature to '+1' the issue to help prioritize it. Thanks! -Kristoff Link to comment Share on other sites More sharing options...
SimonFili Posted June 26, 2017 Author Share Posted June 26, 2017 Did my thumbup.. and added a comment. Link to comment Share on other sites More sharing options...
Kristoff Posted June 27, 2017 Share Posted June 27, 2017 I played around with this a little this afternoon. I was able to pull a CSV exported from WaveForms Live into PulseView and decode the SPI packets. I need to play around some more with the .sr format to know for sure if we can export that directly from WaveForms Live. I'll hopefully have some details tomorrow. -Kristoff Link to comment Share on other sites More sharing options...
avnrdf Posted January 1, 2018 Share Posted January 1, 2018 On 6/27/2017 at 6:15 AM, Kristoff said: I played around with this a little this afternoon. I was able to pull a CSV exported from WaveForms Live into PulseView and decode the SPI packets. I need to play around some more with the .sr format to know for sure if we can export that directly from WaveForms Live. I'll hopefully have some details tomorrow. -Kristoff How exactly did you export the data? I've tried a CSV: I manage to import it into sigrok, but can't get the decoder to work (I'm probably importing it the wrong way: wrong sample rate etc.) Link to comment Share on other sites More sharing options...
Kristoff Posted January 4, 2018 Share Posted January 4, 2018 Hey, The CSV takes a little reformatting. I removed the header row, deleted the time columns and empty space colums. After that I was able to import with the default settings, and configure it as a SPI channel to decode. I attached the original CSV exported from WaveForms Live and an example of the CSV formatted for import into PulseView. Arduino code: #include <SPI.h> #define CS 8 void setup() { pinMode(CS, OUTPUT); //pinMode(11, OUTPUT); digitalWrite(CS, HIGH); SPI.begin(); SPI.setClockDivider(SPI_CLOCK_DIV128); } void loop() { digitalWrite(CS, LOW); SPI.transfer('O'); SPI.transfer('P'); SPI.transfer('E'); SPI.transfer('N'); SPI.transfer('S'); SPI.transfer('C'); SPI.transfer('O'); SPI.transfer('P'); SPI.transfer('E'); SPI.transfer(' '); SPI.transfer('M'); SPI.transfer('Z'); digitalWrite(CS, HIGH); delay(1000); } WaveformsLiveData - Formatted.csv WaveformsLiveData.csv Link to comment Share on other sites More sharing options...
avnrdf Posted January 13, 2018 Share Posted January 13, 2018 @KristoffI imported it as you said, but I'm having trouble getting the decoder to work: The decoder bar remains blank PS: Sorry if it's a simple question. It's the first time I'm using Sigrok, so I'm not sure whether I'm using Sigrok wrong, or importing the file wrong. I tried using a few .sr dumps I found, and the protocol decoder worked fine then. Link to comment Share on other sites More sharing options...
Kristoff Posted January 15, 2018 Share Posted January 15, 2018 Hmm, that looks correct to me. Here is my configuration: I'm using PulseView 0.5.0-git-a98be2 Link to comment Share on other sites More sharing options...
avnrdf Posted January 16, 2018 Share Posted January 16, 2018 Using PulseView 0.5.0-git-b732b48 (which I downloaded from the sigrok page at: https://sigrok.org/wiki/Windows#Windows_installers - I used the 'pulseview-NIGHTLY-32bit-static-release-installer.exe'). Reinstalled it to make sure. I imported "WaveformsLiveData - Formatted.csv" using the default settings (as you did). Then I added the SPI decoder (using the icon > drop down list in the toolbar). I set the decoder options as you did (except with the chip select set to '-', though the result is the same with it set to Ch0 ). It decodes the first packet, but nothing after that: Link to comment Share on other sites More sharing options...
avnrdf Posted January 29, 2018 Share Posted January 29, 2018 @Kristoff As suggested, I used a non-zero sample rate when importing the CSV, and it decodes correctly now. A bug was filed, and subsequently patched: https://sigrok.org/bugzilla/show_bug.cgi?id=1118 Link to comment Share on other sites More sharing options...
Kristoff Posted January 29, 2018 Share Posted January 29, 2018 Glad to hear you were able to get to the bottom of it. Thanks for following up with Sigrok. I'm sure this will save other people time in the future. -Kristoff Link to comment Share on other sites More sharing options...
victagayun Posted July 27, 2019 Share Posted July 27, 2019 Hello, Any tutorial on using https://sigrok.org/ ? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.