ST STEVAL-BCN002V1B User Manual
ST STEVAL-BCN002V1B User Manual

ST STEVAL-BCN002V1B User Manual

Bluetooth le enabled sensor node development kit
Hide thumbs Also See for STEVAL-BCN002V1B:
Table of Contents

Advertisement

Quick Links

UM2501
User manual
How to use the BlueNRG-Tile Bluetooth LE enabled sensor node development kit
Introduction
The
STEVAL-BCN002V1B
Bluetooth LE enabled sensor node development kit features the STEVAL-BCN002V1 multi-sensor
board based on BlueNRG-2 SoC Bluetooth Low Energy application processor. This sensor board has accelerometer,
gyroscope, magnetometer, pressure, humidity, Time-of-Flight and microphone sensors, and is powered by a common CR2032
coin battery.
The sensor board communicates with a Bluetooth LE enabled smartphone running the
ST BLE Sensor
app, available on Google
Play and iTunes stores.
The STEVAL-BCN002V1D adapter board is used to program and debug the sensor board. The adapter board is powered via
USB.
Figure 1.
STEVAL-BCN002V1B BlueTile kit
1. STEVAL-BCN002V1 "BlueTile" sensor node with inertial and environmental digital MEMS sensors, a digital MEMS microphone, a time-of-
flight proximity sensor and a Bluetooth 5.0 wireless system-on-chip with a Cortex-M0 core
2. STEVAL-BCN002V1D host board to Flash and debug the sensor node
1
2
UM2501 - Rev 3 - June 2020
www.st.com
For further information contact your local STMicroelectronics sales office.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STEVAL-BCN002V1B and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ST STEVAL-BCN002V1B

  • Page 1: Figure 1. Steval-Bcn002V1B Bluetile Kit

    The STEVAL-BCN002V1D adapter board is used to program and debug the sensor board. The adapter board is powered via USB. Figure 1. STEVAL-BCN002V1B BlueTile kit 1. STEVAL-BCN002V1 “BlueTile” sensor node with inertial and environmental digital MEMS sensors, a digital MEMS microphone, a time-of- flight proximity sensor and a Bluetooth 5.0 wireless system-on-chip with a Cortex-M0 core 2.
  • Page 2: Safety Information

    UM2501 Safety Information Safety Information Any type of usage not specified by the manufacturer may compromise the protection mechanisms in the device. Class 1 laser product VL53L1X contains a laser emitter; the device is designed to limit the laser output within Class 1 laser safety limits under all conditions including single faults, in compliance with IEC 60825-1:2014 (third edition).
  • Page 3: Steval-Bcn002V1 Bluetile Sensor Node

    The STEVAL-BCN002V1 BlueTile sensor node is supplied with the default firmware (BLE_SensorDemo, available in the SDK) already loaded. The firmware enables the streaming of sensor data to the reference smartphone app (ST BlueMS, available on Android™ and iOS™ stores). UM2501 - Rev 3...
  • Page 4: System Architecture

    UM2501 System architecture Figure 3. STEVAL-BCN002V1 sensor node front and rear components BlueNRG-2 Bluetooth 5.0 network and application processor 1b. BALF-NRG-02D3 integrated balun and matching network LPS22HH ambient pressure sensor 2b. LSM6DSO smart accelerometer and gyroscope 2c. LIS2MDL magnetometer 2d. VL53L1X proximity by time-of-flight 2e.
  • Page 5: Radio Frequency Section

    UM2501 System architecture Note: The BlueTile sensor node includes the inductor needed by the DC-DC converter to allow lower power consumption in active mode. In Sleep Mode, the BlueNRG-2 device can use its internal 32 kHz ring oscillator (RO) or the external 32 kHz crystal oscillator (XO) available on the BlueTile sensor node, which offers lower power consumption in sleep mode: •...
  • Page 6: Features Of The Bluenrg-2 Device

    UM2501 Features of the BlueNRG-2 device • I2C SCL (4a) and I2C SDA (4b) to connect additional external components via I2C. Figure 4. STEVAL-BCN002V1 sensor node front and rear components BlueNRG-2 Bluetooth 5.0 network and application processor 1b. BALF-NRG-02D3 integrated balun and matching network LPS22HH ambient pressure sensor 2b.
  • Page 7: Bluenrg-2 States

    UM2501 Features of the BlueNRG-2 device The low-speed clock is used in low-power mode and can be supplied by the internal RC oscillator or by an external crystal (32 kHz ±50 ppm). The high-speed clock is supplied by a fast-starting internal RC oscillator (16 MHz) while the external crystal is starting up.
  • Page 8: Inertial Mems Sensors

    UM2501 Inertial MEMS sensors • The Flash is 256 KB from 0x1004_0000 to 0x1007_FFFF – The FULL BLE stack needs 77 KB, leaving 179 KB for the user application. The FULL BLE stack supports concurrent peripheral and central roles (N=0,1,2 connections to other centrals and 8-N connections to other peripherals), LE secure connections, controller privacy, and extended data length.
  • Page 9 UM2501 Inertial MEMS sensors • Single/double tap event: – detected when the output of the slope detection filter exceeds the threshold setting and then returns below the same setting within a “shock” time interval – double tap event is detected when a first tap is detected and a second tap is detected after a “quiet” time interval, but before a maximum “duration”...
  • Page 10 UM2501 Inertial MEMS sensors Each FSM has the following features: • 3 different 8-bit masks to allow tests on positive and negative values of X, Y, Z and V. • 3 different thresholds and 1 programmable hysteresis value that is automatically added to or subtracted from the selected threshold based on the test condition.
  • Page 11 UM2501 Inertial MEMS sensors • Bypass Mode: – the FIFO buffer is disabled and cleared • FIFO Mode: – the FIFO buffer collects data until it is full, then stops • Continuous Mode: – the FIFO buffer collects data continuously –...
  • Page 12: Lis2Mdl 3-Axis Magnetometer

    UM2501 Inertial MEMS sensors 2.3.2 LIS2MDL 3-axis magnetometer 2.3.2.1 LIS2MDL dynamic range, resolution and accuracy LIS2MDL is a 3D digital magnetometer with a ±50 Gauss dynamic magnetic field range (reduced to ±25 Gauss if the magnetic field is not aligned with one of the axes), which is well above Earth’s magnetic field (which is typically in the range of 0.25 to 0.65 Gauss).
  • Page 13: Environmental Mems Sensors

    UM2501 Environmental MEMS sensors Environmental MEMS sensors 2.4.1 LPS22HH barometer 2.4.1.1 LPS22HH acquisition chain LPS22HH pressure sensor can perform a one-shot measurement and then return to Power-down Mode, or it can operate in Continuous Mode with a programmable sampling rate (1, 10, 25, 50, 75, 100 or 200 Hz). Measurements can be taken in normal Low-noise Mode, or in Low-power Mode to minimize current consumption.
  • Page 14 UM2501 Environmental MEMS sensors • Continuous (Dynamic Stream)-to-FIFO Mode: – the FIFO buffer collects data continuously but switches to FIFO Mode as soon as the selected interrupt occurs – this mode is especially useful to capture data before and after a specific event •...
  • Page 15: Hts221 Temperature Sensor

    UM2501 Environmental MEMS sensors 2.4.2 HTS221 temperature sensor 2.4.2.1 LPS22HH vs HTS221 ambient temperature measurement The temperature sensor in the LPS22HH device is designed to compensate for temperature effects in ambient pressure measurements, while the temperature sensor in the HTS221 device is designed and characterized for ambient temperature measurements.
  • Page 16 UM2501 Environmental MEMS sensors 2.4.2.3 HTS221 system integration To get reliable and consistent measurements, the system design should maximize sensor exposure to the external environment while minimizing error sources. • Mechanical design: – if there is one vent hole in the BlueTile housing, the hole diameter should be maximized and the dead volume enclosed should be minimized –...
  • Page 17: Mp34Dt05-A Digital Mems Microphone

    UM2501 MP34DT05-A digital MEMS microphone MP34DT05-A digital MEMS microphone 2.5.1 Features of the MEMS microphone MP34DT05-A omnidirectional top-port digital microphone has the following features: • 122.5 dBSPL acoustic overload point (AOP), or 0 dBFS (100% of digital Full Scale(FS)) • -26dBFS ±3dB (5% of FS) sensitivity at 1 kHz and 94 dBSPL •...
  • Page 18: Vl53L1X Time-Of-Flight Sensor

    SPAD cells are classified as non-attenuated, attenuated by 5 or attenuated by 10. – SPAD are then selected to avoid internal signal saturation. – This part-to-part value is computed during the final test at ST and stored in the non-volatile memory (NVM); it is automatically loaded after boot. • Offset calibration: –...
  • Page 19: Power Up And Boot Sequence

    The ranging error is the sum of the accuracy and the repeatability error, and is typically between ±20mm in the dark, and ±25mm in strong ambient light: The software driver provided by ST uses two parameters to qualify the ranging measurement: •...
  • Page 20: Steval-Bcn002V1D Host Board For Programming And Debugging

    BlueNRG-2 device on the BlueTile is powered by the host board, which receives its supply voltage through its USB connector or on the USB connector of the ST-LINK V3 Stamp if you are using it. The BOOT and RESET pin of the...
  • Page 21: Figure 6. Steval-Bcn002V1D Block Diagram

    X4: 10-pin connector - outputs to BlueNRG-2 device on the BlueTile board BlueNRG-2 is programmed through the UART from the STM32L1 on the host board, or from the ST-LINK V3 Stamp module if used. Switches SW2 and SW3 must be in the following positions: •...
  • Page 22: Figure 7. Configuration With Steval-Bcn002V1 Sensor Node And Steval-Bcn002V1D Host Board Plugged Onto A

    NUCLEO ST-LINK 1. STEVAL-BCN002V1 BlueTile sensor node 2. ST-LINK Stamp V3 3. ST-LINK Stamp V3 USB port (also power source for the microcontroller) 4. STM32 Nucleo development board 5. STEVAL-BCN002V1D host board (bottom side) 6. STEVAL-BCN002V1D USB port (also power source for host board microcontroller) 7.
  • Page 23: How To Flash Using The Steval-Bcn002V1D Host Board Only

    UM2501 How to Flash using the STEVAL-BCN002V1D host board only Figure 8. Different ways to Flash and debug using the BlueTile host board and optional ST-LINK Option A: host board only - SW2 and SW3 in positions 2-3 - Flasher in UART Mode...
  • Page 24: Figure 10. Connectors To Mount The Sensor Node On The Host Board

    UM2501 How to Flash using the STEVAL-BCN002V1D host board only Step 2. Plug CN1 on the BlueTile sensor board onto the matching connector on the host board. Do not plug the sensor node onto the host board with the battery inserted. Figure 10.
  • Page 25: How To Flash And Debug Using The Steval-Bcn002V1D Host Board And The Nucleo St

    UM2501 How to Flash and debug using the STEVAL-BCN002V1D host board and the NUCLEO ST-LINK V2 How to Flash and debug using the STEVAL-BCN002V1D host board and the NUCLEO ST-LINK V2 This method represents a straightforward and inexpensive way to Flash and debug with a Nucleo board and any Step 1.
  • Page 26: How To Flash And Debug Using The Steval-Bcn002V1 Host Board And The St-Link/V2

    How to Flash and debug using the STEVAL-BCN002V1 host board with ST-LINK Stamp V3 module This method requires the ST-LINK Stamp V3 module to be soldered onto the host board. Step 1. Remove the battery from the STEVAL-BCN002V1 BlueTile sensor board.
  • Page 27 UM2501 How to Flash and debug using the STEVAL-BCN002V1 host board with ST-LINK Stamp V3 module Step 5. Run the STSW-BNRG1STLINK utility. The utility exploits the microcontroller on the ST-LINK Stamp V3 module. Any other IDE can be used instead of the utility.
  • Page 28: Application Firmware

    UM2501 Application firmware Application firmware The BlueTile is offered together with a software development kit (SDK) with documentation with examples on how to use the BlueNRG-2 radio stack and hardware peripherals, PC utilities to easily configure the examples provided and test all BlueNRG-2 functionalities, and few sample applications: •...
  • Page 29: Table 2. Power Consumption Of Bluetile Devices

    0.9 µA (power-down) MP34DT05-A 650 µA (normal) 5 µA (power-down) VL53L1X <7 mA (<40 ms budget) 5 µA (power-down) 1 mA 0 mA RELATED LINKS UM2058: BlueNRG GUI SW package UM2109: BlueNRG-1 ST-LINK Utility software description UM2501 - Rev 3 page 29/44...
  • Page 30: Typical System Performance

    The following figure shows the average power consumption of the BlueTile, when the BlueTile is running the reference firmware (BLE_SensorDemo) and it is connected to the ST BlueMS app running on the smartphone. Figure 15.
  • Page 31: Schematic Diagrams

    UM2501 Schematic diagrams Schematic diagrams Figure 16. STEVAL-BCN002V1 schematic (1 of 3) NX2012SA-32.768K-STD-MUB-1 XTAL32 U1G1 SWDIO DIO10 VBAT1 SWDCLK DIO9 SXTAL0 UART_TX DIO8 SXTAL1 ANT016008LCS2442MA1 BOOT DIO7 RX_P DIO6 RX_N VBAT3 VBAT2 I2C_SDA BALF-NRG-02D3 DIO5 FXTAL0 I2C_CLK DIO4 FXTAL1 100n 1µ...
  • Page 32: Figure 17. Steval-Bcn002V1 Schematic (2 Of 3)

    UM2501 Schematic diagrams Figure 17. STEVAL-BCN002V1 schematic (2 of 3) P_12 AVDDVCSEL GND4 P_11 BLM15GG471SN1D AVSSVCSEL AVDD P_10 I2C_CLK I2C_SDA GND2 µ 100n BOOT XSHUT GND3 GPIO1 Decoupling / Filtering VDD_IO INT/DRDY VL53L1CBV0FY I2C_CLK Proximity LPS22HH Pressure 100n 100n G1*4 PDM_CLK PDM_DATA DOUT...
  • Page 33: Bill Of Materials

    UM2501 Bill of materials Bill of materials Table 3. STEVAL-BCN002V1 bill of materials Item Q.ty Ref. Part / Value Description Manufacturer Order code ® Bluetooth BLUENRG-232 energy wireless system-on-chip Low-Power Pressure LPS22HH sensor Capacitive digital sensor for humidity HTS221 and temperature Digital output LIS2MDL magnetic sensor...
  • Page 34 UM2501 Bill of materials Item Q.ty Ref. Part / Value Description Manufacturer Order code 7 pF 50 V COG Ceramic capacitor Murata GRM0335C1H7R0CA01 0201 9.1 nH 250 mA 900 Fixed inductor MLG0603P9N1HT000 mΩ ±3% 0201 510 Ω 5% 1/20 W Resistor Panasonic ERJ-1GEJ511C...
  • Page 35: Board Limitations And Operating Ranges

    UM2501 Board limitations and operating ranges Board limitations and operating ranges LSM6DSO, LIS2MDL, LPS22HH HTS221 MEMS sensors: • Mechanical stress on the package (e.g., caused by PCB bending) may affect the measurement accuracy of all sensors. • Conducted heat may affect measurement accuracy, especially for the environmental sensor HTS221. Operating conditions for normal operation: •...
  • Page 36 UM2501 Temperature, pressure and humidity considerations • HTS221 relative humidity and temperature sensor in HLGA-6L package: – -40 to +120 °C – 0 to 100% rH ambient relative humidity – Max. temperature +125 °C • MP34DT05-A digital microphone: – -40 to +85 °C. •...
  • Page 37: Compliance Information

    UM2501 Compliance Information Compliance Information Part 15.19 This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.
  • Page 38: References

    UM2058: BlueNRG GUI SW package (documentation for STSW-BNRGUI, GUI to interact in real-time with BlueNRG-2) • UM2109: BlueNRG-1 ST-Link utility software package (documentation for STSW-BNRG1STLINK, GUI to flash BlueNRG-2 using an ST-Link) • UM2406: The BlueNRG-1, BlueNRG-2 Flasher SW package (documentation for STSW-BNRGFLASHER, GUI to flash BlueNRG-2) •...
  • Page 39: Revision History

    UM2501 Revision history Table 4. Document revision history Date Version Changes 12-Nov-2018 Initial release. 17-Sep-2019 Added Section 9.5 Japanese RF certification. 04-Jun-2020 Updated Section 7 Bill of materials. UM2501 - Rev 3 page 39/44...
  • Page 40: Table Of Contents

    How to Flash using the STEVAL-BCN002V1D host board only ..... . . 23 How to Flash and debug using the STEVAL-BCN002V1D host board and the NUCLEO ST- LINK V2 .
  • Page 41 Contents How to Flash and debug using the STEVAL-BCN002V1 host board with ST-LINK Stamp V3 module ..............26 Application firmware.
  • Page 42 Connectors to mount the host board on the Nucleo ST-LINK debugger ......25...
  • Page 43 UM2501 List of tables List of tables Table 1. Comparison of HTS221 and LPS22HH temperature sensor characteristics ......15 Table 2.
  • Page 44 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’...

Table of Contents