Chapter 5

Advanced Architecture Features

Abstract

This chapter looks at the mode advanced features included in the Cortex-M processors. We examine how to configure the Cortex-M processor to use two stacks and enable privileged and unprivileged operating modes. We also look at the supervisor call, Exclusive Access instructions, and Pend exception. This chapter concludes by looking at how to use the memory protection unit for safety and security applications.

Keywords

Memory protection unit; (MPU); supervisor call; (SVC); Pend; AHB; APB; privileged mode; unprivileged mode; Thread mode; Handler mode; main stack; process stack

Introduction

In the last few chapters, we have covered most of what you need to know to develop with a Cortex-M-based microcontroller. ...

Get The Designer's Guide to the Cortex-M Processor Family, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.