Home|Yasen Stoyanov

About Yasen Stoyanov

This author has not yet filled in any details.
So far Yasen Stoyanov has created 46 blog entries.

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

Time Complexity Of Algorithms

Algorithms are ubiquitous and are used in almost every aspect of our lives. Choosing the right algorithm for performing a specific task is no trivial matter. In the best case scenario, the algorithm not only performs its job, but it does it using the least amount of resources. The most relevant resources when it comes

2019-06-18T05:53:51+03:00By |Categories: Explained Simply|Tags: |0 Comments

The Difference Between Accuracy And Precision

One of the most common scenarios in embedded system design is the need for getting information from the surrounding environment. This is done by using various types of sensors (e.g temperature, humidity, pressure, etc. ). The data from these sensors always have some difference from the real true value being measured. Our goal as designers

2019-05-07T21:23:45+03:00By |Categories: Explained Simply|0 Comments

Digital Buffers And Their Usage

In this article, we will explain the functionality of two very important electronic circuit elements: digital buffer and tri-state digital buffer. Buffer At first glance, the functionality of a digital buffer may seem very simple: the value at its input is propagated to its output. Fig. 1 Buffer symbol and truth table If the buffer

2019-05-19T16:48:41+03:00By |Categories: Digital Logic|Tags: , |0 Comments

Open Drain Output vs. Push-Pull Output

Microcontrollers use pins for interfacing with the outside world. In general, the pins are the physical points on the package of an integrated circuit (IC) where a connection can be made to the printed circuit board.  Behind each pin (inside the IC) there is a special circuitry used for driving it. This circuitry (usually called a

2019-05-18T22:57:15+03:00By |Categories: Embedded Systems|Tags: |4 Comments

Microprocessor Instruction Pipelining

Microprocessor instruction pipelining is a hardware implementation that allows multiple instructions to be simultaneously processed through the instruction cycle. This is enabled by the instruction cycle itself as it divides the operations that have to be performed on each instruction into standalone phases (e.g decode, fetch, execute). In the context of the pipeline, we call

Instruction Set Architecture

Instruction Set Architecture (ISA) specifies the instructions that a microprocessor can execute. It can be viewed as a programmer's manual. It clearly defines everything needed for writing either a compiler or machine language program for a microprocessor supporting particular ISA.  The ISA itself does not contain hardware implementations details. There can be microprocessors with different

Go to Top