FreeRTOS Mutex Tutorial with Arduino – Avoid Priority Inversion

FreeRTOS mutex example

Resource management is a key factor in designing applications based on real-time operating systems. In RTOS, more than one tasks share resources with each other such as peripherals, data, or external devices. Therefore, FreeRTOS provides a mutex semaphore to share resources between tasks securely and without data corruption. In this tutorial, we will learn to … Read more

FreeRTOS Binary Semaphore – Examples of Tasks Interrupt Synchronization using Arduino

FreeRTOS Using a binary semaphore to synchronize a task with an interrupt

In this tutorial,  we will learn to use binary semaphores in FreeRTOS using Arduino. First, we will see the introduction of binary semaphore and a few applications. After that, we will discuss FreeRTOS API functions that are used to create and manage binary semaphore with tasks and interrupt service routine. In the end, we will … Read more