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

Differences Between RS-485 and MODBUS

Differences Between RS-485 and MODBUS

Tip:Click above“Ba Fang Hui PLC Practical Programming Training“↑Follow us for free RS485is a wired transmission, which requires a hardware transmission medium, essentially just two wires are sufficient. The actual signal transmitted over these two wires is the same signal; the sending end splits this signal into two, but at the receiving end, it is restored … Read more

18 Classic Questions About RS-485 Serial Communication

18 Classic Questions About RS-485 Serial Communication

BFH Click the blue text to follow us↑↑↑↑ The RS-485 interface forms a half-duplex network, typically using a two-wire system, often employing shielded twisted pair for transmission. This wiring method allows a maximum of 32 nodes to be connected on the same bus topology.Initially, data was output as analog signals for simple process quantities, later … Read more

Basic Concepts of RS-232, RS-422, and RS-485 Serial Communication

Basic Concepts of RS-232, RS-422, and RS-485 Serial Communication

This article introduces the basic concepts of the serial communication protocols RS-232, RS-422, and RS-485, including baud rate, data bits, stop bits, parity bits, and handshaking information. 1. What is Serial Port? The concept of serial communication is quite simple. Serial ports send and receive bytes one bit at a time. Although it is slower … Read more

In-Depth Explanation of RS-485

In-Depth Explanation of RS-485

(1) Introduction RS-485 is a balanced transmission standard for serial communication approved by the Electronic Industries Alliance in the United States in 1983. It only specifies the electrical characteristics of drivers and receivers without defining a protocol; therefore, many higher-level interface standards refer to RS-485 at the physical layer, such as Modbus, Profibus, etc. (2) … Read more