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
Oct 4, 2025 · Fundamentals

Mastering I²C: From Physical‑Layer Secrets to Advanced Debugging Techniques

This comprehensive guide explains the I²C bus fundamentals—including its two‑wire physical layer, protocol rules, message framing, master‑write and master‑read sequences, advanced features like multi‑master arbitration and clock stretching, plus common pitfalls and practical debugging strategies for embedded developers.

Communication ProtocolI2C
0 likes · 20 min read
Mastering I²C: From Physical‑Layer Secrets to Advanced Debugging Techniques
Liangxu Linux
Liangxu Linux
Feb 29, 2024 · Fundamentals

Master static, volatile, sizeof, and I2C for Embedded C

This guide explains the purposes and effects of the C/C++ static and volatile keywords, compares the sizeof operator with strlen, describes reliable methods for comparing floating‑point numbers, outlines how floating‑point operations affect STM32 interrupt performance, and provides a concise overview of the I²C protocol and address configuration on STM32 devices.

C++I2CSTM32
0 likes · 9 min read
Master static, volatile, sizeof, and I2C for Embedded C
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
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