Skip to content

Use a raspberry pi pico (rp2040) as a logic analyzer and oscilloscope with sigrok. Forked from https://github.com/pico-coder/sigrok-pico

License

Notifications You must be signed in to change notification settings

palmerr23/sigrok-pico

 
 

Repository files navigation

This is a fork of https://github.com/pico-coder/sigrok-pico with the following changes:

• Offsets the ADC voltage to change the PulseView display to display 1/2scale (0x40) as 0V. The change is to accommodate the input conditioning hardware developed for Silicon Chip magazine.

• The ADC sample rate has been increased to 2.4MHz using the approach described in https://forums.raspberrypi.com/viewtopic.php?t=365702

• The maximum digial sample rate has been increased to 240MHz by enabling options in the original code.

Please DO NOT offer pull requests to this fork, it may be updated from time to time from the main repo.

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. Forked from https://github.com/pico-coder/sigrok-pico

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.4%
  • CMake 1.6%