Download Print this page
ST STM32Cube Quick Start Manual
Hide thumbs Also See for STM32Cube:

Advertisement

Quick Links

Quick Start Guide
STM32Cube expansion software package with
BLE connectivity.
(X-CUBE-BLEMGR)
Version 1.3 (July 29, 2022)

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32Cube and is the answer not in the manual?

Questions and answers

Summary of Contents for ST STM32Cube

  • Page 1 Quick Start Guide STM32Cube expansion software package with BLE connectivity. (X-CUBE-BLEMGR) Version 1.3 (July 29, 2022)
  • Page 2 Agenda Hardware and Software overview Setup & Demo Examples Documents & Related Resources STM32 Open Development Environment: Overview...
  • Page 3: Hardware And Software Overview

    1- Hardware and Software overview...
  • Page 4: Hardware Overview

    Hardware Overview Sample implementations are available for STM32WB Nucleo development boards plugged on STM32 Nucleo expansion boards: ➢ P-NUCLEO-WB55 + X-NUCLEO-IKS01A3 + X-NUCLEO-53L3A2 (optional)
  • Page 5 – Arduino™UnoV3 – Stmorpho • Integrated PCB antenna or footprint for SMA connector • Flexible power-supply options: ST-LINK USB VBUS or external sources • On-board socket for CR2032 battery • On-board ST-LINK/V2-1 debugger/programmer with USB re-enumeration capability: mass storage, virtual COM port and debug port Latest info available at www.st.com...
  • Page 6 • The X-NUCLEO-IKS01A3 is a motion MEMS and environmental sensor evaluation board system. • It is compatible with the Arduino UNO R3 connector layout, and is designed around ST’s latest sensors. Key Product on board • LSM6DSO MEMS 3D accelerometer (±2/±4/±8/±16 g) + 3D gyroscope (±125/±250/±500/±1000/±2000 dps)
  • Page 7 • The X-NUCLEO-53L3A2 is a ranging sensor with multi target detection evaluation and development board designed around the VL53L3CX sensor based on ST FlightSense™ Time-of-Flight technology. • The VL53L3CX communicates with the STM32 Nucleo developer board host microcontroller through an I2C link available on the Arduino UNO R3 connector.
  • Page 8 Overall Software Architecture • The FP-SNS-MOTENVWB1 function pack for STM32Cube lets you connect your IoT node to a smartphone via Bluetooth Low Energy (BLE) and use a suitable Android or iOS application such as the STBLESensor app to view real-time motion, environmental (temperature, relative humidity) and time-of-flight sensor data.
  • Page 9 2- Setup & Demo Examples...
  • Page 10 • Copy the .zip file content of the firmware package into a folder on your PC. • The package contains source code example (Keil, IAR, STM32CubeIDE) compatible with P-NUCLEO-WB55 • ST BLE Sensor Application for Android/iOS to download from Google Play Store / iTunes...
  • Page 11 2.1- Setup Overview: STM32 Nucleo with Expansion boards...
  • Page 12: Setup Overview

    Setup Overview HW prerequisites • 1x Motion MEMS and Environmental Sensor Expansion Board (X-NUCLEO-IKS01A3) • 1 x STM32 ranging sensor expansion board (X-NUCLEO- 53L3A2) - Optional • 1x STM32WB Nucleo Development Board (P-NUCLEO-WB55) P-NUCLEO-WB55 X-NUCLEO-IKS01A3 • 1x Android™ or iOS™ device •...
  • Page 13 Start coding in just a few minutes (1/2) www.st.com/stm32ode FP-SNS-MOTENVWB1 package structure Docs BSP, HAL and drivers STM32 WPAN BLE, Motion libs Select Expansion software : Application Download & unpack FP-SNS-MOTENVWB1 Android™/iOS™ smartphone and ST BLE Sensor application .\Projects\STM32WB55RG-Nucleo\Applications\MOTENV1 .\Projects\STM32WB55RG-Nucleo\Applications\MOTENV1_OTA Build/Flash and run the project...
  • Page 14 Setup Overview Start coding in just a few minutes (2/2) 1. How to install the pre-compiled binary: • For each applications, there is inside the package one folder called “Binary” • Directly flash to a supported STM32WB Nucleo using the STM32CubeProgrammer or by doing “Drag & Drop” 2.
  • Page 15 Setup Overview Bluetooth low energy and sensors software FP-SNS-MOTENVWB1 - Serial line monitor (e.g.Tera Term) • Pressing the RESET User button on STM32WB Nucleo board. You could see the initialization phase Configure the serial line monitor (speed, LF) • When the boards are connected to an Android or iOS device, you can see what is transmitted via BLE...
  • Page 16 2.2- FOTA Support...
  • Page 17 FOTA support Flash OTA and User application (1/3) To make the OTA work, open STM32CubeProgrammer and connect to the board. Then, follow the procedure below: Erase full Flash memory...
  • Page 18 FOTA support Flash OTA and User application (2/3) Open BLE_Ota_reference.hex (from the MOTENV1_OTA/Binary directory) Flash BLE_Ota_reference.hex at 0x8000000...
  • Page 19 FOTA support Flash OTA and User application (3/3) Open MOTENV1_IKS01A3_WB55RG_OTA.bin (from the MOTENV1_OTA/Binary directory) Flash MOTENV1_IKS01A3_WB55RG_OTA.bin at 0x8007000...
  • Page 20 2.3- Demo Examples ST BLE Sensor Application Overview...
  • Page 21: Demo Examples

    Demo Examples ST BLE Sensor Application for Android/iOS (1/6) Environmental Accelerometer plot Menu Events Multiple events Pedometer Wake Up Orientation Led Status...
  • Page 22 Demo Examples ST BLE Sensor Application for Android/iOS (2/6) Rssi & Battery Objects distances Presence Detection NOTE The presence is identified inside a fixed range distances that can be modified by these line code: #define PRESENCE_MIN_DISTANCE_RANGE 300 #define PRESENCE_MAX_DISTANCE_RANGE 800...
  • Page 23 Demo Examples ST BLE Sensor Application for Android/iOS (3/6) MotionAR MotionPM MotionGR MotionCP MotionID MotionFX Activity recognition Carry position recognition Intensity detection Sensor fusion ecompass SW Pedometer Mems Gesture...
  • Page 24 Demo Examples ST BLE Sensor Application for Android/iOS (4/6) To update the user application, follow the steps below: Search for and connect to the “WBMEMS” device Copy the new user application to your phone Tap the menu button (top left) to open the option window,...
  • Page 25 Demo Examples ST BLE Sensor Application for Android/iOS (5/6) select the board type and after Application Coprocessor reboot select the binary file for OTA from your mobilephone folders start OTA with the red button...
  • Page 26 Demo Examples ST BLE Sensor Application for Android/iOS (6/6) 8. Leave the address to default 0x7000 and push the red button to start upload.
  • Page 27 3- Documents & Related Resources...
  • Page 28 DB3966: STM32Cube function pack for STM32WB with BLE connectivity and environmental and motion sensors – data brief • Getting started with the STM32Cube function pack for STM32WB with BLE connectivity and environmental and motion sensors – UM2613 user manual •...
  • Page 29 4- STM32 Open Development Environment: Overview...
  • Page 30 The STM32 Open Development Environment (STM32 ODE) is an open, flexible, easy, and affordable way to develop innovative devices and applications based on the STM32 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 transformed into final designs...
  • Page 31 Thank you © STMicroelectronics - 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.