Skip to content

Use a raspberry pi pico (rp2040) as a logic analyzer and oscilloscope with sigrok

Notifications You must be signed in to change notification settings

TinyRetroWarehouse/sigrok-pico

 
 

Repository files navigation

As of 28 Sept 2023 this pull request has been merged into mainline sigrok (sigrokproject/libsigrok#181) It is highly recommended to install from https://sigrok.org/wiki/Downloads

Please start with the Getting Started page : https://github.com/pico-coder/sigrok-pico/blob/main/GettingStarted.md ///////////////////////////////////////////////////////////////// Building this repo: Bbuilding is not recommended, but some people insist on trying.....)

I once did a cross compile of PulseView for windows. The instructions and installer are left in place for historical reference, they are likely out of date. Instructions to download my build are here https://github.com/pico-coder/sigrok-pico/blob/main/pulseview/Readme.md Again, please use the main sigrok installer.

For linux, many people have managed to combine my pull request into a libsigrok build. If you are on linux it's probably a practical experiment to try. 4GB of RAM is recommended for pulseview builds to avoid disk swap issues. See SigrokBuildNotes.md

sigrok-pico

Use a raspberry pi pico (rp2040) as a logic analyzer and oscilloscope with sigrok. This implementation uses the pico SDK CDC serial library to communicate with sigrok-cli/pulseview through a sigrok driver.

Directories:

pico_pgen is a simple digital function generator useful for creating patterns to test.

pico_sdk_sigrok is the pico sdk C code for the PICO RP2040 device.

The latest libsigrok code exists as a fork at https://github.com/pico-coder/libsigrok

Files

PICOBuildNotes.md - build notes for building the PICO device assuming you have gone through the PICO C SDK "getting started with PICO".

SigrokBuildNotes.md - rough libsigrok build notes which will be depracated once raspberrypi_pico is mainline

GettingStarted.md - quick run down on setting things up.

AnalyzerDetails.md - details on supported modes of the analyzer and various limitations.

SerialProtocol.md - details of the "over the wire" protocol used between the sigrok driver and the device.

About

Use a raspberry pi pico (rp2040) as a logic analyzer and oscilloscope with sigrok

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.6%
  • CMake 1.4%