Logic analyzer
14 channels, LA1 to LA14, on any pins of your board. The pod watches the lines and decodes them. It also drives your board: see Watch and drive.
Capture
- Up to 12 MS/s as raw samples. On gateware v50 and later, up to 48 MS/s as changes only.
- Above 12 MS/s a signal that changes more than about 6 million times per second for a millisecond or so ends the capture early. The capture says so.
- A trigger starts the capture, with samples from before it if you ask.
- Set the I/O voltage (1.8 or 3.3 V) first. The wiring profile names the channels: see Pin-out.
Decoders
| Protocol | Lines | Capture rate |
|---|---|---|
| I2C | SDA, SCL | 10x the clock |
| SPI | SCLK, MOSI, MISO, CS | 4x the clock |
| UART | RX | 10x the baud |
| CAN, CAN FD | RXD of the CAN transceiver | 6x the fastest bit rate |
| Modbus RTU | RX of the RS-485 transceiver | 10x the baud |
| 1-Wire | The data line | 1 MS/s, overdrive 4 MS/s |
| SMBus, PMBus | SDA, SCL | 10x the clock |
| PWM, servo | One or more channels | 20x the frequency or more |
| USB | D+, D- | Full speed 48 MS/s, low speed 6 MS/s |
Read a bus with a transceiver on the transceiver's logic side, never on the bus wires.
Where
| Web app | Capture tab, then Decode. See the Web workspace. |
| Python SDK | capture_la(n, sample_rate_hz=...), then .decode("i2c", ...) |
| MCP | capture_la, then decode_la |
| HTTP | POST /analyzer/decode |
Details: Web workspace, pytest, MCP, CLI.
USB decoding
Watch a board's USB traffic on every pod: tap the lines and see the enumeration as a list.
- Wiring. D+ and D- to two LA channels, GND to GND, wires short. I/O voltage 3.3 V.
- Rate. Full speed (12 Mbit/s): 48 MS/s. Low speed (1.5 Mbit/s): 6 MS/s or more.
- Call.
bp.decode(la, "usb", dp=7, dm=8),decode_lain MCP, orPOST /analyzer/decode. - Output. Control transfers (request and descriptor: VID and PID, interfaces, endpoints, strings), transactions (token, data, ACK, NAK or STALL) and packets with the CRC checked. A bad packet is flagged and the rest still decodes.
- Limits. High speed (480 Mbit/s) is not visible. A full-speed hub between the board and a high-speed host keeps it at full speed. Heavy bulk traffic can end a 48 MS/s capture early.
To make the pod the USB host instead, see USB host and flashing.