Date: marzo 27, 2025
Author: Guillermo Garcia
Categories: RTOS Tags: FreeRTOS
Mutexe in FreeRTOS managing shared resources among multiple tasks is crucial. Mutexes (short for mutual exclusion) provide a mechanism to ensure that only one task accesses a shared resource at a time, preventing race conditions and ensuring data integrity. In this article, we will explore the concept of mutexes in FreeRTOS. What is a Mutex […]
Read full article...Date: marzo 20, 2025
Author: Guillermo Garcia
Categories: RTOS Tags: FreeRTOS
Semaphores In FreeRTOS play a crucial role in synchronizing tasks and managing shared resources. When multiple tasks run concurrently, it is essential to ensure that they execute in an orderly manner without conflicts. Semaphores provide an efficient way to control task synchronization and prevent race conditions. This article will explore how to use semaphores to […]
Read full article...Date: marzo 13, 2025
Author: Guillermo Garcia
Categories: RTOS Tags: FreeRTOS
Queue in FreeRTOS provide a robust mechanism to exchange data between tasks or between tasks. In embedded systems, efficient inter-task communication is crucial for system performance and reliability. This article explores how to use queues in FreeRTOS, provides an in-depth example, and analyzes performance using SystemView. What is a Queue in FreeRTOS? A queue is […]
Read full article...Date: marzo 4, 2025
Author: Guillermo Garcia
Categories: RTOS Tags: FreeRTOS
Understanding how FreeRTOS handles heap memory through static and dynamic allocation can improve performance and system stability. This article will explore these two allocation methods, their advantages and disadvantages. Understanding Heap Memory in FreeRTOS FreeRTOS provides multiple memory management schemes to allocate heap memory dynamically. These schemes are defined in heap_1.c to heap_5.c, each offering […]
Read full article...