OpenWrt Core Component: libubox (4) – ulog

OpenWrt Core Component: libubox (4) - ulog

This is the fourth article introducing the core component of OpenWrt, libubox. Here, we will discuss the ulog module, which is widely used in the OpenWrt software ecosystem. Almost all core modules in the system utilize it to save logs, so let’s get started.The ulog module is a wrapper for the syslog programming interface. If … Read more

ZTE’s Cross-Border RISC-V Development

ZTE's Cross-Border RISC-V Development

In recent years, RISC-V chips have developed rapidly worldwide, especially in the Chinese market, with domestic manufacturers active in various fields.ZTE Corporation, as a less frequently mentioned giant, joined the RISC-V International Foundation as early as 2018, deeply participating in standard formulation.Previously, it disclosed few details about its RISC-V chips, but early last month, it … Read more

RISC-V Performance Counters and Timer Extensions – Zicntr and Zihpm

RISC-V Performance Counters and Timer Extensions - Zicntr and Zihpm

Introduction: RISC-V (pronounced “risk-five”) is a new instruction set architecture (ISA) originally designed to support research and education in computer architecture. However, in recent years, it has evolved into a standardized, free, and open architecture for industrial implementations. One significant advantage of the RISC-V instruction set is its scalability, allowing users to select appropriate extension … Read more

Understanding the Microcontroller Startup Process (STM32) for Hardware Engineers, Including a Troubleshooting Manual for Startup Issues

Understanding the Microcontroller Startup Process (STM32) for Hardware Engineers, Including a Troubleshooting Manual for Startup Issues

As a hardware engineer, have you ever encountered these issues: The circuit board shows no response after power is applied, like a “brick”. The program occasionally starts, but sometimes hangs. Peripheral initialization is abnormal, yet the code logic is correct. These issues stem from startup process anomalies 80% of the time! Let’s learn about the … Read more

Design and Implementation of an Independent Keyboard Simulation System Based on Microcontroller

Design and Implementation of an Independent Keyboard Simulation System Based on Microcontroller

1. Control Requirements1.Keyboard Structure: An independent keyboard structure is adopted, consisting of 4 mechanical keys K0~K3;2.Debounce Algorithm: A software delay debounce algorithm is used to effectively eliminate interference caused by mechanical key bounce;3.Display Method: A static display using a digital tube is employed to clearly and real-time show the value of the pressed key.2. Simulation … Read more

Design and Implementation of a DC Motor Control Simulation System Based on Microcontroller

Design and Implementation of a DC Motor Control Simulation System Based on Microcontroller

1. Control Requirements1. Start/Stop Control: A light touch on the “Start/Stop” button allows for flexible switching of the motor’s operational state. Each time this button is pressed, the motor accurately toggles between running and stopping states, making operation simple and efficient;2. Direction Control: The “Forward/Reverse” button allows for easy changes in motor direction. Each press … Read more

A Bare-Metal Implementation of a Queue Module for Microcontrollers

A Bare-Metal Implementation of a Queue Module for Microcontrollers

Follow Us for More UpdatesStar Our Public Account to Not Miss Exciting Content from GitHub Source | GitHub When it comes to queues, many might first think of “queues” in RTOS. In fact, similar queue functionality can also be implemented in a bare-metal state. Today, I will share a module for implementing queue functionality in … Read more

Recommended Microcontrollers for Wireless Bluetooth Headphones

Recommended Microcontrollers for Wireless Bluetooth Headphones

In the field of wireless Bluetooth headphones, the microcontroller serves as the core control unit, and its selection directly affects the performance, power consumption, stability, and user experience of the headphones. This article will recommend several mainstream models available in the market to assist engineers in making better decisions. 1. Qualcomm QCC5141/QCC5144 Positioning: High-end Bluetooth … Read more

Design and Implementation of a Key Increment/Decrement Digital Tube Display System Based on AT89C52 Microcontroller

Design and Implementation of a Key Increment/Decrement Digital Tube Display System Based on AT89C52 Microcontroller

Abstract This article designs a key increment/decrement digital tube display system based on the AT89C52 microcontroller. The system achieves numerical increment and decrement control through independent keys and drives the digital tube display using a dynamic scanning method. The paper details the hardware circuit design, software programming implementation, and anti-interference measures of the system. Test … Read more

Why Do Some Microcontrollers Operate at 3.3V While Others Use 5V? Can’t We Standardize?

Why Do Some Microcontrollers Operate at 3.3V While Others Use 5V? Can't We Standardize?

Some may have noticed that the voltage standards for microcontrollers vary; some operate at 3.3V while others use 5V. Why isn’t there a unified standard? Is this a historical legacy issue or an inevitable result of technological evolution? Today, we will explore this question. 1. The Aftermath of the TTL and CMOS ‘Cold War’ The … Read more