June 2017
DocID030507 Rev 1
1/60
www.st.com
UM2196
User manual
Getting started with the FP-AUD-BVLINK1 STM32 ODE function
pack based on half-duplex voice streaming over BLE
Introduction
FP-AUD-BVLINK1 is an STM32 ODE function pack that performs voice streaming over Bluetooth low
energy in a half-duplex configuration. The application runs on the STM32 Nucleo and includes drivers
and middleware for Bluetooth low energy (BlueNRG-MS) and MP34DT01-M or MP34DT04-C1 digital
MEMS microphones.
The expansion is built on STM32Cube software technology to ease portability across different STM32
microcontrollers. The software comes with sample implementations of the drivers for
X-NUCLEO-IDB05A1 plus X-NUCLEO-CCA02M1, when connected to a NUCLEO-F401RE,
NUCLEO-L476RG or NUCLEO-L053R8 board.
FP-AUD-BVLINK1 is also compatible with SensorTile (STEVAL-STLKT01V1) and BlueCoin
(STEVAL-BCNKT01V1).
Information regarding STM32Cube is available on www.st.com at: http://www.st.com/stm32cube.
Contents
UM2196
2/60
DocID030507 Rev 1
Contents
1 Acronyms and abbreviations ......................................................... 7
2 FP-AUD-BVLINK1 software description ......................................... 8
2.1 Overview ........................................................................................... 8
2.2 Architecture ....................................................................................... 9
2.3 Folder structure ............................................................................... 10
2.4 APIs ................................................................................................ 11
2.5 BlueVoice profile description ........................................................... 11
2.5.1 Bluetooth low energy ........................................................................ 11
2.5.2 Audio processing .............................................................................. 15
2.5.3 Data packets ..................................................................................... 18
2.6 BlueVoiceADPCM library software description................................ 18
2.6.1 Overview ........................................................................................... 18
2.6.2 Folder structure ................................................................................ 19
2.6.3 Using the BlueVoiceADPCM library ................................................. 19
2.7 FP-AUD-BVLINK1 application description ...................................... 21
2.7.1 FP-AUD-BVLINK1 implementation ................................................... 22
3 System setup guide ....................................................................... 24
3.1 Hardware description ...................................................................... 24
3.1.1 STM32 Nucleo platform .................................................................... 25
3.1.2 X-NUCLEO-CCA02M1 expansion board ......................................... 26
3.1.3 X-NUCLEO-IDB05A1 expansion board............................................ 27
3.1.4 STEVAL-STLKT01V1 SensorTile kit ................................................ 28
3.1.5 STEVAL-BCNKT01V1 BlueCoin kit .................................................. 32
3.2 Software description ........................................................................ 35
3.3 Hardware and software setup ......................................................... 35
3.3.1 Hardware setup ................................................................................ 35
3.3.2 Half-duplex software setup using STM32Nucleo board ................... 38
3.3.3 FP-AUD-BVLINK1 setup .................................................................. 40
4 FP-AUD-BVLINK1 Android™/iOS™ demo setup ......................... 48
4.1 Hardware setup ............................................................................... 48
4.2 Software setup ................................................................ ................ 48
4.2.1 Peripheral firmware .......................................................................... 48
4.2.2 ST BlueMS app ................................................................................ 48
5 References ..................................................................................... 58