Home|Tag: rtos

RTOS: Mutex and Semaphore Basics

Designing an embedded system that employs a real-time operating system (RTOS) with multitasking behavior means that there will be resources that must be shared between the tasks. These shared resources (e.g peripheral modules, data structures, communication interfaces, etc.) by their nature do not support multiple concurrent accesses. Accessing them without any rules in place may

2020-03-16T06:18:21+02:00By |Categories: Embedded Systems|Tags: , , |0 Comments

RTOS Task Context Switching

In our article covering the scheduling algorithms of real-time operating systems (RTOS), we stated that they can run tasks in such a way that leaves the impression of a multitasking behavior. This is achieved by giving the RTOS the capability to interrupt a currently executing task and to start executing another one. At some point

2020-01-06T05:50:26+02:00By |Categories: Embedded Systems|Tags: , , |0 Comments

RTOS Scheduling Algorithms

We already introduced the basic concepts of real-time operating systems (RTOS) and now we will take a deeper look into one of the most important things when designing an embedded system using an RTOS - the scheduling of the tasks and the algorithms that are used. Scheduling Process Scheduling is the process of deciding which

2019-12-10T20:49:41+02:00By |Categories: Embedded Systems|Tags: , , |0 Comments

Embedded Real-Time Operating System (RTOS) Basics

Embedded systems are microcontroller-based systems that are designed to perform specific functions such as reading sensor data, responding to external events, communicating with other systems, controlling processes, etc. The tricky part is to make the distinction of what exactly qualifies such a system as real-time. Aren't all embedded systems operating in real-time? In order for

2019-10-26T22:27:34+03:00By |Categories: Embedded Systems|Tags: , , |0 Comments