background image

18

2

Move JP1 on P-NUCLEO-WB55 or JP2 on STM32WB5MM-
DK from USB STL to USB MCU.
Plug a micro-USB cable into USB_USER

STM32WB is recognized as USB 
Microphone by Windows.

3

4

In Audacity set the default audio settings; open Edit/Preferences and select quality tab, 
choose 16 kHz as sampling frequency and 16-bit sample format. If you want to hear 
the audio while recording it, open Edit/Preferences, select Recording tab and check 
"Software playthrough of input“.  Now select the STM32Microphone and click record * 

5

Open ST BLE Sensor App on your android device and connect to BVL-WB1. 
Push User button 1 on the board to start audio streaming to the app.
You can hear audio from the smartphone speaker.

Enable the Start switch on the app to start audio streaming from the smartphone to 
the board. Audacity acquires the received audio. To avoid Larsen effect, keep the 
board and smartphone at minimum 40 cm or connect a headset to your mobile device.

6

1

Compile and download BVLPeripheral application on P-NUCLEO-WB55 
(JP1 on USB STL) or on STM32WB5MM-DK (JP2 on USB STL) 

FP-AUD-BVLINKWB1. Step by step setup

Full-Duplex between STM32WB and mobile device demo setup

In windows 10, if an error occurs, 

please delete the audio driver from 
device manager and unplug and re-plug 
the usb cable from Nucleo board 

Summary of Contents for FP-AUD-BVLINKWB1

Page 1: ...Quick Start Guide STM32Cube function pack for STM32WB MCU featuring advanced audio streaming over Bluetooth 5 0 using Opus codec FP AUD BVLINKWB1 Version 3 0 Feb 18 2021...

Page 2: ...Agenda 1 Hardware and Software overview 3 Documents Related Resources 4 STM32 Open Development Environment Overview 2 2 Setup Demo Examples...

Page 3: ...1 Hardware and Software overview...

Page 4: ...real time Radio layer Three user LEDs Three user buttons and one reset button Board connector USB user with Micro B Board expansion connectors Arduino Uno V3 ST morpho Integrated PCB antenna or footp...

Page 5: ...ory Temperature sensor Accelerometer gyroscope sensor Time of Flight and gesture detection sensor Digital microphone RGB LED Infrared LED 3 push buttons 2 users and 1 reset and 1 touch key button Conn...

Page 6: ...icrophones through I S SPI DFSDM or SAI peripherals Key Product on board 2 on board MP34DT06J digital MEMS microphones 6 slots to plug in digital microphone coupon boards such as STEVAL MIC001V1 STEVA...

Page 7: ...zed profile for audio over BLE including an easy to use set of APIs to exploit advanced Opus functionality source code available Third party Opus v1 3 downloadable from http opus codec org middleware...

Page 8: ...2 Setup Demo Examples...

Page 9: ...audio streaming between STM32WB P NUCLEO WB55 or STM32WB5MG DK and a mobile device 1x P NUCLEO WB55 development board 1x X NUCLEO CCA02M2 expansion board alternatively 1x STM32WB5MM DK Laptop PC with...

Page 10: ...Configure the X NUCLEO CCA02M2 board as in the picture in order to acquire only one microphone through the SAI Full Duplex Application Examples X NUCLEO CCA02M2 HW setup...

Page 11: ...ts into a folder on your PC The package contains binaries and source code with project files Keil IAR STM32CubeIDE based on P NUCLEO WB55 or STM32WB5MM DK ST BLE Sensor App for Android or iOS can be d...

Page 12: ...Select Function Pack 2 3 4 5 6 Manage audio recording on your PC or mobile device www st com stm32ode Use the pre compiled binaries or alternative re compile the code FP AUD BVLINKWB1 package structur...

Page 13: ...2 1 Test Full Duplex audio streaming between two STM32WB...

Page 14: ...sw P NUCLEO WB55 X NUCLEO CCA02M2 BVLCentral project BVLPeripheral project P NUCLEO WB55 X NUCLEO CCA02M2 USB out 16 8kHz USB Audacity or other audio recording sw Peripheral Unit Audio compressed 24k...

Page 15: ...ough of input Now select the peripheral or central unit and click record 5 Press user button 1 on the board to START streaming press again to STOP it Both units can stream at the same time Audacity re...

Page 16: ...2 2 Test Full Duplex audio streaming between STM32WB and mobile device...

Page 17: ...dio compressed 24kbps USB out 16 8kHz Central Unit USB Audacity or other audio recording sw P NUCLEO WB55 X NUCLEO CCA02M2 BVLPeripheral project ST BLE Sensor App Peripheral Unit Audio compressed 24kb...

Page 18: ...d device and connect to BVL WB1 Push User button 1 on the board to start audio streaming to the app You can hear audio from the smartphone speaker Enable the Start switch on the app to start audio str...

Page 19: ...2 2 Test Full Band stereo music streaming...

Page 20: ...s for Full Band stereo music streaming 20 Peripheral Unit USB out stereo 48kHz Central Unit USB Audacity or other audio recording sw P NUCLEO WB55 BVLPeripheral project BVLCentral project OR Audio Com...

Page 21: ...of input Now select the STM32Microphone and 2 Recording Channels and click record 5 Open ST BLE Sensor App on your device and connect to BVFBAND Choose a track and press play you can import wav file...

Page 22: ...3 Documents Related Resources...

Page 23: ...ions data brief UM2435 Bluetooth Low Energy and 802 15 4 Nucleo pack based on STM32WB Series microcontrollers user manual STM32WB5MM DK Gerber files BOM Schematic Data Brief available on www st com Us...

Page 24: ...4 STM32 Open Development Environment Overview...

Page 25: ...M32 32 bit microcontroller family combined with other state of the art ST components connected via expansion boards It enables fast prototyping with leading edge components that can quickly be transfo...

Page 26: ...lectronics All rights reserved The STMicroelectronics corporate logo is a registered trademark of the STMicroelectronics group of companies All other names are the property of their respective owners...

Reviews: