🛠 First UART capture with SLogic32U3

Sipeed SLogic32U3: 32-Channel USB 3.2 Gen2 Logic Analyzer · debutant · Apprenez à configurer le SLogic32U3 pour décoder un signal UART standard.

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

Étapes

  1. Physically, connect the SLogic32U3 to your computer via the USB-C port. SLogicView will automatically detect the device thanks to its 10 Gbps interface.
  2. 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).
  3. 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).
  4. 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.
  5. Start the acquisition. The raw signal will appear as high/low lines. Use the built-in UART decoder tool.
  6. 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.

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials