Tagged articles
11 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Dec 7, 2025 · Fundamentals

Control RGB LEDs with an NEC Infrared Codec Module and STM32

This tutorial explains how to use the YS‑IRTM NEC infrared codec module with an STM32F103C8T6 MCU to decode remote‑control signals, map them to UART commands, and drive a three‑color LED, covering hardware wiring, protocol details, UART configuration, and full source code.

LED controlNEC protocolSTM32
0 likes · 12 min read
Control RGB LEDs with an NEC Infrared Codec Module and STM32
Linux Tech Enthusiast
Linux Tech Enthusiast
Sep 12, 2025 · Fundamentals

Why Every Embedded Engineer Should Master DMA (Direct Memory Access)

This article explains the purpose, operation modes, configuration parameters, and register-level setup of DMA in STM32 microcontrollers, illustrating how DMA offloads data transfers from the CPU, improves performance, and provides concrete code examples for UART and memory‑to‑memory transfers.

DMADirect Memory AccessMicrocontroller
0 likes · 23 min read
Why Every Embedded Engineer Should Master DMA (Direct Memory Access)
Liangxu Linux
Liangxu Linux
May 31, 2025 · Fundamentals

How to Output Debug Logs in Embedded Systems Without a UART

This article explains several practical techniques for printing debug logs in embedded development—using SRAM buffers, SWO trace, UART with DMA, and GPIO‑bit‑banging—detailing their implementation, advantages, limitations, and code examples for reliable diagnostics on chips lacking conventional serial interfaces.

DMASWOUART
0 likes · 11 min read
How to Output Debug Logs in Embedded Systems Without a UART
Liangxu Linux
Liangxu Linux
Jun 12, 2023 · Fundamentals

Mastering Serial Communication: From UART Basics to STM32 Implementation

This comprehensive guide explains serial communication fundamentals, covering UART/RS‑232/RS‑485 protocols, physical layer standards, baud‑rate calculations, data frame structures, duplex modes, and provides detailed STM32 configuration code for practical embedded development.

RS-232STM32Serial Communication
0 likes · 11 min read
Mastering Serial Communication: From UART Basics to STM32 Implementation
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