1. STM32WB - Bluetooth® LE Coprocessor Binaries
This is a description about the Bluetooth® LE Wireless stack available for the secure CM0+ coprocessor of the STM32WB Most of the information can be found within the Release Note for STM32WBxx Copro Wireless Binaries. https://github.com/STMicroelectronics/STM32CubeWB/tree/master/Projects/STM32WB_Copro_Wireless_Binaries
1.1. CubeWB v1.14.0 - Bluetooth® LE Wireless stack Summary
For Bluetooth® LE applications, 6 binaries are available and certified BLE 5.3. According to the type of application, the size of the flash, it is up to the developer to load the right binary:
- stm32wb5x_BLE_Stack_full_extended_fw.bin - 177KB - Link Layer, HCI, L2CAP, ATT, SM, GAP and GATT database
- To be used for Adverting/Scanning Extension - Full HCI/ACI/DTM commands/Event support
- stm32wb5x_BLE_Stack_full_fw.bin - 143KB - Link Layer, HCI(limited), L2CAP, ATT, SM, GAP and GATT database
- To be used for GAP Central/Peripheral & GATT Server/Client applications
- support up to 8 connections with maximum 2 links as Slave
- stm32wb5x_BLE_Stack_light_fw.bin - 112KB - Link Layer, HCI(limited), L2CAP, ATT, SM, GAP(limited) and GATT(limited) database
- To be used for GAP Peripheral & GATT Server applications
- support up to 2 links as Slave
BLE Stack 5.3 Certified | GAP Peripheral | GAP Central | GATT Server | GATT Client | PHY 2M | Data Length Extension | Legacy Pairing, LE secure connection | Privacy | White List | HCI Interface | DTM | L2CAP Connection Oriented channels support | Channel Selection #2 | Extended Advertising Scanning | BT SIG Declaration ID |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Full Extended | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | ● | id123456 |
Full | ● | ● | ● | ● | ● | ● | ● | ● | ● | reduced | id123456 | ||||
Light | ●' | ● | ?? | ● | ● | ● | ● | reduced | id123456 |
- stm32wb5x_BLE_HCILayer_fw.bin - 93KB - Link Layer, HCI, DTM
- To be used for BLE Host Stack running on CM4 application processor (Arduino, Zephyr,..)
- stm32wb5x_BLE_HCILayer_extended_fw.bin - 93KB - Link Layer, HCI, DTM, Extended Advertising/Scanning
- To be used for BLE Host Stack running on CM4 application processor (Arduino, Zephyr,..)
- stm32wb5x_BLE_HCI_AdvScan_fw.bin - 34KB - Link Layer, HCI reduced
- To be used for advertising and scanning through HCI interface
1.2. Stack Extended Information
To use extended binaries, it is necessary to adapt the scatter file in the BLE applications as:
- The RAM_A shared range shall be reduced to memory range [0x20030000:0x200307FF]
- The Mail-box buffers(MB_MEM1, MB_MEM2) shall be located in RAM_B shared defined in memory range [0x20038000:0x2003A7FF]
- The RAM_B shared shall be added to Total_RAM_region
define symbol __ICFEDIT_region_RAM_SHARED_start__ = 0x20030000;
define symbol __ICFEDIT_region_RAM_SHARED_end__ = 0x200307FF;
define symbol __ICFEDIT_region_RAM_B_SHARED_start__ = 0x20038000;
define symbol __ICFEDIT_region_RAM_B_SHARED_end__ = 0x2003A7FF;
define region RAM_B_SHARED_region = mem:[from __ICFEDIT_region_RAM_B_SHARED_start__ to __ICFEDIT_region_RAM_B_SHARED_end__];
define region Total_RAM_region = RAM_region | RAM_SHARED_region | RAM_B_SHARED_region;