Chapter 3

Cortex-M Architecture

Abstract

In this chapter, we will cover the key features of the Cortex-M processor family and how to use them in your application code. Once you have worked through this chapter and chapter 2 “Developing Software for the Cortex-M family” you will be able to write code for most Cortex-M-based devices.

Keywords

Cortex-M; Cortex-M0; Cortex-M0+; Cortex-M3; Cortex-M4; Thumb-2; SysTick; NVIC; maths

Introduction

In this chapter, we will have a closer look at the Cortex-M processor architecture. The bulk of this chapter will concentrate on the Cortex-M3 processor. Once we have a firm understanding of the Cortex-M3, we will look at the key differences in the Cortex-M0, Cortex-M0+ and Cortex-M4. There are some significant additions ...

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.