FreeRTOS Queue Communication Mechanism and Kernel Implementation

FreeRTOS Queue Communication Mechanism and Kernel Implementation

FreeRTOS provides various communication mechanisms for inter-task communication, including queues, semaphores, mutexes, event groups, and task notifications. Below is a detailed introduction to queues.Queues Queues support asynchronous data transfer between tasks and between tasks and ISRs. They can transfer any type of data and support multiple tasks sending data to the same queue, as well … Read more

Index of FreeRTOS Tutorials

Index of FreeRTOS Tutorials

1. Design of FreeRTOS Task Data Structures This article discusses the basic unit of resource management in FreeRTOS – the task data structure, providing readers with a macro understanding of task (process) management in embedded operating systems. Medical Engineering Notes, WeChat Official Account: Medical Engineering Notes FreeRTOS Core Mechanism Analysis: Task Structure Design 2. FreeRTOS … Read more

Learning FreeRTOS: Event Groups

Learning FreeRTOS: Event Groups

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 of FreeRTOS. Quick Start with FreeRTOS – Exploring the System FreeRTOS Official Chinese Website is Now Live … Read more

Learning FreeRTOS: Task Notifications

Learning FreeRTOS: Task Notifications

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. Quick Start with FreeRTOS – Exploring the System FreeRTOS Official Chinese Website is Now … Read more

FreeRTOS: Save Memory and Speed Up by Ten Times with Task Notification Mechanism!

FreeRTOS: Save Memory and Speed Up by Ten Times with Task Notification Mechanism!

1. Basic Concepts In FreeRTOS, there is an efficient and lightweight inter-task communication mechanism: <span>Task Notification</span>. This mechanism is used in FreeRTOS to implement unidirectional communication, event flags, counting semaphores, binary semaphores, and message passing. The message notification mechanism in FreeRTOS can also be referred to as “Direct to Task Notifications”. Each task (<span>TaskHandle_t</span>) has … Read more

FreeRTOS Development: Message Buffer – An Advanced Choice for Task Communication

FreeRTOS Development: Message Buffer - An Advanced Choice for Task Communication

1. Basic Concepts In FreeRTOS, the “message buffer” refers to <span>Message Buffer</span>, which is a communication mechanism provided by FreeRTOS for transmitting variable-length data (byte streams) between tasks or between interrupts and tasks. It is part of FreeRTOS and was officially introduced in version <span>v10.0.0</span>. Simply put, a message buffer (Message Buffer) is equivalent to … Read more

Detailed Explanation of Message Queues in FreeRTOS

Detailed Explanation of Message Queues in FreeRTOS

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

Using Message Queues in Embedded Development with MCU

Using Message Queues in Embedded Development with MCU

In this era of information explosion, learning has never been more important. Last time, we explored task management in FreeRTOS, and today, we will delve into the mysteries of message queues in FreeRTOS, adding valuable knowledge to your repository.Have you ever been confused about message queues in FreeRTOS but struggled to find answers? Don’t worry, … Read more

Core Mechanisms and Important Concepts of FreeRTOS Development

Core Mechanisms and Important Concepts of FreeRTOS Development

1. Basic Concepts <span>FreeRTOS</span> (Free Real-Time Operating System) is a lightweight open-source real-time operating system designed for embedded devices. It was developed by <span>Real Time Engineers Ltd.</span> and was acquired by Amazon in 2017, becoming part of Amazon FreeRTOS. FreeRTOS supports various architectures such as <span>ARM Cortex-M</span>, <span>RISC-V</span>, <span>AVR</span>, and <span>MIPS</span>, and is widely used … Read more

C# Thread Pool: Concurrency Control Explained

C# Thread Pool: Concurrency Control Explained

C# Thread Pool: Concurrency Control Explained Hello everyone! Today I want to talk about the ThreadPool in C# and concurrency control. In modern application development, effectively using the thread pool can significantly enhance program performance and avoid the overhead of frequently creating and destroying threads. Let’s dive into this powerful feature! What is a Thread … Read more