The Designer’s Guide to the Cortex-M Microcontrollers, Third Edition provides an easy-to-understand introduction to the concepts required to develop programs in C with a Cortex-M based microcontroller. Sections cover architectural descriptions that are supported with practical examples, enabling readers to easily develop basic C programs to run on the Cortex-M0/M0+/M3 and M4 and M7 and examine advanced features of the Cortex architecture, such as memory protection, operating modes and dual stack operation. Final sections examine techniques for software testing and code reuse specific to Cortex-M microcontrollers.

Users will learn the key differences between the Cortex-M0/M0+/M3 and M4 and M7; how to write C programs to run on Cortex-M based processors; how to make the best use of the CoreSight debug system; the Cortex-M operating modes and memory protection; advanced software techniques that can be used on Cortex-M microcontrollers, and much more.

  • Includes an update to the latest version (5) of MDK-ARM, which introduces the concept of using software device packs and software components
  • Includes overviews of new CMSIS specifications
  • Covers developing software with CMSIS-RTOS, showing how to use RTOS in real- world design

Table of Contents

  1. Cover image
  2. Title page
  3. Table of Contents
  4. Copyright
  5. About the author
  6. Foreword
  7. Preface
  8. Acknowledgments
  9. Chapter 1. Introduction to the Cortex-M Processor Family
  10. Chapter 2. Developing Software for the Cortex-M Family
  11. Chapter 3. Cortex-M Architecture
  12. Chapter 4. Common Microcontroller Software Interface Standard
  13. Chapter 5. Advanced Architecture Features
  14. Chapter 6. Cortex-M7 Processor
  15. Chapter 7. Armv8-M Architecture and Processors
  16. Chapter 8. Debugging With CoreSight
  17. Chapter 9. Practical DSP for Cortex-M Microcontrollers
  18. Chapter 10. Using a Real-Time Operating System
  19. Chapter 11. RTOS Techniques
  20. Chapter 12. CMSIS-Driver
  21. Chapter 13. Test-Driven Development
  22. Chapter 14. Software Components
  23. Chapter 15. MCU Software Architecture
  24. Chapter 16. The Road Ahead
  25. Appendix A
  26. Index