Introduction to the C++ Programming Language

Introduction to the C++ Programming Language

C++ is renowned for its low latency and high efficiency. Learn more about this programming language, which is widely used for creating operating systems and embedded systems. Translated from “Introduction to C++ Programming Language” by TNS Staff. C++ is highly regarded for its low latency and high efficiency, which are crucial for system-level programming in … Read more

Using ADC Measurement: Internal STM32 ADC Pins vs. External ADC7606-like ADC Chips

Using ADC Measurement: Internal STM32 ADC Pins vs. External ADC7606-like ADC Chips

In embedded system design, selecting an ADC chip requires a comprehensive consideration of performance, application scenarios, and development costs. The STM32’s ADC and dedicated ADC chips like the AD7606 exhibit significant differences in core parameters, functional features, and applicable scenarios. Below is a comparative analysis and selection advice for both: 1. Performance Parameter Comparison 2. … Read more

STM32 Quick Notes (Sixteen) – SPI Communication

STM32 Quick Notes (Sixteen) - SPI Communication

๐ŸŽ€ Article Author: Ertu Electronics ๐ŸŒธ Follow our public account for more resources! ๐Ÿธ Looking forward to learning and exchanging ideas together! 1. Introduction to SPI SPI stands for Serial Peripheral Interface, which is a high-speed, full-duplex, synchronous communication bus. It only occupies four pins on the chip, saving pin space while providing…

Guide to Avoiding Pitfalls in Embedded Development: A Comprehensive Analysis and Practical Solutions for I2C Bus Deadlocks

Guide to Avoiding Pitfalls in Embedded Development: A Comprehensive Analysis and Practical Solutions for I2C Bus Deadlocks

1. Introduction: When the “Two Wires” Suddenly “Stop Working“ In the daily work of embedded engineers, the I2C bus, with its two-wire communication feature, is a prime example of “minimalist aesthetics“. However, this seemingly simple two-wire system can suddenly fall into a “deadlock“โ€”the clock line (SCL) stubbornly remains high, while the data line (SDA) is … Read more

EP Lec.9: I2C

EP Lec.9: I2C

Neuro and Evil fun time pid:126363594 by:Wimo Yes, that’s right, I2C has also been discussed in the Microelectronic System Click here to view the Microelectronic System review: I2C Background Knowledge Parallel Transmission and Serial Transmission Parallel Transmission Transmits multiple bits at once, usually using multiple data lines simultaneously. Serial Transmission Transmits one bit at a … Read more

In-Depth Analysis of DSP Chips

In-Depth Analysis of DSP Chips

Comparing DSPs to “mathematical prodigies”: while ordinary CPUs (like MCUs) excel at multitasking (the “liberal arts students”), DSPs specialize in quickly solving complex equations (the “science students”), achieving “mental calculation abilities” through hardware acceleration (such as MAC units), making them suitable for the “high-intensity mathematics competitions” of real-time signal processing. 1. Core Functions and Architectural … Read more

Embedded Programming Model | Simple Factory Pattern

Embedded Programming Model | Simple Factory Pattern

Follow our official account to keep receiving embedded knowledge! 1. Simple Factory Pattern The Simple Factory Pattern, also known as the Static Factory Method Pattern, is a type of creational pattern. It encapsulates the object creation logic through a factory class, dynamically instantiating specific product classes based on input parameters, achieving decoupling of creation and … Read more

Understanding PID: An Introduction to Motors and Drivers

Understanding PID: An Introduction to Motors and Drivers

When learning and using PID, there are many motor options available. However, the PID parameters used for different motors can vary significantly. Therefore, we need to understand motors and drivers. 1 Types of Motors 1.1 Introduction to Motors A motor is a device that can convert electrical energy into mechanical energy and vice versa. Generators … Read more

FreeRTOS Part 1: Introduction to Real-Time Operating Systems

FreeRTOS Part 1: Introduction to Real-Time Operating Systems

This article lays the foundation for Bob’s new series on the open-source FreeRTOS, where he introduces the history of early multitasking real-time operating systems (RTOS) that allowed multiple tasks to run “simultaneously.” He uses FreeRTOS as an example to explain how multitasking RTOS works and its basic components. In 2019, as the world prepared to … Read more

FreeRTOS Part Two: Tasks

FreeRTOS Part Two: Tasks

FreeRTOS Tasks Letโ€™s continue Bobโ€™s open-source FreeRTOS series articles. The core of FreeRTOS is the task. In this second part, I will explore what a task is, what options are available to configure the Task Control Block (TCB), and what functionalities might be missing in the FreeRTOS TCB. As I grew up, I gradually discovered … Read more