FreeRTOS Lecture 28 – Exercise: Creating FreeRTOS Tasks Part-1
Exercise: Creating FreeRTOS Tasks Part-1 Now let’s implement two tasks called task 1 and task 2. You already know the API to create a task, i.e., xTaskCreate().…
Exercise: Creating FreeRTOS Tasks Part-1 Now let’s implement two tasks called task 1 and task 2. You already know the API to create a task, i.e., xTaskCreate().…
Exercise: Understanding MCU clock configuration Part-2 From Figure 1, you can see that the reset handler begins from line 42. This is the first function or subroutine,…
Exercise: Understanding MCU clock configuration Part-1 Before implementing any exercise, let’s ask ourselves what exactly the clock speed of our microcontroller is. Now let’s find out the…
Exercise: Introduction Now let’s do one exercise, and by doing this exercise, you can understand more about the task creation and how things work in the FreeRTOS,…
FreeRTOS behind the scene Task Creation Now let’s understand the FreeRTOS behind the scenes task management. What happens when you create a task? Let’s say you have…
Scheduling of Tasks Let’s say you have created two tasks, Task 1 and Task 2 (Figure 1), both assigned equal priorities (Priority 4). When you schedule the…