The Definitive Guide to ARM Cortex -M0 and Cortex-M0+ Processors
The Definitive Guide to the ARM® Cortex®-M0 and Cortex-M0+ Processors, Second Edition explains the architectures underneath ARM’s Cortex-M0 and Cortex-M0+ processors and their programming techniques.
Written by ARM’s Senior Embedded Technology Manager, Joseph Yiu, the book is packed with examples on how to use the features in the Cortex-M0 and Cortex-M0+ processors. It provides detailed information on the instruction set architecture, how to use a number of popular development suites, an overview of the software development flow, and information on how to locate problems in the program code and software porting.
This new edition includes the differences between the Cortex-M0 and Cortex-M0+ processors such as architectural features (e.g. unprivileged execution level, vector table relocation), new chapters on low power designs and the Memory Protection Unit (MPU), the benefits of the Cortex-M0+ processor, such as the new single cycle I/O interface, higher energy efficiency, better performance and the Micro Trace Buffer (MTB) feature, updated software development tools, updated Real Time Operating System examples using Keil™ RTX with CMSIS-RTOS APIs, examples of using various Cortex-M0 and Cortex-M0+ based microcontrollers, and much more.
- Provides detailed information on ARM® Cortex®-M0 and Cortex-M0+ Processors, including their architectures, programming model, instruction set, and interrupt handling
- Presents detailed information on the differences between the Cortex-M0 and Cortex-M0+ processors
- Covers software development flow, including examples for various development tools in both C and assembly languages
- Includes in-depth coverage of design approaches and considerations for developing ultra low power embedded systems, the benchmark for energy efficiency in microcontrollers, and examples of utilizing low power features in microcontrollers
Why Read This Book
You will get a compact, practical walkthrough of the Cortex‑M0 and M0+ internals so you can write efficient firmware and correctly use system features (NVIC, SysTick, low‑power modes). The book mixes architecture detail with concrete examples and toolchain guidance so you can move from understanding to implementation quickly.
Who Will Benefit
Firmware and embedded systems engineers working on resource‑constrained ARM microcontrollers who need to understand core architecture, interrupt/model, low‑power features, and practical toolchain/debug techniques.
Level: Intermediate — Prerequisites: Basic C programming and general embedded concepts (memory maps, interrupts, registers); familiarity with microcontroller development workflows is recommended.
Key Takeaways
- Explain the Cortex‑M0/M0+ processor architecture and programming model, including registers and exception model.
- Write and optimize C and lightweight assembly for Thumb‑based Cortex‑M0/M0+ cores.
- Configure and use the Nested Vectored Interrupt Controller (NVIC), SysTick and processor exceptions correctly.
- Apply CMSIS conventions and port or adapt existing firmware and simple RTOSes to M0/M0+ targets.
- Use on‑chip system control, low‑power modes and M0+ microarchitectural improvements effectively.
- Diagnose common debugging and profiling issues using SWD, popular toolchains (Keil, IAR, GCC) and techniques covered in the book.
Topics Covered
- Introduction to Cortex‑M0 and M0+ processors
- Cortex‑M0/M0+ programming model and registers
- Instruction set and coding for Thumb‑based cores
- Exception model, NVIC and interrupt handling
- Memory model, bus interfaces and system-level view
- System control and low‑power features (including M0+ enhancements)
- CMSIS: conventions, startup and runtime support
- Toolchains and development flow (Keil, IAR, GCC)
- Debugging and fault diagnosis (SWD, breakpoints, fault handlers)
- Software porting strategies and examples
- Practical examples and application notes
- Appendices: instruction reference, errata and differences between M0 and M0+
Languages, Platforms & Tools
How It Compares
Covers the low‑end, energy‑efficient Cortex‑M cores in depth; compare to Joseph Yiu's own "Definitive Guide to Cortex‑M3/M4" for higher‑end features (FPU, DSP) and to "ARM System Developer's Guide" for broader system software context.













