From: Hans Verkuil <hverkuil+cisco@kernel.org>
To: Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: [ANN] pio-la: logic analyzer for the Raspberry Pi 5
Date: Wed, 2 Dec 2026 11:16:16 +0100 [thread overview]
Message-ID: <085beeed-06fe-499e-abb2-bb33b2b62c9a@kernel.org> (raw)
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
reply other threads:[~2026-12-02 10:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=085beeed-06fe-499e-abb2-bb33b2b62c9a@kernel.org \
--to=hverkuil+cisco@kernel.org \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox