Two Methods for Successfully Calibrating Open-Loop DAC Signal Chains

Two Methods for Successfully Calibrating Open-Loop DAC Signal Chains

Any practical electronic application will be affected by multiple sources of error, which can cause even the most precise components to deviate from their specified behavior in the datasheet. When the application signal chain lacks built-in mechanisms to self-correct these errors, the only way to minimize their impact is to measure the errors and systematically … Read more

Clever Use of Nyquist: How to Generate High-Frequency Signals Using DAC Characteristics?

Clever Use of Nyquist: How to Generate High-Frequency Signals Using DAC Characteristics?

In the field of digital signal processing, the Nyquist sampling theorem establishes the fundamental criterion for signal digitization— to accurately reconstruct a continuous signal, the sampling frequency must be at least twice the highest frequency of the signal.However, engineers have observed an interesting phenomenon: in practical applications, we often generate signals exceeding 500MHz using a … Read more

Fundamental Principles of CPU Bus Architecture

Fundamental Principles of CPU Bus Architecture

1. IntroductionLet’s take a look at a diagramFriends who have read the previous blog post “The Execution Process of CPU Instructions” should have noticed that there is an indispensable component in the execution process of instructions in a computer, which is the bus. The diagram above shows multiple buses, and today we will introduce in … Read more

Understanding the Confusion Between DE and RTS in UART Interfaces

Understanding the Confusion Between DE and RTS in UART Interfaces

Content Hello everyone, I am Bug Jun~In industrial communication and embedded development, RS485 has become one of the mainstream buses due to its high anti-interference capability and multi-node support. However, many engineers often confuse two key signals when debugging RS485: DE and RTS. They both appear to be “control send” signals, and in some circuits, … Read more

STM32 SPI Interface Tutorial: Achieving Efficient and Stable Data Transmission

STM32 SPI Interface Tutorial: Achieving Efficient and Stable Data Transmission

The SPI (Serial Peripheral Interface) is one of the most widely used synchronous serial communication protocols in embedded systems, playing a crucial role in STM32 development. Compared to I2C and UART, SPI is particularly suitable for high-speed data acquisition, memory expansion, and display driving due to its full-duplex communication, high transmission rates, and hardware slave … Read more

Mastering SPI Driver from Scratch: Practical Communication between STM32 and Sensors

Mastering SPI Driver from Scratch: Practical Communication between STM32 and Sensors

Implementing the SPI (Serial Peripheral Interface) driver on the STM32 microcontroller for communication with sensors. The content includes SPI initialization, data transmission, error handling, debugging techniques, and the use of logic analyzers. The code is based on the STM32Cube HAL library, suitable for the STM32F4 series (such as STM32F407), and uses a generic sensor (like … Read more

Common Communication Interfaces II (Principles and Differences of CAN, I2C, SPI, UART, GPIO)

Common Communication Interfaces II (Principles and Differences of CAN, I2C, SPI, UART, GPIO)

The previous article organized common communication interfaces I (RS232/RS485/USB/TYPE-C principles and differences), and in this article, we continue to organize the principles and differences of CAN, I2C, SPI, UART, and GPIO. 1.CAN Bus Interface 1)Definition CAN stands for Controller Area Network, developed by the German company BOSCH, known for its research and production of automotive … Read more

Understanding the I2C Communication Protocol

Understanding the I2C Communication Protocol

Hello everyone, welcome to<span>LiXin Embedded</span>. In embedded development, whether it is sensors, memory chips, or GPIO expansion modules, the presence of I2C can be seen everywhere. In this article, we will start from the basic working principles of I2C and delve into common issues and their debugging methods. Why Choose I2C The I2C bus is … Read more

I2C: Connecting the Embedded “Digital Nervous System” with Two Wires

I2C: Connecting the Embedded "Digital Nervous System" with Two Wires

Why is I2C so important? In modern electronic devices, communication between chips is ubiquitous. For example, your device has dozens of sensors and chips that need to “talk” to each other—the accelerometer needs to inform the processor of the device’s motion state, the touchscreen needs to relay user click information, and the camera needs to … Read more

Daqin Automotive: Alumni Huang Yan Builds a Leading Sensor Company Over Ten Years, Achieving Domestic Substitution and Global Layout

Daqin Automotive: Alumni Huang Yan Builds a Leading Sensor Company Over Ten Years, Achieving Domestic Substitution and Global Layout

[Image][Image] Recently, the intelligent industry, represented by humanoid robots, has sparked a wave of excitement in the industry. Among them, intelligent sensors play a crucial role, serving as the foundation for the future development of industries such as the Industrial Internet, Internet of Vehicles, autonomous vehicles, and humanoid robots. Huaxuan Sensor Technology Co., Ltd. (hereinafter … Read more