Automatic Baud Rate Detection for Serial Ports

Automatic Baud Rate Detection for Serial Ports

Your device connects to another device, and if it can automatically recognize the baud rate without knowing the baud rate of the other device, wouldn’t that be convenient? 1 Overview Regarding the issue of automatically recognizing UART serial port baud rates, I believe those with project experience or who have seriously studied serial ports should … Read more

Common Data Loss Issues in UART Communication

Common Data Loss Issues in UART Communication

When we talk about serial ports, we generally refer to UART (Universal Asynchronous Receiver / Transmitter), the Universal Asynchronous Transceiver. The serial port is one of the most commonly used serial peripherals by engineers, but various issues are often encountered in practical applications. For example: losing one byte of data. Today, we will discuss UART-related … Read more

Detailed Analysis of SPI Communication Between FPGA and STM32 (Part 1)

Detailed Analysis of SPI Communication Between FPGA and STM32 (Part 1)

Win a Backpack How Difficult Is It? Give It a Try! →_→ Long Press Recognition [Topic]: Detailed Analysis of SPI Communication Between FPGA and STM32 (Part 1) [Author]: LinCoding [Date]: 2016.11.26 Yesterday, I thoroughly reviewed SPI again. I felt that what I learned about SPI when studying STM32 was just the surface; this time, while … Read more

I2C Communication HAL Example Based on Kinetis SDK 1.1 for FRDM-K22F

I2C Communication HAL Example Based on Kinetis SDK 1.1 for FRDM-K22F

At the beginning of the Year of the Sheep, the holiday is over, and I return to my job. Reflecting on the past year, I have grown a lot and gained much, grateful for the people around me. Looking forward to the new year’s journey, filled with the unknown and challenges, I gather my spirit … Read more

Detailed Explanation of SPI in Electronic Communication

Detailed Explanation of SPI in Electronic Communication

When connecting a microcontroller to sensors, displays, or other modules, have you ever considered how the two devices communicate? What exactly are they saying? How can they understand each other? Communication between electronic devices is like communication between humans; both parties need to speak the same language. In electronics, these languages are called communication protocols. … Read more

Differences of STM8 I2C Compared to Other Interfaces

Differences of STM8 I2C Compared to Other Interfaces

Compared to STM32, the STM8 series microcontrollers, although less well-known, hold a certain position in industrial control and embedded systems due to their efficient performance and rich peripheral interfaces, among which the I2C (Inter-Integrated Circuit) interface plays an important role. This article will analyze the characteristics of the STM8 I2C interface and explain its advantages … Read more

Understanding the I²C Bus Timing in Embedded Systems

Understanding the I²C Bus Timing in Embedded Systems

The I²C bus is very common in embedded systems, but recently in a group (possibly a beginner group) communication, I was quite surprised that many people do not even understand the I²C bus basics. Today, I will explain the timing of the I²C bus. Many electronic engineers should know about the I²C bus from EEPROM … Read more

Understanding the I2C Bus

Understanding the I2C Bus

1. Overview The I2C bus is a very popular and powerful bus, commonly used for communication between one (or multiple) master devices and one or more slave devices. Figure 1 shows that various peripherals can share this bus, which only requires two wires to connect to the processor. This is one of the biggest advantages … Read more

Detailed Overview of I2C and SPI Communication Protocols

There are many serial communication protocols, among which I2C and SPI are very well-known.I2C and SPI are both bus protocols that allow users to perform short-distance serial data transmission. I2C is a two-wire communication protocol developed by Philips (now NXP), while SPI was developed by Motorola. These two protocols are commonly used in electronic devices … Read more

Design of DSP-Based Embedded System for Sensor Data Acquisition

Design of DSP-Based Embedded System for Sensor Data Acquisition

Introduction:The stratospheric airship sensor data measurement device is used to collect the pressure difference inside and outside the airship’s envelope, the atmospheric pressure of the environment where the airship is located, and the voltage of the power supply battery. The processed data is packaged and sent to the flight control computer, providing key parameters for … Read more