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.
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).
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...
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: •...
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.
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.
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 –...
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).
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 •...
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 –...
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 •...
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: –...
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: •...
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...
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: •...
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.
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...
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.
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.
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.
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: •...
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.
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...
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. •...
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.
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) •...
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...
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’...
Need help?
Do you have a question about the STEVAL-BCN002V1B and is the answer not in the manual?
Questions and answers