Chapter 9

Practical DSP for Cortex-M Microcontrollers

Abstract

In this chapter, we examine the architectural extensions included in the Cortex-M4/M7 to support Digital Signal Processing (DSP). These include the “Single Instruction Multiple Data” instructions, an enhanced MAC unit, and an optional Hardware Floating Point Unit. Arm also publishes a free DSP library and this chapter will look at using this library to implement an FFT as well as IIR and FIR filters. This chapter also provides a short overview of Machine learning support provided by CMSIS-DSP and CMSIS-NN.

Keywords

CMSIS-DSP; CMSIS-NN; digital filter; Digital Signal Processing; Machine Learning; coprocessor; SIMD; FIR; IIR; FFT; FPU; PID

Introduction

From a developer’s perspective, the ...

Get The Designer's Guide to the Cortex-M Processor Family, 3rd 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.