Can Message Bus Guarantee Idempotency?

Can Message Bus Guarantee Idempotency?

1. Introduction As described in “Message Bus Guarantees Message Delivery”, the core architectural design of MQ message delivery has two main points: (1) Message Persistence (2) Message Timeout, Retransmission, Acknowledgment Upon reviewing the core architecture of the message bus, it consists of four main components: Sender, Server, Persistent Storage, Receiver. To ensure message reachability, the … Read more

Lesson 11: Using Serial Port (UART)

Lesson 11: Using Serial Port (UART)

Click on the “Baijun Technology” above, select “Pin to Top” Embedded essentials, delivered with one click The enhanced version of the ARM Bare Metal Phase 1 video course, supporting Wiki Lesson 11: Using Serial Port (UART), consists of 2 sections: Section 001: Auxiliary Line 1: Hardware Knowledge – Introduction to UART Hardware and Section 002: … Read more

Comparing UART and CAN Protocols

Comparing UART and CAN Protocols

Follow+Star Public Account, don’t miss exciting content Author | strongerHuang WeChat Public Account | strongerHuang The CAN bus was initially mainly used in the automotive and industrial control fields. With the continuous maturity of CAN bus technology, it is no longer limited to the automotive industry and is now widely used in aerospace, medical, robotics, … Read more

Detailed Explanation of UART Waveforms

Detailed Explanation of UART Waveforms

UART is an asynchronous full-duplex serial communication protocol consisting of two data lines, Tx and Rx. Since there is no reference clock signal, both parties in communication must agree on serial baud rate, data bit width, parity bit, stop bit, and other configuration parameters to communicate at the same rate. Asynchronous communication transmits one character … Read more

Differences and Connections Between SPI, UART, and I2C Buses

Differences and Connections Between SPI, UART, and I2C Buses

Welcome FPGA engineers to join the official WeChat technical group. Clickthe blue textto follow us at FPGA Home – the best and largest pure FPGA engineer community in China SPI Bus SPI (Serial Peripheral Interface) is a high-speed, full-duplex, synchronous, serial communication bus that uses 3 to 4 lines and operates in a master-slave mode, … Read more

How High Are the Clock Accuracy Requirements for UART Baud Rate?

How High Are the Clock Accuracy Requirements for UART Baud Rate?

UART communication is an asynchronous communication method, where both the sender and receiver must communicate at an agreed baud rate. When there is an error in the baud rate, it can lead to communication errors. So, what factors can lead to errors in the baud rate? 1. Frequency Division Error Firstly, the baud rate is … Read more

Detailed Explanation of SPI, UART, and I2C Buses

Detailed Explanation of SPI, UART, and I2C Buses

Source: Automotive ECU Design When you connect a microcontroller to sensors, displays, or other modules, have you considered how these two devices communicate with each other? What exactly are they saying? In fact, communication between electronic devices is like communication between humans; both parties need to speak the same language. In electronic products, these languages … Read more

Subtle Differences Between UART, RS-232, RS-422, and RS-485

Subtle Differences Between UART, RS-232, RS-422, and RS-485

Serial communication is one of the most basic communication methods faced by electronic engineers. Although it seems simple, many people are not clear about the subtle differences between UART, RS-232, RS-422, and RS-485. Hope this engineering note can help everyone sort out their relationships.  Communication issues, like traffic issues, also have various situations such … Read more

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