Interrupt Management and Configuration in FreeRTOS Development

1. Interrupt Priority <span>Cortex-M</span> series cores (such as <span>M3/M4/M7</span>) use the <span>NVIC</span> (Nested Vectored Interrupt Controller) to support interrupt nesting and priority management. It employs a grouping mechanism that divides interrupt priority into two parts: Preemption Priority: Determines whether the current interrupt can interrupt other interrupts. Subpriority: Determines the response order when preemption priorities are … Read more

Is an RTOS Necessary?

Click the aboveblue text to follow us In the field of embedded systems, the choice of operating system has a significant impact on system performance, reliability, and functionality. A Real-Time Operating System (RTOS) is designed specifically for handling time-critical applications, ensuring that tasks are completed within strict deadlines. This article will explore the necessity of … Read more

Configuring OpenWRT Router as an IPv6 Gateway

Router Flashing This section refers to the relevant tutorials from various manufacturers, but it is said that there is a firmware called breed, which seems to make the router less likely to become bricked after flashing! Changing the Default Mirror Source of the Router and Preparation Work Connect to the router using SSH, by default … Read more

Clock Design for MCU Chips

For general-purpose MCU chips, the CPU operating frequency ranges from 100 to 300 MHz, while the frequency of typical crystals (xtals) is usually in the tens of MHz range. Therefore, MCUs typically use a PLL module to multiply the frequency to the hundreds of MHz range.Similarly, taking the STM32F10xxx series as an example, let’s examine … Read more

MCU, Storage, and Analog: Gigadevice Provides Full-Stack Support for Humanoid Robots

According to a report by Electronic Enthusiasts (Author: Wu Zipeng), humanoid robots are gradually moving from the conceptual stage to large-scale implementation, leading to a significant increase in demand for chips. Whether as the “brain” and “cerebellum” core computing modules, or in perception and control systems, chips are the key foundation for realizing these system … Read more

The Volatile Keyword You Might Overlook in MCUs

Click 👆👆👆 the blue text Follow “Passion Embedded” In embedded development, especially in the development of microcontrollers like STM32, the <span>volatile</span> keyword is a very important concept. 1. Concept of the volatile Keyword <span>volatile</span> is a type modifier in C/C++ that tells the compiler: The variable may be modified unexpectedly (e.g., by hardware, interrupts, or … Read more

Microcontroller: Can the Interrupt System Control an Entire Production Line? This Case Study Amazed Me!

Today, let’s discuss a seemingly simple yet powerful technology that can solve complex problems—the microcontroller interrupt system.In automated production lines, it is often necessary to respond in real-time to multiple sensor signals. How can a small microcontroller accomplish this task? The interrupt system acts as the invisible “master scheduler”. What is an Interrupt System? Imagine … Read more

Industry Research: Universal Chip FPGA – (Part 20) FPGA Downstream Applications in the Industrial Sector

Click the “blue text” above to follow for more exciting content. This article has a total of 982 words, reading it will take about 2 minutes. The industrial sector is the second largest application area for FPGAs after communications, accounting for 17% of the global application scope; in the domestic market, it may exceed 30%. … Read more

Industry Research: Advantages of FPGA Over GPU: Lower Power Consumption

Click the blue text above to follow for more exciting content. This article contains a total of 825 words, and reading it will take about 2 minutes. The power consumption of GPUs is very high because they cannot effectively utilize on-chip memory and need to frequently read from off-chip DRAM. Although their advantage in throughput … Read more