Download presentation
Presentation is loading. Please wait.
1
ARM Cortex-M3 and Cortex-M4 Processors
Chapter21. DSP Applications 학부연수생 최문식
2
Contents DSP on a microcontroller Dot product example
Cortex-M4 DSP instructions
3
DSP on a microcontroller
Digital Signal Processing(DSP) Lower power consumption. Ease of integration. Lower overall system cost.
4
Dot product example
5
M3, the inner loop Takes 10 to 14 cycles M4, the inner loop
Cortex-M3 M3, the inner loop Takes 10 to 14 cycles Cortex-M4 M4, the inner loop Takes 7 cycles
6
Cortex-M4 DSP instructions
Registers
7
Data types
8
Fractional arithmetic
9
8-bit fractional values -> “q7_t” 16-bit fractional values -> “q15_t”
10
SIMD(Single Instruction Multiple Data)
11
Load and store instructions in CMSIS library
8-bit 16-bit
12
Arithmetic instructions SSAT – signed saturation
13
SMMUL – 32bit multiply returning 32 most significant bits
14
SMMLA – 32bit multiply with 32 most significant bit accumulate
15
Floating-point instructions
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.