* [ANN] pio-la: logic analyzer for the Raspberry Pi 5
@ 2026-12-02 10:16 Hans Verkuil
0 siblings, 0 replies; only message in thread
From: Hans Verkuil @ 2026-12-02 10:16 UTC (permalink / raw)
To: Linux Media Mailing List
Hi all,
This is an announcement of the pio-la logic analyzer utility I (and Claud) wrote
for the PIO (Programmable I/O) hardware of the Raspberry Pi 5:
https://git.linuxtv.org/hverkuil/pio-la.git/
It requires Raspberry Pi kernel 6.18.56 or up.
The PIO hardware originally appeared on the Raspberry Pi Pico, but since that
uses a USB 1.1 connector to your PC the limited bandwidth made it unsuitable
for use as a logic analyzer.
I worked on adding cyclic DMA support for the PIO and fixed a few issues, so it
is now possible to sample up to 6 GPIO pins at 200 MHz.
This allows you to easily sniff I2C and SPI busses, and really any type of
protocol up to 40-50 MHz (with 4-5 times oversampling).
Currently it supports I2C, SPI, S/PDIF, CEC, and of course regular gpio.
My main goal was to sniff the HDMI DDC lines for debugging HDMI issues, and it
has already been very useful for that.
It works fine on even the cheapest 1GB RPi 5, so for a modest amount of money
(even in these days of sky-high memory prices) you have yourself a quite powerful
logic analyzer.
The pio-la utility is geared towards HDMI (my main use-case). It is beta quality,
but quite usable.
I know that work was ongoing to add PIO support to sigrok (https://sigrok.org/wiki/Main_Page)
as well, but I don't think it has been merged yet.
Regards,
Hans
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-02 10:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 10:16 [ANN] pio-la: logic analyzer for the Raspberry Pi 5 Hans Verkuil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox