Fixing someone else's code ( https://github.com/perexg/picoprobe-sump )
Go to file
Triss 7056224c4f yes! hahaha... YES!!
(it compiles & works now)
2021-07-17 22:34:19 +02:00
src yes! hahaha... YES!! 2021-07-17 22:34:19 +02:00
.gitignore yes! hahaha... YES!! 2021-07-17 22:34:19 +02:00
CMakeLists.txt Add the logic analyzer implementation based on the SUMP protocol 2021-05-08 21:39:19 +02:00
README.md add README.md 2021-05-13 20:33:48 +02:00
pico_sdk_import.cmake Initial Release 2021-01-20 17:47:12 +00:00

README.md

Picoprobe with the logic analyzer implementation based on the SUMP protocol

Supported features:

  • up to 16 probes (gpio 6-21 by default)
  • 200kB RAM for samples
  • RLE encoding
  • test mode (external pattern)
    • probe 0 and 1 - 10Mhz PWM
    • probe 1 and 2 - 1Mhz PWM
    • probe 3 and 4 - 1kHz PWM
    • probe 8 and 9 - 1kHz PWM (swapped levels)
  • test pin (gpio 22) - 5Mhz 50%/50% PWM for probe tests (activated only when sampling)

Limits:

  • 50Mhz sampling rate when compiled with the TURBO_200MHZ define (otherwise 31.25Mhz)
  • basic triggers are implemented (functional up to 10Mhz - TODO: PIO support)

This protocol is supported in sigrok as openbench-logic-sniffer:

  pulseview --driver=ols:conn=/dev/ttyACM1
    
  sigrok-cli --driver=ols:conn=/dev/ttyACM1 --config samplerate=50Mhz \
             --config pattern=External --samples 256 --channels 0-1

Compile:

  mkdir build
  cd build
  TURBO_200MHZ=1 PICO_SDK_PATH=/opt/pico-sdk cmake ..

Compile RAM code (debug):

  mkdir build
  cd build
  TURBO_200MHZ=1 PICO_SDK_PATH=/opt/pico-sdk cmake -DPICO_NO_FLASH=1 -DCMAKE_BUILD_TYPE=Debug ..

Misc:

  • picoprobe reset pin is on gpio 28 (instead 6) now

Link to protocol | Link to libsigrok