EmbeddedRelated.com
Books
Jacob Beningo
Live online course · Jacob Beningo
AI for Embedded Developers
$100 off for EmbeddedRelated readers until Dec 6 · 5 live sessions, Dec 7-11
Discount ends in
26days 04hrs 09min 24sec
Learn More →

The Definitive Guide to ARM Cortex -M0 and Cortex-M0+ Processors

Yiu, Joseph ● 2015

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.

Get This Book

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

  1. Introduction to Cortex‑M0 and M0+ processors
  2. Cortex‑M0/M0+ programming model and registers
  3. Instruction set and coding for Thumb‑based cores
  4. Exception model, NVIC and interrupt handling
  5. Memory model, bus interfaces and system-level view
  6. System control and low‑power features (including M0+ enhancements)
  7. CMSIS: conventions, startup and runtime support
  8. Toolchains and development flow (Keil, IAR, GCC)
  9. Debugging and fault diagnosis (SWD, breakpoints, fault handlers)
  10. Software porting strategies and examples
  11. Practical examples and application notes
  12. Appendices: instruction reference, errata and differences between M0 and M0+

Languages, Platforms & Tools

CAssembly (Thumb/Thumb‑2 subset)ARM Cortex‑M0ARM Cortex‑M0+CMSISKeil MDKIAR EWARMGCC (arm‑none‑eabi)SWD debuggersGDB/OpenOCD (where applicable)

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.

Related Books