
• BlueCoin starter kit (STEVAL-BCNKT01V1)
FP-AUD-SMARTMIC1
Detailed description
DB3275 - Rev 2
page 3/5
1
■
■ What can you do with STM32Cube function packs?
The STM32Cube function packs leverage the modularity and interoperability of STM32 Nucleo and X-NUCLEO
boards, and STM32Cube and X-CUBE software, to create function examples, embodying some of the most
common use cases, for each application area.
These software function packs are designed to exploit as much as possible the underlying STM32 ODE hardware
and software components to best fit the requirements of final users’ applications.
Moreover, function packs may include additional libraries and frameworks which do not present the original
X-CUBE packages, thus enabling new functionalities and creating a real and usable system for developers.
What is STM32Cube?
STMCube™ is designed by STMicroelectronics to reduce development effort, time and cost across the entire
STM32 portfolio.
STM32Cube version 1.x includes:
• STM32CubeMX, a graphical software configuration tool that allows the generation of C initialization code
using graphical wizards.
• A comprehensive embedded software platform specific to each series (such as the STM32CubeF4 for the
STM32F4 series), which includes:
– the STM32Cube HAL embedded abstraction-layer software, ensuring maximized portability across the
STM32 portfolio
– a consistent set of middleware components such as RTOS, USB, TCP/IP and graphics
– all embedded software utilities with a full set of examples
How does this STM32Cube function pack complement STM32Cube?
The FP-AUD-SMARTMIC1 firmware is based on the STM32CubeHAL hardware abstraction layer for the STM32
microcontroller, and exploits BSP and middleware layers to build a complete acoustic application based on a
MEMS microphone array. The software acquires audio signals from four digital MEMS microphones, elaborates
them using embedded DSP libraries and streams the processed audio to a USB host and a loudspeaker
connected to the relevant expansion boards.
A software example which performs a set of operations to remotely control the device from a PC host is also
provided.
The package includes several audio DSP libraries:
• the AcousticBF library provides an implementation for a real-time adaptive beamforming algorithm - using
the audio signals acquired from two digital MEMS microphones, it creates a virtual directional microphone
pointing to a fixed direction in space;
•
the AcousticEC library provides an implementation for a real-time echo cancellation routine based on the
well-known SPEEX implementation of the MDF algorithm;
• the AcousticSL library provides an implementation for a real-time sound source localization algorithm: using
2 or 4 signals acquired from digital MEMS microphones, it can estimate the arrival direction of the audio
source.
The firmware provides a sample implementation supporting two systems:
• STM32 NUCLEO-F446RE development board equipped with the X-NUCLEO-CCA01M1 expansion board
(based on the STA350BW Sound Terminal
®
2.1-channel high-efficiency digital audio output system) or
X-NUCLEO-CCA02M1 expansion board (based on the MP34DT01-M digital MEMS microphones) and
STEVAL-MKI129Vx digital microphone evaluation board series
Detailed description