I2C/SPI Tap
NEW: Starting with IO Ninja 6.0, I2C/SPI Tap supports remote capturing over SSH or over IO Ninja Rendezvous service!
I2C/SPI Tap does NOT require any paid IO Ninja capabilities or subscriptions! The I2C/SPI Tap plugin is always ENABLED and can be used under any IO Ninja account (including GUEST).
The I2C/SPI Tap for IO Ninja is a hardware sniffer for monitoring I2C and SPI communications. Our sniffer allows you to tap into the lines of I2C and SPI links and immediately view the captured data bytes in IO Ninja software — in real time and using our innovative dual-hex view tailor-suited for the inherently full-duplex SPI data.
All inputs of the I2C/SPI Tap are available on a convenient quick-release terminal block. The board also features LEDs for the I2C and SPI line status indication (SCL, SDA, CLK, MOSI, MISO, SS), which helps with quick troubleshooting of wiring issues.
Self-test Procedure
I2C and SPI firmware (FPGA configurations) for this Tap include test generators producing sustained test traffic at 400KHz and 24MHz respectively.
Test I2C signals are generated on D14 (SDA) and D15 (SCL).
Test SPI signals are generated on D12 (SS), D13 (MISO), D14 (MOSI), and D15 (SCLK).
To receive the test traffic, connect two or four wires as shown on the diagram below:

Key Features
- USB-powered, no additional external power necessary;
- Supplied with a
USB-Ccable; - Based on Intel MAX10 FPGA;
- Incorporates an
I2CandSPItest sequence generator for self-testing the Tap; - Has 16 buffered IO lines
D0..D15connected to a quick-release terminal block; - All buffers act as level shifters allowing the Tap to work with logical signals as high as 5V and as low as 1.8V;
- Eight LEDs onboard:
- Green
READYLED; - Two general-purpose green LEDs
M0andM1for mode and status indication; - Four yellow LEDs for indicating the state of IO lines
D0..D3(sufficient for I2C and SPI); - Blue
POWERLED;
- Green
- Remote capturing over SSH or IO Ninja Rendezvous;
- Product functionality may be expanded in the future:
- Onboard FPGA is reconfigurable via the USB interface;
- Sixteen IO lines provide ample room to grow;
- It is envisioned that the product's abilities may be expanded to handle such protocols as...
Quad-SPI;SDIO;- Single-wire bus;
- ...and more!
Hardware Specifications
| Parameter | Value |
|---|---|
| USB: | USB 2.0, high-speed (480MHz), USB-C connector |
| Maximum I2C speed: | Up to 700KHz |
| Maximum SPI speed: | Up to 24MHz |
| Operating temperature: | 0 to +60 degrees C |
| Operating relative humidity: | 10% to 90% |
| Mechanical dimensions: | 82 x 74 x 30 mm |
This number depends on the host PC's performance and its workload. Captured data may be lost if PC's USB channel is unable to receive it in a timely manner. Our tests have shown that an average i7-based desktop PC that is not performing other time-critical tasks easily captures sustained SPI traffic with clock speeds up to 24MHz.
Usage
Open the I2C/SPI Tap plugin in IO Ninja and select a tap device in the Tap dropdown. Then select the protocol (in case of SPI, be sure to select the proper SPI mode (0..3), data bits (4, 8, 12 or 16) and endianness — MSB (most-significant-bit) first or LSB (least-significant-bit) first. After that hit the Capture button and you shall see all the ongoing communications (including data, the SPI SS line changes and I2C start/stop conditions) in real time.
In the SPI mode you can flip the MOSI/MISO roles without re-wiring, simply by adjusting the Flip SPI MOSI/MISO setting.
Remote Capturing
I2C/SPI Tap doesn't have to be plugged directly into your workstation. Attach it to a Raspberry Pi (or any other Linux box, really), install the IO Ninja Hardware Client (ioninja-hwc) there, and capture from anywhere — just as if the tap were plugged into your laptop! Remote firmware updates work, too.
I2C/SPI Tap over SSH
Use the I2C/SPI Tap over SSH plugin when the remote box is reachable over SSH — e.g., on your local network, or if it has a public IP address.
IO Ninja connects over SSH, starts ioninja-hwc on the remote box, and receives the captured data over the same SSH connection. Machines on your local network that offer IO Ninja taps can be discovered automatically via mDNS.
To set everything up, you'll need sshd (or another SSH server) enabled and ioninja-hwc installed and accessible via the system PATH. See the quick Getting Started guide for more details.
I2C/SPI Tap over RDV
The I2C/SPI Tap over RDV plugin is for cases when a direct connection between your laptop and the Raspberry Pi with the I2C/SPI Tap is not possible — which, in reality, is almost always the case, thanks to ubiquitous NATs and firewalls.
With IO Ninja Rendezvous, both sides make outgoing secure WebSocket connections to our public rendezvous server, which introduces them to each other and helps them establish a peer-to-peer connection despite the NATs in between. No VPN interfaces to set up, no port forwarding to configure on routers!
Setting everything up involves installing ioninja-hwc on your remote box, running it in Rendezvous mode, and granting access to that box on the Devices page of your IO Ninja account. See the quick Getting Started guide for more details.
Documentation
| Resource | Description |
|---|---|
| Hardware Manual (HTML) | This is the I2C/SPI Tap chapter in the IO Ninja hardware manual. |
| Hardware Manual (PDF) | This is a PDF rendition of the above online HTML manual for downloading and printing. |











