ST STEVAL-IDB011V1 User manual

1
Quick Start
Guide
Getting started with BlueNRG-LP evaluation boards
Introduction
This document provides basic information on BlueNRG-LP development kits hardware and
software setup operations. It also describes the key information about the associated
software development package STSW-BNRGLP-DK and some common troubleshooting
cases.
The BlueNRG-LP device is a low power Bluetooth® Low Energy (LE) system-on-chip,
compliant with the Bluetooth® specification and supports master, slave and simultaneous
master-and-slave roles. The device also supports the Bluetooth Low Energy data length
extension feature, 2 Mbps, Long Range and extended advertising features.
The following BlueNRG-LP kits are available:
•STEVAL-IDB011V1 (QFN48 package) development platform

Contents
2
Contents
1
Development platforms............................................................................... 3
2
Getting Started............................................................................................. 3
2.1 Powering up the evaluation board.................................................................3
2.2 Install the ST BLE Sensor app for smartphones (central role).......................4
2.3 Run ST BLE Sensor app for smartphones ....................................................4
3
Software demonstration applications ........................................................ 6
4
Troubleshooting........................................................................................... 8
5
Acronyms and abbreviations...................................................................... 9
6
References ................................................................................................. 10
7
Revisionhistory......................................................................................... 11

3
1
Development platforms
The STEVAL-IDB011V1 development platform embeds a CMSIS-DAP
programming/debugging interface and features hardware resources for a wide range of
application scenarios: sensor data (accelerometer, pressure and temperature sensor),
human interface (buttons and LEDs), digital MEMS microphone and serial communication
through USB virtual COM.
Figure 1 STEVAL-IDB011V1 development board
2
Getting Started
The STEVAL-IDB011V1 evaluation board is preprogrammed with Bluetooth LE
Sensor demonstration application for ST BLE Sensor app which allows to set and
establish a connection with a smartphone (iOS or Android) running the ST BLE
Sensor smartphone app (previously known as ST BlueMS).
Once connected, the BlueNRG-LP device sends the data collected from the
accelerometer sensor and environmental sensor (pressure and temperature) to
the ST BLE Sensor smartphone app, which displays this information.
2.1 Powering up the evaluation board
Two power options are available:
•Batteries - To power the selected evaluation board using batteries, 2 AAA batteries must
be inserted into the battery holder BATT1 placed at the rear of the board or, alternatively, a
coin cell battery (CR2032) must be placed on BATT2 region. Jumper JP2 set to position
BAT.
•USB - To power the selected evaluation board through USB, jumper JP2 set to position
USB. Connect a USB cable to the micro-USB connector and to a PC USB port.

4
Figure 2 . Board power options (JP2)
When powered through USB, the evaluation board is also recognized on Windows
Device Manager as CMSIS-DAP device.
Figure 3 Windows Device Manager - CMSIS-DAP
NOTEs:
1. In Windows 10, no specific driver installation is required.
2. In Windows 7, the following driver must be installed before plugging the
evaluation platform: https://os.mbed.com/docs/mbed-os/v6.0/program-
setup/windows-serial-driver.html
3. The composite device (WebUSB: CMSIS-DAP) installation is not required,
as this functionality is not used.
In this context, once the evaluation platform has been recognized, it should also
appear under Device and drivers as a ST IDB011VX mass storage device:
Figure 4 ST IDB011VX mass storage device
Once powered (batteries or USB), the Sensor Demo application for ST BLE
Sensor app starts advertising, waiting for a smartphone to connect to it.
2.2 Install the ST BLE Sensor app for smartphones (central role)
Two versions (Android and iOS) of the smartphone ST BLE Sensor app are
available for download on the specific web pages (Table 2. Reference
information, Android & iOS Sensor App).
Install the ST BLE Sensor App on the selected smartphone.
2.3 Run ST BLE Sensor app for smartphones
Launch the ST BLE Sensor app on the smartphone
•It starts scanning for the BlueNRG-LP Sensor Demo peripheral device. A device
called “BlueNRGLP” appears on the screen.
•Tap on the “BlueNRGLP” name to connect to the selected STEVAL-IDB011V1
platform. The ST BLE Sensor app enables notifications on the acceleration
characteristic and on the environment characteristics (pressure and

5
temperature) and it displays the received environment characteristics values on
the screen.
Figure 5 ST BLE Sensor smartphone app environment characteristic notifications
User can also plot the received acceleration values, by selecting the ST BLE Sensor app, Plot
Data window, Accelerometer option. The STEVAL-IDB011V1 accelerometer sensor values (X, Y,
Z) are displayed on a graphical chart.

6
Figure 6 ST BLE Sensor smartphone app acceleration notifications plot
3
Software demonstration applications
In order to develop a software application for the STEVAL-IDB011V1 evaluation
board, it is recommended to start with the reference demonstration applications
provided within the BlueNRG-LP Development Kit SW package for BlueNRG-LP
devices (STSW-BNRGLP-DK) available on the STEVAL-IDB011V1 web page:
•Unzip the file, launch the related installer and follow installation steps.
•Wait for the package installation to complete.
•The Projects folder in SW package contains the available demonstration
applications, projects, sources and header files.
The Bluetooth LE Sensor Demo application for ST BLE Sensor app projects
and header and source files are available on
•Projects\BLE_Examples\BLE_SensorDemo_BlueMSapp folder.

7
IAR Embedded Workbench for ARM (EWARM) and Keil MDK-ARM tools
are needed for building the software applications running on the BlueNRG-
LP microcontroller.
NOTES:
1. For a description of the available BlueNRG-LP demonstration
applications and supported platforms, refer to BlueNRG-LP
development kits user manual (Table 2. Reference information,
UM2735).
2. The BLE_SensorDemo_BlueMSapp.hex prebuilt binary image for
BlueNRG-LP platform is also provided within the Development Kit
software package, in the
Firmware\BLE_Examples\BLE_SensorDemo_BlueMSapp folder.

UMxxxx
8
4
Troubleshooting
The following section reports some tips to be followed if the STEVAL-IDB011V1 platform is
not recognized as a CMSIS-DAP device once connected to a PC USB port, or if user is not
able to connect/debug to the selected platform through a CMIS-DAP programmer/debug
tool:
1. The STEVAL-IDB011V1 platform starts always in “MAINTENANCE” mode.
a. The USB_CMSISDAP firmware is not loaded. Follows the instructions in the
UM2735 manual (Table 2. Reference information, UM2735), section 2.9.4
“USB_CMSISDAP firmware update” in order to load the USB_CMSISDAP
firmware. Please notice that this condition is not expected , since the
USB_CMSISDAP firmware is programmed at STEVAL-IDB011V1 manufacturing
time.
b. The application loaded in the BlueNRG-LP device makes the device continuously
reset. Since the RTSN signal is used at the startup by the USB_CMSISDAP
firmware for choosing to start in “MAINTENANCE” mode or not, it is necessary to
disconnect the RSTN signal of the BlueNRG-LP from the USB_CMSISDAP. In
order to do it, user must perform the following steps:
1. Remove the jumper JP5.
2. Unplug the USB cable (if plugged).
3. Plug the USB cable.
4. The mass storage device “ST IDB011VX” should be present among the
devices in Windows “Devices and drives”.
5. Put back the jumper JP5 (fitted position).
6. Now user should able to use the USB_CMSISDAP firmware in order to fix the
code in the BlueNRG-LP.
2. It is not possible to connect to the STEVAL-IDB011V1, BlueNRG-LP device with the
on board CMSIS-DAP debugger/programmer.
a. The BlueNRG-LP could be under reset, or the SWD pins have been configured in
a different mode at the startup of the application, or the application sets the device
in DEEPSTOP modes which powers off the debug port.
In such cases, it is possible to recover the BlueNRG-LP status as follow:
1. Plug the USB cable in order to power up the board.
2. Press and hold the PUSH1 button.
3. Press the RESET button.
4. This operation activates the internal UART bootloader: now it is possible to
connect the CMSIS-DAP debugger/programmer to the BlueNRG-LP.
NOTES:
1. Please refer to the STSW-BNRGLP-DK, C:{Installation_Path}\
ST\BlueNRG-LP DK x.x.x\Docs\BlueNRG-
LP_Debugging_Guidelines\BlueNRG-LP_Debugging_Guidelines.html
document for useful guidelines to be followed in these scenarios:
•CMSIS-DAP programming vs BlueNRG-LP running application in low
power modes
•Debugging vs BlueNRG-LP running application in low power modes.

UMxxxx
9
5
Acronyms and abbreviations
Table 1 List of acronyms
Acronym
Description
Bluetooth LE
Bluetooth Low Energy
DK
Development kit
SW
Software
USB
Universal serial bus

UMxxxx
10
6
References Table 2 References
What
Where
Description
BlueNRG-LP
Bluetooth Low
Energy wireless
System on Chip
www.st.com/bluenrg-lp
BlueNRG-LP device
web page
STEVAL-IDB011V1
www.st.com/bluenrg-lp, Tools and Software, Solution
Evaluation Tools section
STEVAL-IDB011V1
platform web page
Bluetooth Low
Energy
Specification
https://www.bluetooth.com/specifications/bluetooth-core-
specification/
Bluetooth Low
Energy specification
web page
ST BLE Sensor app
for Android
https://www.st.com/en/embedded-software/stblesensor.html
ST BLE Sensor app
web page
ST BLE Sensor app
for IoS
https://www.st.com/en/embedded-software/stblesensor.html
ST BLE Sensor app
web page
STSW-BNRGLP-DK
www.st.com/bluenrg-lp, Tools and Software, Evaluation
Tool Software section
BlueNRG-LP DK SW
package web page
UM2735
https://www.st.com/resource/en/user_manual/dm00711446-
bluenrglp-development-kits-stmicroelectronics.pdf
BlueNRG-LP
Development Kits
user manual

UMxxxx
11
7
Revision history
Table 3 Revision history
Date
Revision
Change
19-Oct-2020
1
Initial release

12
IMPORTANT NOTICE –PLEASE READ CAREFULLY
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and improvements to
ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing
orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design
of Purchasers’ products.
No license, express or implied, to any intellectual property right is granted by ST herein.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. For additional information about ST trademarks, please refer to www.st.com/trademarks. All other product or
service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.
© 2020 STMicroelectronics –All rights reserved
Table of contents
Other ST Motherboard manuals

ST
ST STEVAL-L6982CDR User manual

ST
ST STEVAL-ICB008V1 User manual

ST
ST EVALSP1340CPU User manual

ST
ST EVAL-RHRPMPOL01 User manual

ST
ST SPC560P-DISP User manual

ST
ST STM32L073Z-EVAL User manual

ST
ST SPC582B-DIS User manual

ST
ST X-NUCLEO-CCA02M1 User manual

ST
ST STSW-IDS002V1 User manual

ST
ST STM32H747I-DISCO User manual

ST
ST eMotion STEVAL-MKI109V1 User manual

ST
ST NUCLEO-WL55JC STM32WL User manual

ST
ST SGS-Thomson ST624x-KIT Series User manual

ST
ST EVAL-L9960 User manual

ST
ST STEVAL-IHP007V1 User manual

ST
ST SPC58NHADPT386S User manual

ST
ST STA304 User manual

ST
ST STEVAL-AKI001V1 User manual

ST
ST BlueNRG-LP User manual

ST
ST STM32 Nucleo User manual