Turn you Raspberry Pi Pico (or any RP2040 board) into simple logic analyzer in 5 minutes.
μLA is SUMP/OLS compatible logic analyzer firmware for RP2040 based boards.
Features
- 16 channels
- 100 MHz sampling rate (250 MHz if you brave enough), 1 sample per system clock tick
- 200 KB sample memory
- Fast triggers using PIO
- Input channels mapped to GPIO 0-15
Supported hardware
- Raspberry Pi Pico
- RP2040-Zero
- All RP2040 based boards with USB connection
Installation instructions
- Download latest μLA firmware from https://github.com/dotcypress/ula/releases - Hold the BOOTSEL button while connecting your board to the computer
- Copy firmware file downloaded earlier to the RPi-RP2 disk
- Connect to analyzer using PulseView or sigrok-cli
- Enjoy
Does this only work for 3.3V logic levels or is it also possible to connect the GPIO pins directly to 5V logic? I have seen different views on the 5V tolerance of the Pi Pico's GPIOs so I am unsure if level shifters might be needed.
Edge triggers are supported by firmware, but OLS protocol, used in Sigrok doesn't have this feature. Probably I will do a small research and switch to another protocol later.
Channel can be mapped to any 16-bit range by changing PIN_BASE constant here https://github.com/dotcypress/ula/blob/main/src/main.rs#L31
I just did a build for you, you can download it here: https://github.com/dotcypress/ula/files/11465739/ula_0.0.3_gusman.uf2.zip
- could it be possible to map channels to GPIO 2 to 17, instead of 0 to 15? This way, it could be possible to use gusmanb hardware without loosing the first 2 channels, as gusman hardware uses GPIO 0 and 1 for triggering purposes...
Does this only work for 3.3V logic levels or is it also possible to connect the GPIO pins directly to 5V logic? I have seen different views on the 5V tolerance of the Pi Pico's GPIOs so I am unsure if level shifters might be needed.