Overview
Learn how to implement multithreading in Zephyr RTOS in this 33-minute tutorial video from Digi-Key. Discover techniques for executing multiple tasks concurrently to improve system responsiveness and efficiency through a practical demonstration that blinks an LED while simultaneously printing console messages. Master essential multithreading concepts including thread stack definition, GPIO initialization, and execution management using Zephyr's threading APIs. The tutorial progresses to cover thread synchronization with mutexes, demonstrating how to safely handle shared variables between threads, and concludes with a challenge to implement Zephyr's message queue system. Access additional resources including a written version of the tutorial, GitHub repository with challenge solutions, and links to more comprehensive RTOS learning materials. Perfect for embedded systems developers looking to create responsive applications with Zephyr's robust multithreading capabilities.
Syllabus
0:00 Intro
0:56 Thread Demo
11:31 Thread Priority Levels
13:41 Thead Demo Test
18:00 Mutex Demo
30:12 Challenge: Sensor Reading Queue
32:05 Conclusion
Taught by
Digi-Key