Open Source Logic Analyzer – DSLogic

Open Source Logic Analyzer - DSLogic

Whether you are developing microcontrollers or FPGAs, a protocol analysis tool – the logic analyzer, is often used. Unlike oscilloscopes, it can only collect digital signals, with sampling rates typically ranging from hundreds of MHz to GHz, supporting multiple channels for simultaneous sampling. The accompanying software supports parsing dozens of protocols such as I2C, UART, SPI, which is very helpful for debugging protocols. This article introduces a logic analyzer based on FPGA – DSLogic, which is completely open-source.

It is a FPGA-based logic analyzer developed by the domestic DreamSourceLab, an open-source hardware and software product. From FPGA source code, MCU firmware to the Qt host computer, everything is completely open-source. Check the end of the article for information on how to obtain the materials.

Open Source Logic Analyzer - DSLogic

Successfully crowdfunded 110,000 USD in 2015:Open Source Logic Analyzer - DSLogic
And designed a matching aluminum alloy case:

Open Source Logic Analyzer - DSLogic

Supported communication protocols:
Open Source Logic Analyzer - DSLogic
Maintained by developers worldwide, the types of supported protocols are still increasing:
Open Source Logic Analyzer - DSLogic
Hardware circuit block diagram:
Open Source Logic Analyzer - DSLogic
The FPGA used is Xilinx XC6SLX9 Spartan-6 FPGA, which is quite popular, priced around 20 RMB.
The USB MCU used is Cypress CY7C68013A, a 51 microcontroller with high-speed USB functionality, many logic analyzers priced around 30 RMB are based on this chip.

Open Source Logic Analyzer - DSLogic

Supports two modes: stream mode and buffer mode. Buffer provides a higher sampling rate, while stream mode offers greater sampling depth.
Open Source Logic Analyzer - DSLogic
The highest configuration version supports a maximum sampling rate of 400 MHz. Regarding the sampling rate, we can understand it at a glance from an image.
Open Source Logic Analyzer - DSLogic
Many logic analyzer products’ Qt host software is based on the open-source project – PulseView, the Qt host software DSview also references this project.
Open Source Logic Analyzer - DSLogic

Download Materials

All materials can be downloaded from the official open-source address:

https://github.com/DreamSourceLab

The open-source materials for the DSLogic project currently only include FPGA source code, 51 microcontroller firmware, and Qt host software source code, and no hardware schematics have been seen yet.
Whether or not you want to DIY, the entire project’s FPGA data acquisition, USB communication, Qt host waveform display, and data parsing knowledge are very worth learning.

Summary

This logic analyzer is currently sold on major e-commerce platforms, with configurations varying by sampling rate, including personal basic version, Plus, Pro, corporate version, etc., but all are 16 channels, priced from 299 to 2999.
It is unclear if the official adheres to the spirit of open-source; the 299 RMB personal basic version requires only a small hardware modification to upgrade to the 499 Plus version. In the next article, we will learn how to upgrade.
Reference Material:dreamsourcelab.cn

Original source: Electronic Circuit Development Learning

Copyright belongs to the original author or platform, only for learning reference and academic research. If there is infringement, please contact for deletion~ Thank you

Finally

The brother has collected some embedded learning materials, reply in the public account1024 to find the download link!

Recommended Good Articles  Click on the blue text to jump directly
☞ Collection | Linux Application Programming Complete
☞ Collection | Learn Some Network Knowledge
☞ Collection | Handwritten C Language

☞ Collection | Handwritten C++ Language
☞ Collection | Experience Sharing
☞ Collection | From Microcontroller to Linux
☞ Collection | Power Control Technology
☞ Collection | MCU Advanced Collection
☞ Collection | Embedded C Language Advanced Collection
☞ Collection | Experience Sharing



Leave a Comment