O'Reilly logo

ARM® Cortex® M4 Cookbook by Dr. Mark Fisher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Real-Time Embedded Systems

In this chapter, we will cover the following topics:

  • Multithreaded programs using event flags
  • Multithreaded programs using mailboxes
  • Why ensuring mutual exclusion is important when accessing shared resources
  • Why we must use a mutex to access the GLCD
  • How to write a multithreaded Pong game
  • Debugging programs that use CMSIS-RTOS

Introduction

The title of the last chapter included the phrase, "Real Time". The term, Real Time, is used to describe a computing system that must meet deadlines. We did not define this term in Chapter 7, Real-Time Signal Processing because, in the context of handling audio samples, an implicit deadline is the sampling rate. However, you may recall that our ISR illuminated an error LED if the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required