DSP Library Operates in MCUs
Coded in C or assembly language, STMicroelectronics’ STM32 MCU DSP library provides a PID Controller, Fourier transform functions, and digital filters including 16-bit FIR, IIR, direct-form, and IRR canonical-form filters. Multiply-accumulate or hardware divide operations can execute within 2 cycles, and demos running on the microcontroller have performed a 256-point 16-bit radix-4 Fast Fourier Transform (FFT) in 362 µs. The libraries can be used with IAR, Keil, and Raisonance tool-chains in applications covering solar-energy projects, closed-loop control of switched-mode power supplies; audio and speech processing, and digital image processing. The library can be downloaded at www.st.com/mcu.