Introduction to Synchronization and Mutex in FreeRTOS

Introduction to Synchronization and Mutex in FreeRTOS

This article aims to learn and use synchronization and mutex in FreeRTOS. Following the descriptions in this article, you should be able to run the experiment and apply the knowledge. Experimental conditions: Basic knowledge of C language and an integrated development environment installed, such as Keil uVision5. Concepts of Synchronization and Mutex Synchronization is used … Read more

Mutex Issues Between RTOS Tasks

Mutex Issues Between RTOS Tasks

When developing projects based on RTOS, we often encounter mutual exclusion situations, such as: multiple tasks needing to use a single UART port to send data. If mutex locks are not used, a higher priority task may preempt the UART and send data, potentially resulting in “garbled” data being sent. Today, we will discuss a … Read more

The Challenge of Mutex in RTOS Tasks

The Challenge of Mutex in RTOS Tasks

Author | strongerHuang WeChat Official Account | Embedded Column When developing projects based on RTOS, it is common to encounter mutual exclusion situations, for example: multiple tasks need to use a single UART serial port for data transmission. If mutex locks are not added, a higher priority task may preempt the serial port and send … Read more