Why UART Serial Communication Requires 16x Oversampling

Why UART Serial Communication Requires 16x Oversampling

Enhancing anti-interference is one reason. Standard UART can choose 16x sampling or 64x sampling; I personally think it should be for convenient frequency division design. The RXD front end of the standard UART has a “1 to 0 transition detector.” When it continuously receives 8 ground level signals on RXD, the detector considers that the … Read more

Detailed Explanation of UART Waveforms

Detailed Explanation of UART Waveforms

Click on the above “Electronic Engineer’s Notes” and select “Pin/Star the Official Account” Valuable content delivered instantly! UART (Universal Asynchronous Receiver/Transmitter) is an asynchronous full-duplex serial communication protocol consisting of two data lines, Tx and Rx. Since there is no reference clock signal, both communication parties must agree on serial baud rate, data bit width, … Read more

Using UART IDLE Interrupt for Receiving Variable Length Serial Data

Using UART IDLE Interrupt for Receiving Variable Length Serial Data

Introduction In serial communication applications, we often use receive and transmit interrupts, which most of you are familiar with. There is a very useful interrupt that may be overlooked, which is the bus IDLE interrupt. When a frame of data transmission ends, the bus will maintain a high level state, at which point the MCU’s … Read more

Engineer Notes | Receiving Variable Length Data Using UART IDLE Interrupt

Engineer Notes | Receiving Variable Length Data Using UART IDLE Interrupt

Introduction In serial communication, we often use receive and transmit interrupts, which everyone is familiar with. There is another very useful interrupt that may be overlooked, namely the bus idle state IDLE interrupt. When a frame of data transmission ends, the bus remains high idle, which triggers the MCU’s IDLE interrupt. In this article, we … Read more

Understanding RS232, RS485, UART, and TTL Serial Ports

Understanding RS232, RS485, UART, and TTL Serial Ports

Click Tech Training Top, delivering to you daily at 7:30 AM What are RS232, RS485, UART, serial ports, COM ports, USB ports, and TTL? Do you understand their relationships? First, we need to distinguish between timing standards and logic level standards. Timing standards refer to the logical values (0 and 1) corresponding to actual voltage … Read more

Why Do We Prefer Serial Communication? Exploring RS485, SPI, and I2C

Why Do We Prefer Serial Communication? Exploring RS485, SPI, and I2C

Click the card above to follow for more information 1. Why Do We Prefer Serial Communication? When working on microcontroller products, the most commonly used method is serial communication. For any microcontroller peripherals, those with serial port functionality are prioritized, such as Bluetooth modules, WIFI modules, 4G modules, electric meters, and displays. Why do we … Read more

Common Embedded Communication Protocols Explained

Common Embedded Communication Protocols Explained

I am Lao Wen, an embedded engineer who loves learning. Follow me to become even better together! Compiled by | strongerHuang WeChat Official Account | strongerHuang UART, SPI, I2C and other serial communications are very common methods in embedded development. The underlying communication principles are not difficult, but many beginners struggle to learn them. Today, … Read more