Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gamblor21/rp2040-logic-analyzer
Using a RP2040 Pico as a basic logic analyzer, exporting CSV data to read in sigrok / Pulseview
https://github.com/gamblor21/rp2040-logic-analyzer
Last synced: 2 months ago
JSON representation
Using a RP2040 Pico as a basic logic analyzer, exporting CSV data to read in sigrok / Pulseview
- Host: GitHub
- URL: https://github.com/gamblor21/rp2040-logic-analyzer
- Owner: gamblor21
- License: bsd-3-clause
- Created: 2021-02-12T00:47:11.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-12T01:40:20.000Z (almost 4 years ago)
- Last Synced: 2024-10-04T11:29:39.187Z (3 months ago)
- Language: C
- Size: 6.84 KB
- Stars: 86
- Watchers: 7
- Forks: 20
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rp2040-logic-analyzer
This project modified the PIO logic analyzer example that that was part of the
Raspberry Pi Pico examples. The example now allows interactive configuration
of the capture to perform and outputs the capture in CSV format suitable for
importing into sigrock / Pulseview for further analysis.To use the analyzer install it on a Pico and connect to the COM port at 921600
baud. Once connected press h to get help of the commands. The capture is
only limited by the abilities of the Pico.The commands are:
* p# - Set the first pin to receive capture data
* n# - Set how many pins to receive capture data
* f# - Set the freqency to capture data at in Hz
* t(1)(0) - Set the trigger to high or low. Trigger happens off first pin
* s# - Set how many samples to capture
* g - Go!Once "go" is selected the trigger will arm and wait for the specified signal.
The output is a CSV file, each line contains every pin being sampled. The output
can be saved with any program that can read a serial port to a file. Just be
aware a large number of samples can take quite a while to transfer. The
onboard LED will blink as the transfer is happening so you can know when to end
the save.