Skip to Content
Hands-On RTOS with Microcontrollers
book

Hands-On RTOS with Microcontrollers

by Brian Amos
May 2020
Intermediate to advanced
496 pages
13h 54m
English
Packt Publishing
Content preview from Hands-On RTOS with Microcontrollers

RTOS tasks versus super loops – pros and cons

Super loops are great for simple systems with limited responsibilities. If a system is simple enough, they can provide very low jitter in response to an event, but only if the loop is tight enough. As a system grows more complex and acquires more responsibility, polling rates decrease. This decreased polling rate causes much larger jitter in response to events. Interrupts can be introduced into the system to combat the increased jitter. As a super loop-based system becomes more complex, it becomes harder to track and guarantee responsiveness to events. 

An RTOS becomes very valuable with more complex systems that have not only time-consuming tasks, but also require good responsiveness to external ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On RTOS with Microcontrollers - Second Edition

Hands-On RTOS with Microcontrollers - Second Edition

Jim Yuill, Penn Linder

Publisher Resources

ISBN: 9781838826734Supplemental Content