Coming soon |
1. Presentation
This page describes how to easily build and install ST BLE example application.
Example projects can be found on STM32CubeWB package, and are available for different platforms:
ST BLE example project direcroty |
---|
Some of the following information can be retrieved in the Building Wireless Applications with STM32WB Series microcontrollers Application Note[1].
2. Requirements
2.1. Software and System requirements
Software required are the following:
IDE:
- IAR Systems® v8.20.2
- STM32CubeIDE[2].
- Keil® µVision® v5.23
Programmer:
- STM32CubeProgrammer[3] : To flash the board with an already generated binary
2.2. Hardware requirements
A Nucleo board[4], a STM32WB USB dongle[4], or a STM32WB Discovery Kit[5] is necessary to install the application.
Platforms illustration |
---|
More details about the board and other hardware required are available in the BLE and 802.15.4 Nucleo pack User Manual[6] , in the ST BLE-Mesh Application Note[7], or in the online ST BLE-Mesh MOOC[8].
3. Build & Install the application
This chapter describe the build process using IAR and STM32Cube IDE.
3.1. IAR IDE
Select the application you want to build, open the IAR (EWARM) dedicated directory and launch the project.eww IAR file to open the demonstration project on IDE.
IAR project file |
---|
|
Ensure your project is correctly visible into Project Explorer view.
Build you project by reproducing the following steps:
TITLE |
---|
You can Build and Flash the project on your board by clicking on the following button:
TITLE |
---|
3.2. Cube IDE
Select the application you want to build, open the STM32CubeIDE dedicated directory and launch the Cube IDE .project of the demonstration.
TITLE |
---|
|
Ensure your project is correctly visible into Project Explorer view.
Build you project by reproducing the following steps:
TITLE |
---|
Flash it on the board:
TITLE |
---|
3.3. Install the application from Cube Programmer
It is either possible to flash the previously build binary using STM32CubeProgrammer software[9].
Select your device and connect to it:
TITLE |
---|
Once connected, device information is displayed on Cube Programmer interface. Click on programming icon, in the left column, and select the project binary to flash (here BLE_p2pServer.hex). Then, click ok Start Programming button:
TITLE |
---|
When the programming is complete the following logs are displayed:
TITLE |
---|
4. References
- ↑ AN5289: Building wireless applications with STM32WB Series microcontrollers
- ↑ STM32CubeIDE
- ↑ STM32CubeProgrammer Software
- ↑ 4.0 4.1 P-NUCLEO-WB55 package
- ↑ STM32WB5MM-DK board
- ↑ UM2435 - Bluetooth® Low Energy and 802.15.4 Nucleo pack based on STM32WB Series microcontrollers
- ↑ AN5292 - How to build a Bluetooth® Low Energy mesh application for STM32WBx5 line microcontrollers
- ↑ STM32WB Networking – BLE MESH MOOC
- ↑ STM32CubeProgrammer