Detailed Explanation of STM32 Serial Communication Basics

Detailed Explanation of STM32 Serial Communication Basics

Communication Methods Between Devices Generally, the communication methods between devices can be divided into two types: parallel communication and serial communication. The differences between parallel and serial communication are shown in the table below. Classification of Serial Communication 1. According to the data transmission direction, it can be divided into: Simplex: Data transmission only supports … Read more

Summary of Common Communication Interfaces in Embedded Development

Summary of Common Communication Interfaces in Embedded Development

In embedded systems, on-board communication interfaces refer to the communication paths or buses used to connect various integrated circuits with other peripheral devices. The following content summarizes commonly used on-board communication interfaces: including I2C, SPI, UART, and 1-Wire: I2C Bus The I2C bus is a <span> synchronous, bidirectional, half-duplex two-wire serial interface bus</span>. Here, half-duplex … Read more

Understanding OBG in Microcontrollers

Understanding OBG in Microcontrollers

Understanding OBG in Microcontrollers: The STM32 microcontroller’s core (Cortex-M3) contains a hardware debugging module that supports various complex debugging operations. The hardware debugging module allows the core to halt when fetching addresses or accessing data—this is the assurance we have for online simulation during microcontroller development and debugging.When the core is halted, both its internal … Read more

The Evolution of Automotive LIN Bus Technology

The Evolution of Automotive LIN Bus Technology

Yesterday, I shared an article titled “The Evolution of Automotive CAN Bus,” which sparked a lot of interest among friends, prompting them to leave messages asking for related knowledge about the LIN bus used in automobiles. Thus, I am sharing this article titled “The Evolution of Automotive LIN Bus” with everyone. I have modified 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