ST STEVAL-MKBOXPRO User Manual
Hide thumbs Also See for STEVAL-MKBOXPRO:

Advertisement

Quick Links

Introduction
The
STEVAL-MKBOXPRO
(SensorTile.box PRO) is the new ready-to-use programmable wireless box kit for developing any IoT
application based on remote data gathering and evaluation. Exploit the full kit potential by leveraging both motion and
environmental data sensing. Enhance the connectivity and smartness of whatever environment that you find yourself in.
The STSW-MKBOX-BLEDK is a software package for the BlueNRG-LP Bluetooth® Low Energy system-on-chip supporting
Bluetooth 5.2 specifications. Key highlights of this package are as following:
Smart sensor node firmware with BlueNRG-LP as controller
Supports both motion and environmental data sensing
Over the air (OTA) Firmware upgrade
Communication with ST BLE Sensor Classic app
Bluetooth® Low Energy examples like beacon, throughput, and serial Port
Figure 1.
STEVAL-MKBOXPRO (SensorTile.box PRO) multisensor and wireless connectivity development kit
UM3227 - Rev 1 - September 2023
For further information contact your local STMicroelectronics sales office.
STSW-MKBOX-BLEDK software package for BlueNRG-LP
UM3227
User manual
www.st.com

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for ST STEVAL-MKBOXPRO

  • Page 1: Figure 1. Steval-Mkboxpro (Sensortile.box Pro) Multisensor And Wireless Connectivity Development Kit

    Communication with ST BLE Sensor Classic app • Bluetooth® Low Energy examples like beacon, throughput, and serial Port Figure 1. STEVAL-MKBOXPRO (SensorTile.box PRO) multisensor and wireless connectivity development kit UM3227 - Rev 1 - September 2023 www.st.com For further information contact your local STMicroelectronics sales office.
  • Page 2: Acronyms And Abbreviations

    UM3227 Acronyms and abbreviations Acronyms and abbreviations Table 1. List of acronyms Acronym Description Bluetooth Low Energy Mega Hertz Microcontroller unit Inter Integrated Circuit UM3227 - Rev 1 page 2/27...
  • Page 3: Getting Started

    BLE Beacon • BLE Throughput • BLE Serial Port Master Slave There are several ST products used including BLE controllers and sensors on SensorTile.box PRO board: • BlueNRG-LP (Host BLE Microcontroller) • LSM6DSV16X (iNEMO 3D accelerometer & 3D gyroscope) •...
  • Page 4: Folder Structure

    UM3227 Folder Structure Figure 3. Example block diagram Folder Structure STSW-MKBOX-BLEDK software package files are organized in the following main directories: • Firmware: contains prebuilt binary Bluetooth® Low Energy sample applications • Drivers: – BSP: SDK drivers providing an API interface to the BlueNRG-LP/BlueNRG-LPS platform hardware resources (LEDs, buttons, sensors, I/O channel) –...
  • Page 5: Hardware Requirements

    IAR ARM v9.20.1/MDK -ARM v5.37.0 • RF-Flasher Utility GUI • STM32CubePROGRAMMER GUI • ST BLE Sensor Classic Mobile App for Android/IOS • BlueNRG-GUI – (Required for BLE OTA Reset Manager Application) • Tera Term Board setup In the SensorTile.box PRO there are components like sensors, LED, switches connected both BlueNRG-LP and STM32U5 controllers.
  • Page 6: Figure 4. Stm32U5 Mass Erase Steps (Step 1)

    UM3227 Board setup Step 2. Then use the STM32 Cube Programmer: make sure you have the latest STM32CubePROGRAMMER version (old versions might not get recognize the U5 in DFU Mode) – Select USB, Select the port USB1, click on Connect (see Figure –...
  • Page 7: Figure 6. Stm32U5 Mass Erase Steps (Step 3)

    UM3227 Board setup Figure 6. STM32U5 mass erase steps (step 3) UM3227 - Rev 1 page 7/27...
  • Page 8: Ble Applications

    BLE applications BLE Sensor demo The Bluetooth® Low Energy sensor demo application for ST BLE Sensor Classic app is supported on the SensorTile.box PRO kit. This application shows how to implement a sensor demo custom profile application tailored for interacting with the ST BLE Sensor Classic smartphone app. Once configured and connected, the...
  • Page 9: Ble Beacon

    UM3227 BLE beacon Step 8. Select the ST BLE Sensor Classic Demo, Plot Data window and select sensor options to plot the received values. The sensor values are displayed on a graphical chart. Figure 8. Expected output on ST BLE Sensor Classic App...
  • Page 10 UM3227 BLE beacon Step 1. Connect the STLINK V3 programmer probe to JP3 header on SensorTile.box PRO board. Connect the programmer to PC with a USB Cable Step 2. Build the related BLE Beacon application (STSW-MKBOX BLEDK\Projects\BLE_Examples\ BLE_Beacon) on the selected platform (pre-built image is available on STSW-MKBOX- BLEDK\Firmware\ BLE_Examples\BLE_Beacon\Release folder and can be loaded through RF Flasher Utility) Step 3.
  • Page 11: Figure 10. Ble Beacon Tera Term Settings

    UM3227 BLE beacon Step 7. Download and Open the BLE scanner mobile App and search for the Beacon Device Figure 10. BLE Beacon Tera Term Settings Figure 11. BLE Beacon Tera term output: release configuration UM3227 - Rev 1 page 11/27...
  • Page 12: Ble Throughput

    UM3227 BLE Throughput Figure 12. BLE Beacon Tera term output: extended configuration Figure 13. BLE Beacon Tera term output: periodic configuration BLE Throughput This Throughput demo has two roles: • The server that exposes the Throughput service. It is the slave •...
  • Page 13 UM3227 BLE Throughput Press e to Toggle notify Press p to Print APP flags Press s to Read LE PHY (TX, RX) Press d to Set LE RX PHY to Coded Press D to Set LE TX PHY to Coded Press t to Set LE TX PHY to 1 Mbps Press r to Set LE RX PHY to 1 Mbps Press T to Set LE TX PHY to 2 Mbps...
  • Page 14: Figure 14. Ble Throughput Tera Term Output - 1

    UM3227 BLE Throughput Step 5. The platform is seen on the PC as a virtual COM port. Open the port in a serial terminal tool. The required serial port baud rate is 115200 Step 6. The two platforms try to establish a connection. As soon as they get connected, the slave continuously sends notification of a characteristic to the client Step 7.
  • Page 15: Ble Ota Reset Manager

    UM3227 BLE OTA reset manager BLE OTA reset manager • The application implements the OTA Reset Manager which, at reset, passes control to the latest valid Bluetooth LE application updated through the Bluetooth LE Over-The-Air (OTA) Service • The OTA Reset Manager is a basic application which is stored at BlueNRG-LP FLASH base address (0x10040000) and it allows to transfer of control towards the new upgraded application every time we reset •...
  • Page 16 UM3227 BLE OTA reset manager Step 11. After the device selection, the connection through ‘Connect’ button and reading of the related free memory range, the user is requested to provide the new image file compiled with a base address and size fitting within the expected range on the slave device.
  • Page 17: Figure 16. Ble Ota Reset Manager Firmware Upgrade Using Bluenrg-Gui - 1

    UM3227 BLE OTA reset manager Step 14. On process completion the new application is launched Figure 16. BLE OTA Reset Manager Firmware upgrade using BlueNRG-GUI - 1 UM3227 - Rev 1 page 17/27...
  • Page 18: Figure 17. Ble Ota Reset Manager Firmware Upgrade Using Bluenrg-Gui - 2

    UM3227 BLE OTA reset manager Figure 17. BLE OTA Reset Manager Firmware upgrade using BlueNRG-GUI - 2 UM3227 - Rev 1 page 18/27...
  • Page 19: Ble Ota Service Manager

    UM3227 BLE OTA service manager Figure 18. BLE OTA Reset Manager Firmware upgrade using BlueNRG-GUI - 3 BLE OTA service manager • The application implements a basic standalone Bluetooth LE Over The Air(OTA) firmware upgrade. It provides the Bluetooth LE Over-The-Air Service management for handling OTA firmware upgrade of a Bluetooth LE application which doesn’t have any Bluetooth LE OTA service •...
  • Page 20: Ble Serial Port Master Slave

    Remove the Debugger from PC, Power reset the Board using S1 switch. Step 6. Open the ST BLE Sensor Classic Mobile app and click ‘Select one Device’. Step 7. Save the firmware binary(.bin) to be flashed in Smart Phone at a known location. For example, pre-built...
  • Page 21 UM3227 BLE serial port master slave • The Serial Port Master and Slave application configures a BlueNRG-LP device as Central & Peripheral using the aci_gap_init (GAP_CENTRAL_ROLE|GAP_PERIPHERAL_ROLE, ...). Then it performs the following steps: – It starts discovery procedure for a another BlueNRG-LP device configured with the same binary image.
  • Page 22: Figure 20. Ble Serialport Master Slave Tera Term Output

    UM3227 BLE serial port master slave Step 5. The application will listen for keys typed in one node and, on return press, it will send them to the remote node. The remote node will listen for RF messages, and it will output them in the serial port. In other words, everything typed in one node will be visible to the other node and vice versa.
  • Page 23: Revision History

    UM3227 Revision history Table 2. Document revision history Date Revision Changes 01-Sep-2023 Initial release. UM3227 - Rev 1 page 23/27...
  • Page 24: Table Of Contents

    UM3227 Contents Contents Acronyms and abbreviations ............2 Getting started .
  • Page 25: List Of Tables

    UM3227 List of tables List of tables Table 1. List of acronyms ..............2 Table 2.
  • Page 26: List Of Figures

    BLE OTA Reset Manager Firmware upgrade using BlueNRG-GUI - 3 ......19 Figure 19. BLE OTA Service Manager Firmware upgrade using ST BLE Sensor Classic Mobile App....20 Figure 20.
  • Page 27 ST’s terms and conditions of sale in place at the time of order acknowledgment. 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