🛠 First UART capture with SLogic32U3
Objectifs
This tutorial guides you in configuring your SLogic32U3 logic analyzer to capture and decode a standard UART serial communication. You will learn to set threshold parameters and interpret raw data frames, a fundamental skill for debugging embedded devices.
Matériel nécessaire
- SLogic32U3 Logic Analyzer
- USB-C Cable (USB 3.2 Gen2 recommended for speed)
- Computer with SLogicView installed
- Source device emitting UART signal (e.g., Arduino, Raspberry Pi)
- Male/Female Dupont wires
- 100 Ω resistor (optional for protection)
Étapes
- Physically, connect the SLogic32U3 to your computer via the USB-C port. SLogicView will automatically detect the device thanks to its 10 Gbps interface.
- Identify the TX (Transmit) and RX (Receive) pins on your source device. Connect only the source's TX to a SLogic32U3 channel (e.g., Channel 0) and the source's RX to another channel (e.g., Channel 1).
- In SLogicView, set the sampling frequency. For 2 channels, you can go up to 1400 MS/s, but 100 MS/s is more than sufficient for standard UART (9600 to 115200 bauds).
- Configure the trigger threshold. Input voltage ranges from 0 to 10 V. If your source is 3.3 V, set the threshold to 1.65 V for accurate logic level detection.
- Start the acquisition. The raw signal will appear as high/low lines. Use the built-in UART decoder tool.
- Select the channel corresponding to the source's TX as the decoder input. Define the baud rate (e.g., 115200) and data bits (usually 8).
Vérification
The decoder should display readable characters in the analysis window. Verify that start and stop bits are correctly aligned with the transitions visible on the raw signal.
Pour aller plus loin
Try using the optional ADC module to monitor the supply voltage in parallel, or configure different thresholds to test 1.8 V logic levels.