Nucleo-WBA65RI Out of Box Demonstration


1. Introduction

Welcome to the Nucleo-WBA65RI[1] wiki page, which includes an out-of-the-box demo and showcases the product features.

This article demonstrates the initial product setup and provides insights into customizing and developing applications using the Nucleo-WBA65RI board.

Nucleo WBA board package - box contents
STM32StepByStep OOB Nucleo WBA65RI Package.png


Nucleo WBA is a Bluetooth® LE wireless and ultralow-power board embedding a powerful and ultralow-power radio compliant with the Bluetooth® LE SIG specification v5.4.

The ARDUINO® Uno V3 connectivity support and the STMicroelectronics morpho headers allow for easy expansion of the STM32 Nucleo open development platform with a wide choice of specialized shields.

The Nucleo WBA board includes the comprehensive STM32WBA HAL software library and various packaged software examples available with the STM32CubeWBA MCU Package[2].

The Nucleo WBA board comes with an application called Application install manager and a peer-to-peer server application including the firmware update over-the-air service.

For more information on FUOTA, refer to the STM32WBA Bluetooth® LE – Firmware update over the air wiki article
For more information on peer-to-peer applications, refer to the STM32WBA Bluetooth® LE – Peer 2 Peer Applications wiki article.

2. Setup

To get started with the Nucleo WBA board, use a USB Type-C® cable to power it up. If necessary, push the B4 button to reset the board.

Nucleo WBA setup
STM32StepByStep OOB Nucleo WBA65RI Setup.png


3. Using Nucleo-WBA65RI

3.1. Application interface

Using the Nucleo WBA board requires an interface for communication and interaction.

Two types of application interface solutions exist:

OoB Nucleo WBA system presentation
STM32StepByStep OOB Nucleo WBA65RI System Presentation.png


Both solutions allow the user to communicate with the Bluetooth® LE board and establish a connection.

The following demonstration uses the ST Web Bluetooth® application interface.

3.2. Getting started

Make sure that the board is powered and running, then open the Web Bluetooth® application interface.

puce1.png
Click on Connect to show nearby Bluetooth® LE devices.
puce2.png
Select the p2pS_XX device, then click on Pair.

If the board is not listed, make sure it is advertising and the green led is blinking. If this is not the case, press button 1 on the board to start advertising.

Connecting to the Nucleo WBA board using the ST Web Bluetooth® application interface
STM32StepByStep Web Bluetooth Connection.png



3.2.1. Home page

The main page of the ST Web Bluetooth® application interface shows all features implemented in the embedded application.

puce1.png
The first panel displays hardware and software information about the board.

(Refer to the Device info characteristics wiki page for more information.)

puce2.png
In the OTA update panel, select an application to update it over the air.
puce3.png
The application embeds the following services: Firmware update over the air and P2P server.
ST Web Bluetooth® features page
STM32StepByStep WebBluetooth p2pServer Features Page.png


3.2.2. Peer-to-peer server

This panel can be used to turn the LED on the board on and off. Additionally, pushing the B1 button on the board sends a notification to the application.

For more information about peer-to-peer examples, refer to the STM32WBA Bluetooth® LE – Peer 2 Peer Applications wiki article.

LED control & button notification
STM32StepByStep WebBluetooth p2pServer.png


3.2.3. Firmware update over the air

Firmware update over the air is a technology that transmits and installs firmware updates to devices wirelessly, not requiring any physical connections.

puce1.png
Select one of the available applications, and click on Set OTA App.
puce2.png
The application selects the correct configuration for the selected board and application.
puce4.png
Click on the Upload button.

Once finished, wait a few seconds until the board and web page reset.

FUOTA
STM32StepByStep WebBluetooth FOTA.png


Info white.png Information
In this example, the newly downloaded application is BLE_GenericHealth_ECG_ota.

For more information on FUOTA, refer to the STM32WBA Bluetooth® LE – Firmware update over the air wiki article.

3.2.4. Generic health - electrocardiogram

After reconnecting to the new application, in the Electrocardiogram interface, click the Start Measure button to start measuring.

Electrocardiogram
STM32StepByStep WebBluetooth ECG.png


4. Going further

This section covers where to find available code, how to program custom code onto the board, and how to develop custom applications.

Get ready to unleash the full potential of the Nucleo WBA board!

4.1. Programming the Nucleo WBA board

The STM32WBA Nucleo board comes with an on-board STLINK-V3MODS[3] debugger/programmer with USB re-enumeration capability. It can be used to program the board without any external components.

4.2. Developing a custom application

The STM32CubeWBA MCU Package[2] provides software components running on STM32WBA series MCUs.

For all examples provided within the package, the following integrated development environments are supported:

  • STMicroelectronics integrated development environment for STM32 products (STM32CubeIDE)
  • IAR Systems® IAR Embedded Workbench® for Arm® (EWARM)
  • Keil® microcontroller development kit (MDK-ARM)

The firmware package for the STM32WBA series is also available from the STM32CubeWBA GitHub[4].

To learn more about the STM32WBA series MCUs or to customize the available applications, refer to the STM32CubeWBA Bluetooth® LE MCU Package wiki article .

5. References