Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
FreeRTOS applied to STM32 microcontrollers
Rating: 4.1 out of 5(25 ratings)
308 students
Last updated 7/2024
English

What you'll learn

  • Implement different FreeRTOS API functions on STM32F4 microcontrollers
  • Explore and understand the mainly FreeRTOS API concepts
  • Develop a bunch of examples appling API functions as Queues, Semaphores, Software Timers, Event Groups etc
  • Analyse, using SEGGER SystemView trace tool, the RTOS behaviour for the developed examples

Course content

1 section10 lectures9h 23m total length
  • Intro0:37
  • Initial Concepts1:23:09

    Understand RTOS main characteristics, its behavior and setup possibilities, etc. Checkout the support online documentation and the software/hardware resources used in the training lessons. Develop a Project in order to explore different RTOS configuration possibilities and create a first task Implementation.

  • Trace Tool Integration1:24:41

    Install and modify necessary software files in order to collect RTOS events at RAM and save the data to an output file. Analyze the embedded RTOS application behaviour executing on target.

  • Queues3:13:29

    Explore this important and useful mechanism in RTOS. The lesson covers the topic by implementing several interesting examples and analyzing different possibilities and it’s behaviors.

  • Software Timers38:57

    Understand the difference between hardware and software timers. Implement examples using Periodic and One-Shot modes.

  • Semaphores51:15

    Explore the theme by implementing examples using Binary or Counting Semaphores. Working with development board push buttons we gonna trigger distinct ISRs responsible to release their respective tasks.

  • Task Notification33:38

    Comprehend the benefits and limitations of using Task Notification in comparison to other RTOS objects. Implement examples with similar functionality to counting and binary semaphores, and furthermore carry a 32-bit notification value.

  • Event Groups59:55

    Compare to other RTOS objects and understand its characteristics and benefits for some applications. Implement different examples in order to test it’s possibilities.

  • Mutex9:16

    Implement Mutual Exclusion in order to control the hardware resource access shared between the different project tasks.

  • Trace Tool USART Communication8:06

    Step by step video explaining how to setup sysview online communication to the target device using USART peripheral.

Requirements

  • STM32F407 Development board + ST-Link Programmer + USB Serial Converter

Description

Understand FreeRTOS main characteristics, its behavior, setup possibilities etc.


Implement functions as queues, semaphores, software timers, task notification, event groups and mutex. Comprehend their behavior using proper tools and integrating microcontroller peripherals such as uart and gpio.


Reference online bibliography is also explored in order to assist the student during the training and for future consultancy.


The Training examples will be developed using STM32CubeIDE, the resulting behavior will be analyzed using SEGGER SystemView and Termite softwares.


STM32CubeIDE is an integraded development tool you can develop different programs for STM32 microcontrollers its advanced C or C++ development platform with bunch of peripheral configuration, code generation, compilation and also debbuging features for all STM32 microcontrollers and microprocessors.


SEGGER SystemView is a software used to analyze the embedded rtos application behaviour executing on target. All necessary steps to install and modify necessary software files in order to collect rtos events at ram and save the data to an output file will be covered in the training.


In the hardware side, we gonna use STM32F407ZGT6 Development board. We also need a ST-Link programmer if we not choose the STM32F4Discovery development board, as this board comes with a ST-Link/V2 embedded debug tool. And a usb/serial adaptater.


Who this course is for:

  • Programmers
  • Engineers
  • Technicians
  • Electronic hobbyists