Build Your Own Open Source Logic Analyzer: nanoDLA

Build Your Own Open Source Logic Analyzer: nanoDLA

nanoDLA is an open-source logic analyzer launched by the laboratory, implemented using the Cypress CY7C68013A (hereinafter referred to as FX2LP) chip solution (this is a classic chip nearly 20 years old). It can support a maximum of 24MHz 8-channel simultaneous sampling. Generally speaking, a sampling rate of 24MHz can sample signals with a frequency of about 5MHz, which is sufficient for waveform analysis in most scenarios. It is more than enough to handle common UART, I2C, and low-speed SPI protocols. Of course, friends with higher demands can also purchase higher-performance logic analyzers, such as Saleae, DSLogic, etc.

Build Your Own Open Source Logic Analyzer: nanoDLA

FX2LP is a 51 microcontroller with USB 2.0 high speed. I think the most impressive feature is its USB IP design. The main frequency of the 51 microcontroller is not high, making it difficult to support USB 480Mbps high-speed communication. Therefore, this chip is designed with an IP called GPIF, which allows high-speed data transfer directly between GPIO and USB without CPU intervention. Moreover, GPIF can be programmed and configured to support different protocols, making it flexible and efficient. You can still see this chip in many places today, typically in scenarios involving data transfer between FPGA and PC (in fact, a FX2LP chip is used for high-speed transfer between DSLogic and PC), making it a classic application for logic analyzers.

Build Your Own Open Source Logic Analyzer: nanoDLA

With the development of the open-source community Sigrok, FX2LP can now fully run the open-source firmware fx2lafw, working in conjunction with the open-source host software PulseView. Currently, most logic analyzers based on FX2LP use Saleae’s pirated firmware along with pirated host software Logic. For an open-source enthusiast, this is a bit uncomfortable. In fact, PulseView’s functionality is already very powerful, not inferior to current commercial host software, supporting countless LA hardware and over 100 protocol analyses, easy to use, and most importantly, it is open-source. You can modify the code at any time to add new protocol support or new features.

All materials related to nanoDLA have been organized on GitHub, including user manuals, hardware schematics, firmware source code, programming scripts, etc. Please feel free to use them.

Build Your Own Open Source Logic Analyzer: nanoDLA
You can download from the blogger’s GitHub below. If the network is not good, Old Yu has also provided a complete copy for everyone.

Baidu Netdisk:

Link: https://pan.baidu.com/s/1BIJEP4NMNZNdAwlCYWs9Aw

Extraction code: vx2c

References

https://www.cypress.com/products/ez-usb-fx2lp

https://github.com/wuxx/nanoDLA

Build Your Own Open Source Logic Analyzer: nanoDLA

Thank you all, thank you muselab. Regarding the learning of embedded software and hardware, I hope everyone enjoys!

This article is authorized and originally published by the author muselab. Interested friends can follow the blog muselab and the bilibili account:Main Sound-x

Build Your Own Open Source Logic Analyzer: nanoDLA
Build Your Own Open Source Logic Analyzer: nanoDLA

Classic in-depth analysis! How is the automatic downloading circuit of ESP8266/ESP32 cleverly implemented?

Build Your Own Open Source Logic Analyzer: nanoDLA

[Issue 4] Creative works of electronic components, including high-definition original images, a total of 80 pieces

Build Your Own Open Source Logic Analyzer: nanoDLA

A collection of computer hardware diagrams with a resolution of 10800*14400 and a size of 155MB, hurry up and collect!

Build Your Own Open Source Logic Analyzer: nanoDLA

Is a 3 yuan postage-free nickel-hydrogen battery charger safe given such a low cost?

Leave a Comment

×