- Last edited 3 months ago ago
STM32CubeWBA Zigbee MCU Package
The STM32CubeWBa MCU Package provides software components running on STM32WBA MCUs.
For all examples provided with 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 on STM32CubeWBA github.
2 STM32WBA Zigbee software architecture
The single Core Arm® Cortex®-M33 STM32WBA Zigbee solution is designed to develop application firmware including clusters and smart energy objects on top of the Zigbee Stack and 802.15.4 MAC & PHY, as depicted in the figure below.
|STM32WBA Zigbee architecture
STM32WBA5xxG Memory system:
- 1-Mbyte flash memory from address offset 0x00 0000 to 0x0F FFFF
- 128-Kbyte SRAMs:
- SRAM1 64-Kbyte from address offset 0x0 0000 to 0x0 FFFF (continuous SRAM space with SRAM2)
- SRAM2 64-Kbyte
Power Efficiency Features of Zigbee with STM32WBA
Zigbee with STM32WBA offers the ability to handle power efficiency by defining different levels of low power that can be configured based on the specific needs of the application.
At runtime, clocks are managed dynamically by the System Clock Manager (SCM) module. Input Frequency = 32MHz.
3 STM32WBA Zigbee applications
3.1 Stack and Clusters Libraries
The STM32WBA utilizes the Zigbee stack R23, which is available in two library types, FFD and RFD.
ZigBee Cluster Library ZCL8.0 is provided as a library, with the option to receive the source code under a non-disclosure agreement (NDA).
List of the clusters included :
|Green Power Proxy
|Thermostat User Interface Configuration
|IAS Warning Device (WD)
|Device Temperature Configuration
|On/Off Switch Configuration
|Power Profile Cluster
|Nearest Gateway Cluster
|Pump Configuration and Control
|Illuminance Level Sensing
|Relative Humidity Measurement
|IAS Ancillary Control Equipment (ACE)
|Demand Response and Load Control(*)
|Smart Energy Tunneling (Complex Metering) (*)
|Energy Management (*)
|Device management (*)
|Voice Over ZigBee
(*) : Smart Energy Clusters
Different operating systems are supported:
- Bare metal
In order to be compliant with Smart Energy 1.4, STM32WBA also supports Zigbee R22.2 in the next release.
3.2 Package Applications
The following Zigbee applications are delivered as source codes. These applications are available on P-NUCLEO-WBA55 boards. The purpose of these applications is mainly to provide simple examples that highlight the use of specific clusters.
|How to use thermostat cluster on a centralized Zigbee network
|How to use device temperature measurement cluster on a centralized Zigbee network
|How to use diagnostic cluster on a centralized Zigbee network
|How to use door lock cluster on a centralized Zigbee network
|How to use IAS WD cluster on a centralized Zigbee network
|How to use meter identification cluster on a centralized Zigbee network
|How to use OnOff cluster on a centralized Zigbee network
ThreadX version available
|How to use the OnOff Switch Config cluster on a centralized Zigbee network
|How to use Occupancy Sensing cluster on a centralized Zigbee network
|How to use power profile cluster on a centralized Zigbee network
|How to use pressure measurement cluster on a Centralized Zigbee network
|How to use messaging cluster on a Centralized Zigbee network
|How to use the Power Config cluster on a centralized Zigbee network
|How to use the Pressure Measure cluster on a centralized Zigbee network
|How to use OnOff cluster on a distributed Zigbee network
|How to use APSDE interface on a customer application
|How Finding and Binding (F&B) feature works on a Zigbee centralized network
|How to use the basic attributes of an OnOff cluster