📔
Notes
  • Embedded systems
    • GPIO concepts
    • 📈SPI protocol
    • 📈I2C Protocol
    • 📈UART Protocol
    • 📈CAN Protocol
    • 📈DMA
  • FreeRTOS / RTOS
    • Basics
    • Stm32 FreeRTOS setup
  • Interview Questions
    • Basic C
    • Electronics / mcu
  • Hardware design
  • C programming
  • C++ programming
    • Basics
  • Data structure and Algorithms
    • Data Structures in C
  • Design Patterns
  • Algorithms
  • OS concepts
  • VLSI
  • DSP
  • Motors and sensors
    • BLDC motor
  • Important/ intersting documents
Powered by GitBook
On this page
  1. FreeRTOS / RTOS

Basics

FreeRTOS basics

RTOS uses a preemptive scheduler to allocate system time(CPU) between different tasks , so that the OS switches these tasks one after another creating an illusion of parallelism. Task switching can create overhead as well as priority inversion needs to be taken care in RTOS

  1. Task scheduling : The process by which a task or function is scheduled along with a priority, so it can be executed

  2. Idle task : A task that executes when no other tasks are active, example : led indication can be done, logging can be done etc.

  3. Priority inversion : When a low priority task blocks a resource being required by a high priority task, i.e. high priority task behaves like a low priority task

PreviousFreeRTOS / RTOSNextStm32 FreeRTOS setup

Last updated 2 years ago