Skip to content

SLogic16U3: from wiring to a decoded byte ​

SLogic16U3 official product photo

When serial data will not decode, I want to see the actual logic levels on the wire, not just what the program prints. SLogic16U3 captures digital signals for sigrok to decode. This article follows my Apple Silicon Mac setup from device discovery to decoding one UART byte.

First, what does 800MHz mean? 800M@4ch, 400M@8ch or 200M@16ch. You cannot have 800MHz and all 16 channels at once. These are sample rates, not guarantees of usable signal bandwidth.

What does each result actually prove? ​

Source or experimentWhat it demonstratesWhat it does not demonstrate
Official specificationsInterfaces, voltage range and sampling combinationsNot an independent performance certification
Local Emulation self-testUSB, driver and file-output path work; no pattern errors at 200M/16ch and 800M/4chDoes not guarantee error-free probing of arbitrary real signals
Local synthetic UARTVCD input and UART decoding produce 0x55Does not exercise external wiring or the sampling front end
Official UART / SPI tracesReal capture examples from the official tutorialNot screenshots of my own measurements

The installed libsigrokdecode lists 131 decoders. This work validates synthetic UART, not all 131 protocols individually.

Check the rear connector before wiring ​

Analyzer and accessories from the official hardware manual

Rear pinout from the official hardware manual

LabelConnectionCaution
0~15Digital signals, D0–D15Official input range is 0–10V; do not directly connect higher or negative voltages
Four G pinsTarget GNDEstablish a reliable common ground with a short lead near the measurement point
Two VCC pins3.3V power output500mA shared between both pins; not a signal input, and must not be shorted to GND
Two CK pinsReserved clock / trigger interfacesCurrently unavailable

Do not treat RS-232, RS-485 or CAN buses as ordinary logic-level inputs. Check voltage and interface type first, and use a suitable receiver or probe where needed. A logic analyzer records high and low states; it cannot replace an oscilloscope for assessing analog signal quality.

Cable orientation from the official hardware manual

Align the triangular marks on the cable assembly and enclosure. At the far end of a coaxial lead, white is signal and black is ground. Prefer short connections and coaxial leads at high frequencies; long jumper wires can affect the circuit being measured.

Capture a file first ​

Start with the official prebuilt packages: the sigrok-cli-SLogic command-line tool or the PulseView GUI. My setup uses a native build of libsigrok from Sipeed's slogic-dev branch, sigrok-cli 0.8 and libsigrokdecode.

The commands below assume sigrok-cli is on PATH. Scan before capturing; if no device is found, do not keep guessing protocol settings.

bash
SR=sigrok-cli
$SR --scan
$SR --driver sipeed-slogic-analyzer --show

# Check the data path with a hardware self-test pattern, without an external signal
$SR --driver sipeed-slogic-analyzer --config samplerate=20m \
    --config pattern=Emulation --samples 200000 -O csv -o emu.csv

The self-test pattern divides frequency by two at each channel: D0 toggles every sample, D1 runs at half that frequency, and so on. It tests the data path, not an external signal source.

Do not use pattern=Emulation for normal signal capture. These examples cover all channels, four-channel high-speed capture, and rising-edge triggering:

bash
# 16 channels at 200MHz
$SR --driver sipeed-slogic-analyzer --config samplerate=200m \
    --samples 1000000 -O csv -o cap16.csv

# 4 channels at 800MHz: change the hardware channel count
$SR --driver sipeed-slogic-analyzer --config logic_channels=4 \
    --config samplerate=800m --samples 500000 -O csv -o cap4.csv

# Trigger on D0 rising edge, with a 1.8V threshold
$SR --driver sipeed-slogic-analyzer --config samplerate=20m \
    --config voltage_threshold=1.8 --triggers D0=r \
    --samples 100000 -O csv -o triggered.csv
Hardware channelsMaximum sample rateConfiguration
16200MHzDefault
8400MHzlogic_channels=8
4800MHzlogic_channels=4

--channels D0,D1 only selects channels to save; it does not reduce the hardware channel count. That is why my first attempt at 800MHz still ended up at 200MHz. Do not write channel names as D0-D15 either; use a comma-separated list or omit the selection.

Then decode one byte ​

To separate capture problems from decoder settings, I first supplied a synthetic VCD: 100000 baud, 1MHz sampling, ten samples per bit, containing only 0x55.

SegmentLeading idleStart bitEight data bits, LSB firstStop bit
LevelHigh for at least two bit periods01 0 1 0 1 0 1 01
bash
# uart_test.vcd is synthetic input prepared as above, not a hardware capture
$SR -i uart_test.vcd -I vcd \
    -P uart:baudrate=100000:format=hex -A uart

The local result included a start bit, eight data bits, byte 55 and a stop bit. Two details can break this small experiment: missing leading idle-high time shifts start detection, and a missing explicit final timestamp truncates the stop bit. VCD records changes; a final high level does not automatically extend the file's duration.

For real UART capture, connect D0 to the receive signal, establish common ground and match the transmitter's settings. The command below is a 19200-baud example, not the configuration of the synthetic experiment above:

bash
$SR --driver sipeed-slogic-analyzer --config samplerate=20m \
    --samples 1000000 -P uart:baudrate=19200:rx=D0 -A uart

For examples of real waveforms, see these two screenshots from Sipeed's official tutorial: UART at 115200 baud and SPI at 500kHz. They have a different source from the local synthetic UART experiment above.

Official UART capture example, not a local measurement screenshot

Official SPI capture example, not a local measurement screenshot

When it fails, which layer should you check? ​

SymptomCheck first
Blue LED only, no device foundUSB3 cable and port; connect directly to rule out a hub
All-zero captureConfirm the signal is toggling, then use Emulation to separate input issues from data-path issues
800MHz setting does not take effectCheck whether logic_channels is still 16
UART waveform but no decoded bytesChannel, baud rate, polarity, frame format and capture window
Source build cannot find Python headersSystem Python 3.9.6 lacked development headers; I used Homebrew Python 3.12 and its pkgconfig path

All zeros do not automatically mean broken hardware, but they do not prove a disconnected input either. Separating self-tests from real captures helps narrow the cause.

Hardware and platform appendix: specifications, LEDs and software

Front interfaces from the official hardware manual

Official specificationDetails
USB-CUSB 3.2 Gen1, 5Gbps; requires a USB3 data cable
Continuous streaming combinations800M@4ch / 400M@8ch / 200M@16ch
Maximum data bandwidth3.2Gbps
Signal input / threshold0–10V / officially adjustable over 0–6V; the local driver's options are 0.1–6.0V
Dimensions / enclosure40×40×10mm, aluminum alloy
Reference priceOfficial material listed prices from CNY 369 at the time, not a current-price guarantee

The package includes the analyzer, a USB3 cable, 16 test clips, a SIM eject pin, an instruction card and a carrying case. Cable options are 2×6P jumper leads or 2×4P coaxial leads. The recessed MODE button switches between analyzer and DFU update modes; it is not a capture-trigger button.

ACT indicationMeaning
CyanNormal connection: blue is power, green is USB LINK
Cyan + fast red flashesData transfer
Cyan + slow red flashesDFU mode
Blue onlyUSB connection failed
Red onlyFlash loading failed; check cable and hardware

Official documentation notes a USB-driver limit of about 390MB/s for the native Windows 10/11 program, reducing combinations to 400M@4ch / 200M@8ch / 100M@16ch; a Linux environment is an alternative. Linux requires udev permissions. This article uses Apple Silicon macOS and does not generalize its results to every host.

The underlying interface is not a generic serial port. Sipeed's driver uses vendor USB control transfers for R32_CTRL/0x04, R32_FLAG/0x08 and R32_AUX/0x0C; samples stream over USB3 bulk IN, at two bytes per sample with 16 channels.

The official SLogic Agent Plugin tutorial wraps discovery, capture and decoding for agents that support plugins. Still specify pins, protocol and goals, and request the raw waveform, actual commands and warnings. A plugin cannot replace wiring checks.

Sources ​

Something unclear here, or want to talk about similar work?Message me →