ZDS2022 Oscilloscope 100 Practical Specials 30: UART Protocol Trigger

Publisher:吾道明亮Latest update time:2021-10-14 Source: eefocusKeywords:ZDS2022 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

The ZDS2022 Oscilloscope Hundred Technical Exchange Conference is still in full swing. Recently, a customer communicated with our FAE. He wanted to stably trigger the first bit of the UART data frame. He set "Edge Trigger"-"Rising Edge Trigger" in sequence, and then performed [Single] single trigger. After multiple tests, the screen occasionally showed "Not triggered on the first rising edge, but triggered on the following rising edge". What is going on?

First of all, edge triggering does not pick "edges" or only recognize the first edge, so every edge that meets the triggering conditions is likely to trigger. In fact, the customer wants to achieve the function of stably triggering the first bit of the UART data frame. The ZDS2022 oscilloscope itself contains 21 protocol trigger functions, so there is no need to use edge triggering.

Figure 1: The screen appears not triggered by the first edge

How to operate? We press the [Trigger] key, set the trigger mode to normal trigger, set the trigger type to UART type, and set the protocol parameter to start bit trigger. Then press the [Horiz] key to set the memory depth to 112Mpts. The large memory depth mode can make the protocol decoding information more complete under a large time base.

Figure 2 Setting the UART protocol trigger mode

Then press the [Decode] key, set the decoding type to UART, turn on the protocol trigger, and the protocol will be triggered according to the set conditions in the [Trigger] menu. Increase the time base. On the main interface, we can see that the trigger point is accurately located at the first bit of the UART data frame.

Figure 3 Triggering on the first rising edge and decoding results

The protocol trigger function of the ZDS2022 oscilloscope can accurately locate and help us analyze the protocol more specifically, which is very convenient!


Keywords:ZDS2022 Reference address:ZDS2022 Oscilloscope 100 Practical Specials 30: UART Protocol Trigger

Previous article:ZDS2022 Oscilloscope 100 Practical Special 29: How to measure the time between two signals
Next article:ZDS2022 Oscilloscope 100 Practical Videos 31: Video Triggering

Recommended ReadingLatest update time:2024-11-15 08:11

ZDS2022 Oscilloscope 100 Practical Videos 78: Measurement Accuracy
Hello everyone, we recently learned through communication with customers that when customers use oscilloscopes to measure waveforms, there will be small deviations in the measurement results. What is going on? In fact, when we use the same oscilloscope to measure the same signal at different vertical scales, there w
[Test Measurement]
ZDS2022 Perfect Oscilloscope 51 Parameter Measurements
Generally speaking, engineers often need to measure and count the parameters of the waveform after using an oscilloscope to correctly capture the waveform. As the most commonly used functions, the importance of the oscilloscope parameter measurement and statistical functions can be imagined. Therefore, as an electroni
[Test Measurement]
LCP2131 Routine UART0 Query Method
#include "config.h" void DelayNS(uint32 dly) {     uint32 i;     for(; dly > 0; dly--)         for(i = 0; i } #define UART_BPS 115200 void UART0_Init(void) {     uint16 Fdiv;     U0LCR = 0x83; //Determine the data character format for sending and receiving, 0x1000 0011 8-bit character length, 1 sto
[Microcontroller]
MCU_S3C2410 UART Analysis
Functional Analysis Register Analysis 代碼分析 ////////////////////////////////////////////////////////////////////////////////////UART Initialization/////////////////////////////////////////////////////////////////////////////////////////////////////// void Uart_Init(int pclk,int baud) {  int i;  if(pclk == 0)
[Microcontroller]
STM32F103 UART interrupt receive DMA send
Take USART3 as an example, (1) First, enable the DMA module in and add stm32f1xx_hal_dma.c to the project. (2) Add the following declaration to the header of main.c UART_HandleTypeDef huart3; DMA_HandleTypeDef hdma1_uart3; (3) Add USART initialization in main.c /* USART3 init function */ static void MX_USART3
[Microcontroller]
ZDS2022 Oscilloscope 100 Practical Videos 43: FFT Report Export Function
Hello everyone, we have previously shared with you how to use the ZDS2022 oscilloscope to perform FFT analysis on waveforms. The ZDS2022 oscilloscope not only supports FFT analysis capabilities with sample points up to 4Mpts, but also supports FFT report export function. How to operate it? The report export function
[Test Measurement]
TQ2440 Study Notes —— 23. Universal Asynchronous Receiver/Transmitter UART
Universal Asynchronous Receiver/Transmitter UART UART (Universal Asynchronous Receiver/Transmitter) is used for asynchronous communication and can achieve full-duplex transmission and reception. The simplest wiring method has only three wires: TxD is used to send data, RxD is used to receive data, and Gnd is used to
[Microcontroller]
NXP LPC11xx M0 UART Program Detailed Annotation
The most practical UART program has relevant comments, mainly used for debugging! !   I have been looking at it for a while, but no one has posted anything. Today I will send you a UART program for debugging. As for the receiving function, friends in the forum can modify it by themselves. It can also be changed to t
[Microcontroller]
Latest Test Measurement Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号