A Quick Start Guide to FreeRTOS

A Quick Start Guide to FreeRTOS

Scan to FollowLearn Embedded Together, learn together, grow together The FreeRTOS introductory series aims to help beginners quickly get started and master the basic principles and usage of FreeRTOS while organizing their own knowledge. For ease of reading, the “Quick Start to FreeRTOS” series of articles has been compiled. The list of articles is as … Read more

Chengdu Huami Unveils 32-bit RISC-V Ultra-Low Power MCU, Empowering Ultra-Lightweight Smart Devices

Chengdu Huami Unveils 32-bit RISC-V Ultra-Low Power MCU, Empowering Ultra-Lightweight Smart Devices

Recently, Chengdu Huami (stock code: 688709.SH) announced through its official channels the debut of a new 32-bit RISC-V ultra-low power microcontroller unit (MCU) designed specifically for ultra-lightweight applications at the Shenzhen International Electronics Show on August 26. Prior to this, information about the product was released to the public via a company announcement on August … Read more

From Task Scheduling to Interrupt Management: The ESP32-FreeRTOS Example Library to Kickstart Your IoT Development

From Task Scheduling to Interrupt Management: The ESP32-FreeRTOS Example Library to Kickstart Your IoT Development

When you are still struggling with the “while(1)” loop in microcontroller programming, the absence of a Real-Time Operating System (RTOS) has become the biggest obstacle to advancing your project. The ESP32-freeRTOS open-source project provides over 20 practical examples, allowing you to easily implement task scheduling, resource synchronization, and interrupt management in C, completely bidding farewell … Read more

FreeRTOS Learning: Interrupt Management

FreeRTOS Learning: Interrupt Management

Scan to followLearn Embedded Together, learn and grow together This is a series of introductory articles on FreeRTOS. While organizing my own knowledge, I hope to help beginners quickly get started and master the basic principles and usage methods of FreeRTOS. FreeRTOS Quick Start – Initial Exploration of the System FreeRTOS official Chinese website is … Read more

Compression of Interrupt Signals in MCUs – Secondary Interrupt Lookup

Compression of Interrupt Signals in MCUs - Secondary Interrupt Lookup

In ARM-based MCU subsystems, there are only 240 peripheral interrupts available. Therefore, for a large number of interrupts, a secondary lookup is necessary. The cost of this approach is that it cannot achieve timely system responses, as it requires time to read the status registers.This article introduces the method of compressing interrupt signals and the … Read more

Interrupt Management and Configuration in FreeRTOS Development

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

How RTOS Kernel Manages Interrupts

How RTOS Kernel Manages Interrupts

Source | Mculover666 To develop “advanced” applications based on RTOS, many principles of the kernel must be mastered. This article will explain how the RTOS kernel manages interrupts? How should users write interrupt handler functions? And how can users set critical sections? 1. Review of Knowledge — Interrupts 1.1. Interrupt Mechanism The interrupt mechanism is … Read more