Tagged articles
127 articles
Page 1 of 2
Liangxu Linux
Liangxu Linux
May 10, 2026 · Fundamentals

SOC vs MCU in Embedded Devices: Key Differences Explained

The article compares SOC and MCU for embedded systems, using analogies, performance and power benchmarks, development ecosystem contrasts, and cost considerations to show how each fits different application requirements and why choosing the right one matters.

MCUSOCcost analysis
0 likes · 6 min read
SOC vs MCU in Embedded Devices: Key Differences Explained
Liangxu Linux
Liangxu Linux
May 10, 2026 · Fundamentals

How to Master Embedded Motor Control: A Practical Learning Roadmap

The article explains why embedded motor control has a high learning curve, outlines the essential hardware, motor, control theory, and math foundations, highlights the gap between theory and practice, and offers a step‑by‑step roadmap—from brushed DC basics to advanced brushless solutions—while emphasizing hands‑on experimentation and community support.

FOCPIDbrushless DC
0 likes · 6 min read
How to Master Embedded Motor Control: A Practical Learning Roadmap
IT Services Circle
IT Services Circle
May 9, 2026 · Industry Insights

The French Programmer Whose C Code Stunned the World

The article chronicles French programmer Fabrice Bellard’s extraordinary career, highlighting his groundbreaking C projects—from the LZEXE compressor and the Harissa JVM to FFmpeg, QEMU, TinyCC, QuickJS, and a record‑breaking Pi calculation—showcasing how a single developer reshaped multiple domains of software engineering.

C ProgrammingFabrice BellardQEMU
0 likes · 10 min read
The French Programmer Whose C Code Stunned the World
Liangxu Linux
Liangxu Linux
May 9, 2026 · Fundamentals

How Much Hardware Knowledge Do You Really Need for Embedded Software Development?

The article explains that embedded software engineers don't need to be hardware experts, but must understand datasheets, basic digital circuits, common interfaces, interrupts, DMA, clock trees, and hardware pitfalls at different experience levels to effectively troubleshoot and integrate hardware in real projects.

datasheetembedded softwareembedded systems
0 likes · 7 min read
How Much Hardware Knowledge Do You Really Need for Embedded Software Development?
Liangxu Linux
Liangxu Linux
May 7, 2026 · Industry Insights

Should Graduate Students Choose Embedded Control or Machine Vision?

The article compares the long‑term career prospects of graduate studies in embedded control versus machine vision, arguing that embedded systems offer stable demand, lower turnover and higher longevity despite the current hype around AI‑driven vision roles.

career adviceembedded systemsgraduate studies
0 likes · 5 min read
Should Graduate Students Choose Embedded Control or Machine Vision?
Liangxu Linux
Liangxu Linux
May 5, 2026 · Fundamentals

What Is an Embedded System? A Simple, Everyday Explanation

The article explains how embedding a computer into devices gives them dedicated intelligence, outlines the hardware‑software makeup, development challenges, widespread applications from household gadgets to industrial control, and highlights emerging AI trends and career opportunities in embedded engineering.

AIC languageIoT
0 likes · 6 min read
What Is an Embedded System? A Simple, Everyday Explanation
Liangxu Linux
Liangxu Linux
May 3, 2026 · Industry Insights

Should You Give Up Embedded and Microcontroller Careers?

The article examines why many engineers doubt the future of embedded and microcontroller work—citing salary gaps, industry layoffs, steep learning curves, and limited growth—while arguing that the field still thrives in sectors like EVs, IoT, and medical devices and offering practical guidance on choosing the right niche, building deep technical skills, and evaluating the true cost of a career switch.

IoTMicrocontrollerscareer advice
0 likes · 6 min read
Should You Give Up Embedded and Microcontroller Careers?
Liangxu Linux
Liangxu Linux
Apr 29, 2026 · Industry Insights

Is It Still Worth Learning Embedded Engineering Today?

The article analyzes how the embedded systems field has shifted from a lucrative, in‑demand career five years ago to a highly competitive, low‑pay, technically demanding niche, urging prospective learners to weigh steep learning curves, costly hardware, and limited salary ceilings before committing.

IoTcareer adviceembedded systems
0 likes · 6 min read
Is It Still Worth Learning Embedded Engineering Today?
AI Open-Source Efficiency Guide
AI Open-Source Efficiency Guide
Apr 19, 2026 · Fundamentals

Jcorp Nomad: Thumb‑Sized ESP32‑S3 Offline Media Server for Movies, Music & Books

Jcorp Nomad is a DIY, thumb‑sized offline media server built on an ESP32‑S3 that creates a local Wi‑Fi hotspot to stream movies, TV shows, music, e‑books and images without internet, offering ultra‑low power consumption, multi‑device support, extensive format compatibility, and a fully open‑source software stack.

DIY hardwareESP32‑S3embedded systems
0 likes · 12 min read
Jcorp Nomad: Thumb‑Sized ESP32‑S3 Offline Media Server for Movies, Music & Books
Liangxu Linux
Liangxu Linux
Mar 23, 2026 · Fundamentals

Why Using STM32 HAL Beats Hand‑Coding Registers for Fast Prototyping

The article argues that beginners should skip exhaustive register manuals, use STM32's HAL library and CubeMX to quickly build functional projects, then deepen their understanding of registers only when performance or special needs arise, emphasizing practical experience over premature low‑level study.

CubeMXHALLearning Path
0 likes · 5 min read
Why Using STM32 HAL Beats Hand‑Coding Registers for Fast Prototyping
Linux Tech Enthusiast
Linux Tech Enthusiast
Feb 1, 2026 · Interview Experience

Top Embedded Linux Driver Interview Questions for Major Tech Companies

This article compiles a comprehensive set of technical interview questions and concise answers covering Linux kernel‑user communication, interrupt handling, memory allocation strategies, macros, endianness, cache hierarchy, process context, DMA, virtual memory translation, debugging tools, and driver initialization, aimed at candidates preparing for embedded Linux driver roles.

C ProgrammingLinux kernelOperating System
0 likes · 16 min read
Top Embedded Linux Driver Interview Questions for Major Tech Companies
Liangxu Linux
Liangxu Linux
Jan 26, 2026 · Fundamentals

Why I2C Needs Pull‑Up Resistors and How to Choose the Right Value

This article explains the open‑drain nature of I2C, why pull‑up resistors are essential for providing a high level, ensuring signal integrity and enabling wired‑AND logic, and offers practical formulas, recommended resistor ranges for different speeds, STM32 configuration examples, and debugging tips.

I2CSTM32bus communication
0 likes · 13 min read
Why I2C Needs Pull‑Up Resistors and How to Choose the Right Value
Liangxu Linux
Liangxu Linux
Jan 24, 2026 · R&D Management

Embedded Engineers: Shift from Consumer Gadgets to Automotive & Industrial Roles

The article explains why the perceived "cold winter" in embedded development is actually a sectoral shift, contrasting the fast‑paced, low‑margin consumer electronics market with the high‑reliability, high‑demand fields of automotive, industrial control, and emerging AIoT opportunities.

Skill developmentautomotive electronicscareer advice
0 likes · 8 min read
Embedded Engineers: Shift from Consumer Gadgets to Automotive & Industrial Roles
Liangxu Linux
Liangxu Linux
Jan 22, 2026 · Fundamentals

Why Adding a Base‑Emitter Resistor Is Crucial for Reliable Transistor Switches

The article explains the essential role of a base‑emitter (BE) resistor in transistor circuits—providing a stable bias, protecting against ESD, speeding up turn‑off, reducing noise sensitivity—and offers practical guidelines for selecting its value and integrating it into common embedded designs.

STM32Switchingbase-emitter resistor
0 likes · 13 min read
Why Adding a Base‑Emitter Resistor Is Crucial for Reliable Transistor Switches
Woodpecker Software Testing
Woodpecker Software Testing
Dec 17, 2025 · Fundamentals

Test Cases for Transmission Pressure, Fuel Level, and Torque Converter Temp

The article details how to convert analog voltage signals from transmission oil pressure, fuel level, and torque converter temperature sensors into digital values using specific formulas, then designs comprehensive test cases covering voltage boundaries, followed by an extensive set of automotive lighting control scenarios—including IGN, anti‑air, alarm, and turn‑signal logic—organized into multiple test groups.

automotiveembedded systemslighting control
0 likes · 12 min read
Test Cases for Transmission Pressure, Fuel Level, and Torque Converter Temp
Liangxu Linux
Liangxu Linux
Dec 7, 2025 · Fundamentals

How to Use the SW-18010P Vibration Sensor with STM32: Full Wiring and Code Guide

This tutorial explains the SW-18010P vibration sensor’s features, pinout, and operating principle, then provides detailed hardware wiring, LED initialization, sensor initialization, interrupt handling, and a complete STM32F103C8T6 firmware example that lights a three‑color LED based on vibration detection.

Hardware TutorialLED IndicatorSTM32
0 likes · 9 min read
How to Use the SW-18010P Vibration Sensor with STM32: Full Wiring and Code Guide
21CTO
21CTO
Dec 4, 2025 · Information Security

How Ferrocene’s Certified Rust Core Enables Safety‑Critical Embedded Systems

Ferrocene, an open‑source Rust compiler toolchain, has achieved IEC 61508 SIL 2 certification for its core library, highlighting Rust’s growing role in memory‑safe, safety‑critical embedded devices and outlining the implications of SIL levels, certification bodies, and real‑world industrial use cases.

FerroceneIEC 61508Memory Safety
0 likes · 5 min read
How Ferrocene’s Certified Rust Core Enables Safety‑Critical Embedded Systems
Liangxu Linux
Liangxu Linux
Nov 30, 2025 · Fundamentals

How MuditaOS Brings Service‑Oriented Architecture to Embedded Phones

This article introduces MuditaOS, an open‑source embedded operating system for the minimalist Mudita Pure phone, detailing its FreeRTOS‑based service architecture, type‑safe message passing, lifecycle management, and the technical stack that enables a low‑power, E‑Ink‑optimized mobile experience.

FreeRTOSMuditaOSService Architecture
0 likes · 5 min read
How MuditaOS Brings Service‑Oriented Architecture to Embedded Phones
Liangxu Linux
Liangxu Linux
Nov 17, 2025 · Fundamentals

30 Proven C Optimization Tricks to Supercharge Embedded Code Performance

This article presents a comprehensive collection of low‑level C optimization techniques for embedded systems, covering algorithm selection, data type choices, arithmetic shortcuts, loop transformations, structure layout, function inlining, register usage, and many practical code examples to dramatically improve execution speed and reduce code size.

C ProgrammingCode Optimizationembedded systems
0 likes · 26 min read
30 Proven C Optimization Tricks to Supercharge Embedded Code Performance
Liangxu Linux
Liangxu Linux
Oct 22, 2025 · Fundamentals

Unlock Embedded Power: Deep Dive into RT-Thread RTOS Core Libraries

RT-Thread, a Chinese open‑source real‑time operating system, offers a highly scalable kernel, rich component ecosystem, and modular design; this article examines its core libraries, module classifications, typical IoT and industrial applications, and provides detailed C code examples for thread management, synchronization, device drivers, file systems, and networking.

C ProgrammingIoTRT-Thread
0 likes · 11 min read
Unlock Embedded Power: Deep Dive into RT-Thread RTOS Core Libraries
Liangxu Linux
Liangxu Linux
Oct 10, 2025 · Fundamentals

Mastering Embedded Code Refactoring: Strategies, Tools, and Real‑World Examples

This guide explains why refactoring embedded software is uniquely challenging, outlines preparation steps, presents basic to advanced refactoring techniques, shows hardware‑specific and real‑time optimizations, describes verification methods, and provides a concrete sensor‑data case study with measurable results.

Code RefactoringLow PowerReal-Time
0 likes · 10 min read
Mastering Embedded Code Refactoring: Strategies, Tools, and Real‑World Examples
Liangxu Linux
Liangxu Linux
Sep 25, 2025 · Fundamentals

Decoupling Embedded Systems: Layers, Event‑Driven Design, and Dependency Injection

This guide explains how to achieve clean decoupling in embedded software by employing a systematic layered architecture, leveraging event‑driven and pipeline‑filter patterns for data flow, and applying dependency injection, complete with practical C code examples and best‑practice recommendations for resource‑constrained devices.

C ProgrammingDesign PatternsLayered Design
0 likes · 17 min read
Decoupling Embedded Systems: Layers, Event‑Driven Design, and Dependency Injection
Liangxu Linux
Liangxu Linux
Sep 17, 2025 · Fundamentals

Mastering Event‑Driven Design and State Machines for Embedded Firmware

This article explains how event‑driven programming and state‑machine concepts can be applied to microcontroller firmware, compares a simple flag‑based approach with a message‑queue solution, and presents a reusable GF1.0 framework that combines ISR, message buffering, and a main state machine for robust embedded systems.

Message QueueMicrocontrollerembedded systems
0 likes · 32 min read
Mastering Event‑Driven Design and State Machines for Embedded Firmware
IT Services Circle
IT Services Circle
Sep 13, 2025 · Fundamentals

When to Replace if‑else with Strategy Pattern in Embedded Systems

This article compares traditional if‑else/switch‑case branching with the Strategy design pattern in embedded development, illustrating their differences through analogies and code examples, and explains when to adopt Strategy for better extensibility, lower coupling, and maintainability while noting scenarios where simple branching remains preferable.

Design PatternsSoftware Architectureembedded systems
0 likes · 12 min read
When to Replace if‑else with Strategy Pattern in Embedded Systems
Deepin Linux
Deepin Linux
Sep 9, 2025 · Fundamentals

Master ARM32/64 Architecture: From Instruction Sets to Performance Analysis

This intensive two‑day course covers ARM32/64 processor instruction sets, mode switching, exception vectors, system call mechanisms, memory management, atomic operations, cache synchronization, and top‑down performance analysis with perf, while also introducing M‑series MCU architectures and providing hands‑on labs for embedded Linux developers.

ARMLinuxembedded systems
0 likes · 7 min read
Master ARM32/64 Architecture: From Instruction Sets to Performance Analysis
Liangxu Linux
Liangxu Linux
Aug 6, 2025 · Fundamentals

Functional vs Imperative Programming in Embedded Systems: When to Choose Which?

This article compares functional and imperative programming for embedded systems, examining testability, maintainability, and performance, and provides C code examples that illustrate the trade‑offs of each paradigm; it also discusses resource constraints, recursion overhead, and how to combine both approaches in practice.

embedded systemsfunctional programmingimperative programming
0 likes · 9 min read
Functional vs Imperative Programming in Embedded Systems: When to Choose Which?
21CTO
21CTO
Jul 4, 2025 · Fundamentals

Why Rust Is Revolutionizing Industrial Automation: Speed, Safety, and Scalability

This article explains how Rust’s high performance, strict memory safety, and modern concurrency model are reshaping industrial automation—from embedded controllers and IoT devices to robotics—by eliminating common C/C++ bugs, improving reliability, and enabling scalable, secure systems.

IoTRoboticsRust
0 likes · 8 min read
Why Rust Is Revolutionizing Industrial Automation: Speed, Safety, and Scalability
php Courses
php Courses
Jul 2, 2025 · Game Development

Why C++ Dominates Game Development, Systems, and High‑Performance Computing

From powering cutting‑edge 3A games and operating system kernels to accelerating scientific simulations, high‑frequency trading, and embedded IoT devices, C++ remains the go‑to language for high‑performance, low‑level control across diverse domains, thanks to its speed, portability, and fine‑grained memory management.

C++FinTechGame Development
0 likes · 6 min read
Why C++ Dominates Game Development, Systems, and High‑Performance Computing
Liangxu Linux
Liangxu Linux
Jun 15, 2025 · Fundamentals

Functional vs Imperative Programming in Embedded Systems: Which Wins?

This article compares functional and imperative (non‑functional) programming approaches for embedded applications, examining testability, maintainability, performance, and resource usage, and provides concrete C code examples illustrating each paradigm’s trade‑offs, helping developers choose the right style for their constraints.

c++embedded systemsfunctional programming
0 likes · 8 min read
Functional vs Imperative Programming in Embedded Systems: Which Wins?
Deepin Linux
Deepin Linux
Jun 11, 2025 · Fundamentals

How ARM+Linux Interrupts Power Efficient Computing: Deep Dive into Mechanisms

This article explains the role of the interrupt system in ARM‑based Linux platforms, covering hardware modes, vector tables, exception handling, GIC architecture, and kernel integration, and provides detailed code examples and optimization techniques for developers working on embedded and high‑performance systems.

ARMInterruptsLinux
0 likes · 47 min read
How ARM+Linux Interrupts Power Efficient Computing: Deep Dive into Mechanisms
Liangxu Linux
Liangxu Linux
May 25, 2025 · Fundamentals

Master Embedded Performance: Memory, Cache, Compiler, RTOS, Security, and Power Optimization

This guide presents practical, cross‑industry techniques for advancing embedded software engineers, covering deep memory‑management practices, cache and compiler tuning, real‑time analysis, RTOS kernel customization, security hardening, layered architecture design, and power‑saving strategies such as DVFS and tickless idle.

Memory ManagementRTOSembedded systems
0 likes · 13 min read
Master Embedded Performance: Memory, Cache, Compiler, RTOS, Security, and Power Optimization
Java Tech Enthusiast
Java Tech Enthusiast
May 24, 2025 · Fundamentals

The Rise and Fall of Japan’s TRON Intelligent House and Its Impact on Embedded Systems

The article recounts how Japan’s 1989 TRON Intelligent House showcased early ubiquitous computing, describes the TRON architecture’s various profiles, and explains how geopolitical pressure from the United States halted Japan’s ambition to create an independent IT ecosystem, shifting focus to embedded‑system ITRON.

Japanese IT HistoryTRONembedded systems
0 likes · 7 min read
The Rise and Fall of Japan’s TRON Intelligent House and Its Impact on Embedded Systems
Java Tech Enthusiast
Java Tech Enthusiast
May 16, 2025 · Game Development

The Unexpected Birth of Lua: From Brazil to Global Scripting Success

Lua, a lightweight scripting language born in Brazil in 1993, overcame early obscurity to become a globally adopted tool for game development, embedded systems, and diverse applications, illustrating how a small team can solve a universal need and achieve worldwide success.

LuaProgramming Language HistoryScripting Language
0 likes · 10 min read
The Unexpected Birth of Lua: From Brazil to Global Scripting Success
Deepin Linux
Deepin Linux
Mar 5, 2025 · Fundamentals

Embedded Systems Interview Guide: Linux Thread Scheduling, STM32 Configurations, SPI, DMA, Synchronization, and Debugging

This article provides a comprehensive interview guide for embedded systems positions, covering Linux thread scheduling, single‑core CPU execution, STM32 chip specifications, SPI communication, DMA concepts, synchronization primitives, priority inversion solutions, debugging techniques, and software design considerations.

DMALinux schedulingSPI
0 likes · 21 min read
Embedded Systems Interview Guide: Linux Thread Scheduling, STM32 Configurations, SPI, DMA, Synchronization, and Debugging
Liangxu Linux
Liangxu Linux
Feb 26, 2025 · Fundamentals

14 Popular Real-Time Operating Systems (RTOS) Compared: Features & Use Cases

This article introduces fourteen mainstream RTOS—including μClinux, μC/OS-II, eCos, FreeRTOS, mbed OS, RTX, VxWorks, QNX, NuttX, djyos, AliOS Things, Huawei LiteOS, RT-Thread, and SylixOS—detailing their characteristics, hardware requirements, strengths, and typical application scenarios for embedded development.

FreeRTOSIoTLinux
0 likes · 16 min read
14 Popular Real-Time Operating Systems (RTOS) Compared: Features & Use Cases
Liangxu Linux
Liangxu Linux
Nov 26, 2024 · Fundamentals

What Does the CPU Do When an RTOS Has No Ready Tasks?

When an RTOS has no runnable tasks and all tasks are delayed or waiting for events, the CPU does not stay idle but executes the system's idle task or thread, which may simply loop forever unless the developer adds custom work.

FreeRTOSIdle TaskRTOS
0 likes · 4 min read
What Does the CPU Do When an RTOS Has No Ready Tasks?
Deepin Linux
Deepin Linux
Sep 10, 2024 · Fundamentals

Comprehensive Embedded Software Interview Guide: Memory Management, IPC, DMA, Kernel Allocation, and Core Concepts

This article provides an extensive overview of embedded software fundamentals, covering heap vs. stack differences, wild pointers, DMA roles, inter‑process communication methods, memory allocation strategies, malloc vs. new, volatile usage, pointer concepts, Linux kernel locks, FreeRTOS mechanisms, stack overflow prevention, compilation stages, quick‑sort algorithm, header inclusion, CAN identifiers, struct memory optimization, STM32 interrupt handling, user‑to‑kernel transitions, and condition‑variable thundering‑herd effects.

C++CompilationDMA
0 likes · 121 min read
Comprehensive Embedded Software Interview Guide: Memory Management, IPC, DMA, Kernel Allocation, and Core Concepts
21CTO
21CTO
Sep 9, 2024 · Information Security

Why Google Is Rewriting Android Firmware in Rust—and What It Means for Memory Safety

Google has rebuilt the protected virtual‑machine firmware of its Android virtualization framework in Rust, highlighting the language’s safety benefits, productivity gains, and the broader push from both industry and the U.S. government to eliminate memory‑safety bugs in critical software.

AndroidGoogleMemory Safety
0 likes · 5 min read
Why Google Is Rewriting Android Firmware in Rust—and What It Means for Memory Safety
Liangxu Linux
Liangxu Linux
Aug 22, 2024 · Operations

How to Auto-Start Applications on Embedded Linux: 3 Proven Methods

Embedded Linux systems often auto‑start applications after boot to save resources, and this guide explains three methods—using a /linuxrc script, adding scripts under /etc/init.d, and editing /etc/rc.d/rc.local—plus a detailed overview of Linux runlevels and the complete boot sequence.

Auto-startBoot ProcessLinux
0 likes · 9 min read
How to Auto-Start Applications on Embedded Linux: 3 Proven Methods
Liangxu Linux
Liangxu Linux
Aug 6, 2024 · Fundamentals

Inside an Embedded Engineer’s Day: From Development to Maintenance

The article shares a firsthand account of an embedded engineer’s workflow, detailing the development, testing/production, and maintenance phases of a product lifecycle, and offers practical insights and personal reflections on the challenges and learning opportunities at each stage.

Firmware DevelopmentRTOSembedded systems
0 likes · 5 min read
Inside an Embedded Engineer’s Day: From Development to Maintenance
Coolpad Technology Team
Coolpad Technology Team
Jul 22, 2024 · Operations

Dual-Display Adaptation of a Financial Terminal Tablet on OpenHarmony with RK3588: Architecture, DTS Configuration, Driver Porting, and Hotplug Handling

This article details the successful adaptation of a financial terminal tablet to OpenHarmony on an RK3588 platform, covering the RK3588 display architecture, eDP + DP‑to‑HDMI dual‑screen configuration, DTS settings, Linux DRM driver porting, testing with hello_composer, and the challenges and solutions for DP hot‑plug support.

Display DriverHotplugLinux DRM
0 likes · 10 min read
Dual-Display Adaptation of a Financial Terminal Tablet on OpenHarmony with RK3588: Architecture, DTS Configuration, Driver Porting, and Hotplug Handling
DevOps
DevOps
Jul 9, 2024 · Operations

Applying DevOps to Embedded Software Development: Challenges, Design, and Case Study

This article examines how DevOps principles can be applied to embedded software development, analyzing its core concepts, specific challenges such as hardware dependency and resource constraints, and proposing organizational and CI/CD design solutions, illustrated with case studies and workflow diagrams, concluding with measurable efficiency gains.

ci/cdembedded systems
0 likes · 15 min read
Applying DevOps to Embedded Software Development: Challenges, Design, and Case Study
Open Source Linux
Open Source Linux
Jun 17, 2024 · Fundamentals

for(;;) vs while(1): Which Infinite Loop Is Faster in Embedded C?

This article compares the infinite‑loop constructs for(;;) and while(1) in C, examining compiler optimizations, performance measurements on microcontrollers, coding style guidelines, and industry standards to determine if one form offers any real advantage over the other.

C ProgrammingCompiler OptimizationPerformance Testing
0 likes · 7 min read
for(;;) vs while(1): Which Infinite Loop Is Faster in Embedded C?
Lobster Programming
Lobster Programming
Apr 22, 2024 · Fundamentals

Master Lua: What It Is, Key Features, and How to Install on Linux

Lua is a lightweight, high-performance scripting language supporting multiple paradigms, widely used in game development, embedded systems, and web servers; this guide explains its core characteristics, typical applications, and provides step-by-step instructions for downloading, compiling, and configuring Lua on a Linux system.

Game DevelopmentInstallationLinux
0 likes · 3 min read
Master Lua: What It Is, Key Features, and How to Install on Linux
Liangxu Linux
Liangxu Linux
Mar 24, 2024 · Fundamentals

Mastering MCU: History, Features, and Programming Tips for Embedded Engineers

An extensive guide covering MCU fundamentals, from its definition and rapid historical evolution, through classification, core functions, leading manufacturers, practical learning strategies, typical program architecture, and detailed C code examples, offering engineers essential knowledge for effective microcontroller development and application.

HardwareMCUMicrocontroller
0 likes · 38 min read
Mastering MCU: History, Features, and Programming Tips for Embedded Engineers
Open Source Linux
Open Source Linux
Mar 1, 2024 · Fundamentals

Mastering AT Command Parsing: A Comprehensive Guide to Embedded Communication Modules

This guide details a lightweight AT command parsing module supporting both bare‑metal and OS versions, explains its architecture, core data structures, key APIs, and provides step‑by‑step usage examples—including GPIO testing, signal‑quality queries, and TCP data transmission—for modems, Wi‑Fi and Bluetooth communication.

AT commandsBare MetalC Programming
0 likes · 8 min read
Mastering AT Command Parsing: A Comprehensive Guide to Embedded Communication Modules
Open Source Linux
Open Source Linux
Feb 27, 2024 · Fundamentals

Unlocking static, volatile, sizeof & I2C: Essential C Tips for Embedded Engineers

This article explains the roles of the static and volatile keywords, compares sizeof and strlen, shows how to reliably compare floating‑point numbers, discusses the impact of floating‑point operations on STM32 interrupt performance, and outlines the I2C protocol and address configuration for embedded systems.

C ProgrammingI2Cembedded systems
0 likes · 13 min read
Unlocking static, volatile, sizeof & I2C: Essential C Tips for Embedded Engineers
Open Source Linux
Open Source Linux
Feb 17, 2024 · Fundamentals

Mastering AT Command Parsing: Build Bare‑Metal and OS‑Based Communication Modules

This article introduces an AT‑command communication parsing module that supports both bare‑metal (at_chat) and OS‑based versions, explains its software architecture, core data structures, key interfaces, and provides step‑by‑step usage examples with complete C code snippets for Wi‑Fi, Bluetooth, and modem integration.

AT commandsBare MetalC Programming
0 likes · 9 min read
Mastering AT Command Parsing: Build Bare‑Metal and OS‑Based Communication Modules
Open Source Tech Hub
Open Source Tech Hub
Jan 26, 2024 · Fundamentals

How Smaz2 Compresses LoRa Messages on Tiny Devices

This article explains the motivation, dictionary design, bigram table, encoding rules, and real‑world compression results of the Smaz2 library, a space‑optimized C/Python compressor for short LoRa messages on microcontrollers with less than 2 KB RAM.

LoRAPythonc++
0 likes · 8 min read
How Smaz2 Compresses LoRa Messages on Tiny Devices
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Jan 25, 2024 · Fundamentals

Inside China’s 2024 National Advanced Computer Teaching Training: Highlights and Insights

The 2024 National Advanced Computer Teaching Training held in Dongguan brought together over 200 university teachers from 119 schools to explore cutting‑edge topics such as cloud data warehouses, AI platforms, digital logic, and OpenHarmony, showcasing industry‑academic collaboration and practical hands‑on sessions.

Big Datacloud computingcomputer education
0 likes · 11 min read
Inside China’s 2024 National Advanced Computer Teaching Training: Highlights and Insights
Liangxu Linux
Liangxu Linux
Jan 23, 2024 · Fundamentals

How Weak Symbols and Weak References Simplify Cross‑Platform C Development

This article explains the concept of weak symbols and weak references in C, demonstrates their behavior with practical examples, and shows how they can be leveraged to create maintainable, cross‑platform embedded drivers while addressing compiler differences and linker nuances.

C ProgrammingCross‑platform developmentLinker
0 likes · 20 min read
How Weak Symbols and Weak References Simplify Cross‑Platform C Development
Liangxu Linux
Liangxu Linux
Dec 25, 2023 · Fundamentals

7 Proven Techniques to Boost Embedded System Reliability

This article presents seven practical, long‑term strategies—such as ROM filling, CRC checks, RAM validation, stack monitoring, MPU usage, robust watchdog design, and avoiding volatile memory allocation—to help embedded engineers build more reliable firmware and catch abnormal behavior early.

MPUMemory ManagementReliability
0 likes · 9 min read
7 Proven Techniques to Boost Embedded System Reliability
Deepin Linux
Deepin Linux
Dec 1, 2023 · Fundamentals

65 Essential Embedded System Interview Questions and Answers

This comprehensive guide presents 65 common embedded‑system interview questions covering topics such as memory layout, stack vs. heap, static and volatile keywords, pointers and references, malloc usage, C vs. C++ differences, compilation stages, process and thread concepts, IPC mechanisms, and networking fundamentals, providing concise explanations and code examples for each.

C ProgrammingMemory Managementembedded systems
0 likes · 64 min read
65 Essential Embedded System Interview Questions and Answers
Liangxu Linux
Liangxu Linux
Oct 7, 2023 · Fundamentals

Motor Control vs Linux Driver Development: Which Career Path Fits You?

This article compares motor‑control engineering and Linux driver development, outlining the core tasks, required knowledge, and typical technologies for each field, and helps readers decide which specialization aligns better with their skills and interests.

C ProgrammingDSPLinux driver
0 likes · 5 min read
Motor Control vs Linux Driver Development: Which Career Path Fits You?
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Sep 22, 2023 · Mobile Development

Advances in Android Memory Optimization and Linux Kernel Techniques Presented at CCF ESTC 2023

At the 2023 CCF ESTC conference, OPPO showcased its 64 KB dynamic large‑page technology that can increase memory‑access bandwidth up to sixteenfold and improve app startup and frame rates, while also co‑hosting a Linux‑kernel forum on scheduler, lock contention, memory defragmentation and hot‑cold page optimization, underscoring the company’s push for industry‑academic collaboration and future OS research.

AndroidDynamic Large PagesMemory Optimization
0 likes · 8 min read
Advances in Android Memory Optimization and Linux Kernel Techniques Presented at CCF ESTC 2023
MaGe Linux Operations
MaGe Linux Operations
Sep 20, 2023 · Fundamentals

Is Linux a Real‑Time OS? Comparing RTOS and Time‑Sharing Systems

This article explains the definitions, features, and core concepts of real‑time operating systems (RTOS) and time‑sharing operating systems (TSOS), compares their characteristics and typical use cases, and concludes that standard Linux is a time‑sharing OS that can be patched for real‑time operation.

LinuxRTOSTime-sharing
0 likes · 9 min read
Is Linux a Real‑Time OS? Comparing RTOS and Time‑Sharing Systems
Open Source Linux
Open Source Linux
Aug 18, 2023 · Fundamentals

Understanding Serial Communication: RS232, RS422, RS485 Explained

This article provides a comprehensive overview of serial communication, comparing it with parallel communication, detailing communication modes, and explaining the characteristics, physical interfaces, protocols, baud rates, and data structures of RS232, RS422, and RS485, including practical wiring examples.

Data TransmissionRS232RS422
0 likes · 9 min read
Understanding Serial Communication: RS232, RS422, RS485 Explained
Continuous Delivery 2.0
Continuous Delivery 2.0
Aug 9, 2023 · Operations

Continuous Delivery in the Automotive Industry: Challenges and Practices

The article examines how the automotive sector adopts continuous delivery, describing the multi‑stage deployment pipeline, safety‑critical testing, distributed embedded architectures, and real‑world observations from Tesla’s over‑the‑air updates, while highlighting the technical and organizational challenges involved.

Continuous Deliveryautomotive softwareembedded systems
0 likes · 14 min read
Continuous Delivery in the Automotive Industry: Challenges and Practices
Liangxu Linux
Liangxu Linux
Jul 30, 2023 · Fundamentals

How Event‑Driven State Machines Power Embedded Systems: From ISR to Message Queues

This article explains the principles of event‑driven programming and state‑machine design for microcontrollers, compares them with interrupt handling, introduces a message‑based architecture with concrete data structures and APIs, and shows how to build a reusable framework that solves ordering and loss problems in embedded applications.

Event-drivenISRMicrocontroller
0 likes · 33 min read
How Event‑Driven State Machines Power Embedded Systems: From ISR to Message Queues
Liangxu Linux
Liangxu Linux
May 23, 2023 · Information Security

Protecting MCU Firmware with UDID‑Based Licensing and Encryption

The article explains how to safeguard embedded firmware by using each MCU's unique device identifier to generate per‑device licenses, outlines simple and advanced encryption methods, compares secure and regular MCUs, and introduces a production‑grade programming tool that enforces these protections.

MCUUDID licensingembedded systems
0 likes · 8 min read
Protecting MCU Firmware with UDID‑Based Licensing and Encryption
Liangxu Linux
Liangxu Linux
Mar 29, 2023 · Fundamentals

What Happens When main() Returns on a Bare‑Metal Microcontroller?

In bare‑metal embedded systems without an RTOS, the fate of a program after the C main() function returns varies by compiler, and understanding the startup code and post‑main behavior explains why LEDs may flicker or why an infinite loop is often required.

C ProgrammingMicrocontrollerembedded systems
0 likes · 6 min read
What Happens When main() Returns on a Bare‑Metal Microcontroller?
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Mar 10, 2023 · Fundamentals

CMA (Contiguous Memory Allocator) Technical Principle Analysis and Source Code Interpretation

Linux’s Contiguous Memory Allocator (CMA) reserves and manages large physical memory blocks for devices by integrating with the Buddy system, using structures like struct cma, bitmap allocation, and APIs such as cma_init_reserved_mem and cma_alloc, while handling page migration, LRU and per‑CPU PCP caches to ensure efficient allocation and release.

CMAContiguous Memorybuddy system
0 likes · 15 min read
CMA (Contiguous Memory Allocator) Technical Principle Analysis and Source Code Interpretation
Open Source Linux
Open Source Linux
Mar 2, 2023 · Fundamentals

X86 vs ARM: Understanding the Core Differences and Market Shifts

This article compares the dominant X86 and ARM CPU architectures, explaining their performance versus power trade‑offs, CISC versus RISC designs, typical application domains, and the recent surge of ARM‑based servers driven by cloud, HPC and edge computing demands.

CISCCPU architectureRISC
0 likes · 6 min read
X86 vs ARM: Understanding the Core Differences and Market Shifts
Liangxu Linux
Liangxu Linux
Nov 8, 2022 · Fundamentals

Essential Linux Commands, File Types, and Embedded System Basics Explained

This guide covers core Linux commands, supported file types, inter‑process communication methods, ARM exception categories, interrupt handling steps, GPIO concepts, I2C and SPI pin functions, as well as driver inspection commands, character device creation, synchronization primitives, and key kernel subsystems.

ARMDevice DriversI2C
0 likes · 10 min read
Essential Linux Commands, File Types, and Embedded System Basics Explained
Architects' Tech Alliance
Architects' Tech Alliance
Nov 2, 2022 · Fundamentals

Understanding DMA (Direct Memory Access) in STM32 Microcontrollers

This article explains the principles, transfer modes, parameters, features, and register configuration of Direct Memory Access (DMA) in STM32 microcontrollers, illustrating how DMA offloads data movement from the CPU, improves performance, and integrates with peripherals, memory, and interrupt handling.

DMADirect Memory AccessMicrocontroller
0 likes · 16 min read
Understanding DMA (Direct Memory Access) in STM32 Microcontrollers
21CTO
21CTO
Oct 18, 2022 · Information Security

Can Google’s New KataOS Deliver a Provably Secure Embedded AI Platform?

Google’s experimental KataOS, built with Rust atop the formally verified seL4 microkernel and paired with the Sparrow reference implementation, aims to provide a provably secure operating system for embedded machine‑learning workloads, highlighting collaborations, architectural choices, and its place among historic microkernels.

KataOSRustSecure OS
0 likes · 5 min read
Can Google’s New KataOS Deliver a Provably Secure Embedded AI Platform?
DevOps Cloud Academy
DevOps Cloud Academy
Aug 25, 2022 · Operations

Continuous Delivery in Automotive Software: Challenges, Practices, and Real‑World Observations

This article examines how the automotive industry adopts continuous delivery, detailing the unique distributed, embedded, and safety‑critical constraints, the three‑stage deployment pipeline, test selection and load‑balancing strategies, and a case study of Tesla’s firmware rollout patterns.

Continuous DeliverySoftware Testingautomotive software
0 likes · 14 min read
Continuous Delivery in Automotive Software: Challenges, Practices, and Real‑World Observations
Continuous Delivery 2.0
Continuous Delivery 2.0
Aug 24, 2022 · Operations

Continuous Delivery in Automotive Software: Challenges, Practices, and Tesla’s Deployment Patterns

The article examines how the automotive industry adopts continuous delivery and DevOps techniques—detailing deployment pipelines, distributed embedded ECUs, safety‑critical testing, tooling, and real‑world observations from Tesla’s firmware release cycles—to illustrate the unique challenges and emerging solutions for rapid, reliable software updates in vehicles.

Continuous DeliveryDeployment PipelineDevOps
0 likes · 13 min read
Continuous Delivery in Automotive Software: Challenges, Practices, and Tesla’s Deployment Patterns
SQB Blog
SQB Blog
Jun 24, 2022 · Fundamentals

Unlocking Embedded RTOS: A Deep Dive into Multi‑Task Scheduling, IPC, and Chip Porting

This comprehensive guide explores the fundamentals of embedded real‑time operating systems, covering instruction set architecture, hardware‑software ecosystems, multi‑task scheduling algorithms, inter‑process communication primitives, software timers, and concrete RISC‑V and Cortex‑M porting implementations with Rust and assembly examples.

AssemblyRTOSRust
0 likes · 65 min read
Unlocking Embedded RTOS: A Deep Dive into Multi‑Task Scheduling, IPC, and Chip Porting
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 14, 2022 · Fundamentals

FreeRTOS Memory Allocation Methods, Interfaces, and Management Schemes

FreeRTOS supports both static and dynamic memory allocation, allowing tasks, timers, semaphores and mutexes to use either a pre‑allocated region or the system heap, provides pvPortMalloc/vPortFree APIs, and offers five heap schemes (heap_1‑5) ranging from simple non‑freeing allocation to multi‑region coalescing management for flexible embedded applications.

FreeRTOSStatic Allocationdynamic allocation
0 likes · 8 min read
FreeRTOS Memory Allocation Methods, Interfaces, and Management Schemes
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Dec 24, 2021 · Fundamentals

Understanding SPI Protocol, Hardware Interface Design, Timing Diagram, and Linux Kernel Driver Framework

SPI is a high‑speed, full‑duplex serial bus using four pins (CS, SCK, MOSI, MISO) with configurable clock polarity and phase, whose timing diagram shows data transfer on clock edges, and Linux provides a driver framework built around spi_driver, spi_transfer, and spi_message structures for reliable sensor communication.

SPISerial Peripheral Interfacedevice driver
0 likes · 8 min read
Understanding SPI Protocol, Hardware Interface Design, Timing Diagram, and Linux Kernel Driver Framework
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Sep 17, 2021 · Fundamentals

Understanding FreeRTOS Task Scheduling and Inter‑Task Communication

This article explains how FreeRTOS treats tasks as the smallest scheduling unit, details the three phases of task scheduling, describes task states and transitions, and reviews the built‑in communication mechanisms such as semaphores, queues, notifications, and event groups.

FreeRTOSInter-task CommunicationRTOS
0 likes · 9 min read
Understanding FreeRTOS Task Scheduling and Inter‑Task Communication
21CTO
21CTO
Aug 14, 2021 · Artificial Intelligence

Meet Xiaomi’s CyberDog: How a $10,000 Bionic Robot Is Changing the Game

Xiaomi unveiled its bionic quadruped robot, CyberDog (nicknamed “铁蛋”), featuring a Jetson Xavier NX AI brain, 32 N·m torque servomotors, advanced vision and auditory sensors, and a suite of motion capabilities, while offering a limited edition at just 9,999 yuan and promising open‑source hardware and software for developers.

AIHardwareRobotics
0 likes · 7 min read
Meet Xiaomi’s CyberDog: How a $10,000 Bionic Robot Is Changing the Game
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Aug 13, 2021 · Fundamentals

Device Tree Fundamentals: Concepts, Overlay Mechanism, and Debugging

The article explains Device Tree fundamentals—defining DTS, DTSI, DTB and DTBO formats, their origin as a cleaner alternative to kernel‑embedded platform code, how overlays decouple vendor changes via matching project and PCB IDs, the rules for modifying nodes, and debugging techniques using dtc and mkdtimgdump tools.

DTBODTSDevice Tree
0 likes · 6 min read
Device Tree Fundamentals: Concepts, Overlay Mechanism, and Debugging
Alibaba Cloud Developer
Alibaba Cloud Developer
May 27, 2021 · Cloud Computing

From Embedded to IoT: Evolution of Tech, Roles, OS, and Business Models

This article examines how the rise of the Internet of Things has transformed the technology stack, developer responsibilities, operating systems, and business models, highlighting the expanding skill set required and the shift from hardware‑centric revenue to cloud‑based services and platforms.

IoTSoftware DevelopmentTechnology Evolution
0 likes · 11 min read
From Embedded to IoT: Evolution of Tech, Roles, OS, and Business Models
Liangxu Linux
Liangxu Linux
Mar 7, 2021 · Fundamentals

Understanding UART and Linux Serial Driver Architecture: From Basics to Implementation

This article provides a comprehensive guide to UART fundamentals, communication protocols, baud‑rate calculations, RS232/RS485 differences, flow‑control mechanisms, and the Linux TTY serial framework, including driver registration, data flow, key kernel structures, and practical C code examples for embedded development.

LinuxRS485Serial Driver
0 likes · 35 min read
Understanding UART and Linux Serial Driver Architecture: From Basics to Implementation
Liangxu Linux
Liangxu Linux
Feb 21, 2021 · Fundamentals

Mastering UART: From Hardware Basics to Linux Serial Driver Implementation

This article provides a comprehensive guide to UART technology, covering its hardware protocol, baud‑rate calculations, RS232/RS485 differences, flow‑control methods, the Linux TTY serial framework with key data structures, driver registration lifecycle, RS485 debugging modes, and a complete C example for configuring and using a serial port on Linux.

Device DriversFlow ControlRS485
0 likes · 38 min read
Mastering UART: From Hardware Basics to Linux Serial Driver Implementation
Java Architect Essentials
Java Architect Essentials
Feb 15, 2021 · Fundamentals

Operating Systems Used in Modern Aircraft: VxWorks, Integrity‑178B, and C++ in the F‑35

The article explains that aircraft software relies on standard computer components but requires highly reliable, robust, real‑time operating systems such as VxWorks for Boeing 787 and AH‑64, Integrity‑178B for many fighter jets and Airbus A380, and recent C++ implementations with CompCert for the F‑35, highlighting the unique demands of aerospace computing.

CompCertIntegrity-178BVxWorks
0 likes · 4 min read
Operating Systems Used in Modern Aircraft: VxWorks, Integrity‑178B, and C++ in the F‑35
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Nov 6, 2020 · Mobile Development

Overview of CHRE (Context Hub Runtime Environment) Architecture, Code Structure, and Event Processing

CHRE (Context Hub Runtime Environment) is an event‑driven, single‑threaded framework that hosts nanoapps on a sensor hub, organizing its source tree into API, Core, PAL, Platform, Apps, and Util directories, and managing events through a singleton EventLoopManager that initializes, queues, and dispatches system and nanoapp events.

AndroidCHREContext Hub
0 likes · 7 min read
Overview of CHRE (Context Hub Runtime Environment) Architecture, Code Structure, and Event Processing
Tencent Cloud Developer
Tencent Cloud Developer
Nov 4, 2020 · Fundamentals

TencentOS Tiny: Architecture, Core Technologies, and Ecosystem Overview

TencentOS Tiny is an open‑source, ultra‑lightweight real‑time OS for IoT devices that abstracts hardware, provides secure identity, modular networking, OTA updates, low‑power management, and dynamic ELF loading, supporting dozens of MCUs and enabling rapid integration with Tencent Cloud or private clouds across diverse verticals.

IoTLow PowerTencentOS tiny
0 likes · 28 min read
TencentOS Tiny: Architecture, Core Technologies, and Ecosystem Overview
Amap Tech
Amap Tech
Aug 24, 2020 · Industry Insights

Remote Debugging Car Navigation Software with Thrift and a PC Simulator

This article explains how to overcome the limitations of PC‑based simulators for in‑vehicle navigation development by using a Thrift‑based proxy (Sandwich) to forward car‑side signals to a PC, enable bidirectional debugging, and project map rendering back to the vehicle display.

RPCThriftcar navigation
0 likes · 9 min read
Remote Debugging Car Navigation Software with Thrift and a PC Simulator
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Jul 31, 2020 · Fundamentals

What Are Sensors and Why Are They the Backbone of IoT?

This article explains what sensors are, their crucial role as the perception layer in the Internet of Things, outlines common sensor types such as ultrasonic, infrared, temperature‑humidity, light, motion, pressure and gas sensors, and discusses emerging trends like higher precision, miniaturization, low power consumption, and improved reliability.

HardwareIoTSensors
0 likes · 8 min read
What Are Sensors and Why Are They the Backbone of IoT?