What is Microcontrollers startup file – Understand its various Functions

Microcontrollers startup file

In this tutorial, we will see the role of startup files in microcontrollers. Firstly, what is the startup file? and what exactly is the function of the startup file in bare-metal embedded systems? In the end, we will explore the startup file of ARM Cortex M4 microcontrollers and understand important sections of this file. Now … Read more

Microcontroller Booting Process – Reset Sequence

What is reset sequences of a microcontroller booting process

In this tutorial, we will discuss about the booting sequence of a microcontroller. We will see what happens when a microcontroller resets and how microcontroller control transfers to the main function of appliation. Recommended Books Books that cover this topic in more depth. Book Why read it Buy on Amazon The Definitive Guide to ARM … Read more

How to use Transformer in Proteus

How to use transformer in Proteus example

In this tutorial, we will learn to use a simple transformer in proteus. Recommended Lab Equipment & Components Recommended lab equipment and components for building and testing the circuits you design in Proteus on real hardware. This is a general-purpose electronics bench setup plus reference books. Item How it’s used Buy on Amazon Electronic component … Read more

FreeRTOS Event Groups – Tasks Synchronization Example with Arduino

FreeRTOS event groups example with arduino

In this tutorial, we will learn to use Event groups. Events groups are also an important feature that is provided by FreeRTOS. Firstly, we will see an Introduction to Events groups that shows how and where to use it. After that, we will see a demo example with Arduino.  Recommended Components The following are recommended … Read more

FreeRTOS Gatekeeper Task with Arduino

FreeRTOS gatekeeper task tutorial with Arduino

In this tutorial, we will learn to use FreeRTOS gatekeeper tasks API. We will see examples with Arduino. Gatekeeper tasks are used to implement mutual exclusion events without the risk of priority inversion and deadlocks. As we have discussed in previous tutorials, FreeRTOS mutex suffers from priority inversion and deadlocks problems. Although, we can resolve … Read more

FreeRTOS Scheduler: Learn to Configure Scheduling Algorithm

FreeRTOS Preemptive scheduling algorithm example

In this tutorial, we will learn about the FreeRTOS scheduler. What type of scheduler FreeRTOS Kernel uses and how to configure it with different scheduling policy. First, we will define the term scheduler and how scheduling policy selects tasks from all available tasks which are in a ready state. Recommended Components The following are recommended … Read more

FreeRTOS Interrupt Management Examples with Arduino

FreeRTOS Interrupt Management Example writing read data from queue with ISR

In this tutorial, you will learn how interrupt management works with FreeRTOS. In other words, you will learn to manage interrupts with the FreeRTOS kernel. Real-time operating systems, each application consists of several tasks. These tasks can be periodic, aperiodic, and sporadic in nature. But along these some tasks execute only whenever an interrupt occurs. … Read more