Skip to main content
AKwiek
Associate II
February 10, 2022
Question

BLE Stack firmware for STM32WB55

  • February 10, 2022
  • 12 replies
  • 4571 views

..

This topic has been closed for replies.

12 replies

Javier1
Principal
February 10, 2022

Did you tried STM32CubeMonitor-RF?

hit me up in https://www.linkedin.com/in/javiermuñoz/
Remi QUINTIN
ST Technical Moderator
February 11, 2022

I don't think there is way to check the type of wireless stack once installed as it would be located in a secure protected area which is not accessible by the application.

I would like to correct my statement above.

There is indeed a way to get conformation data on the FW currently running on the M0+ core, calling the SHCI_GetWirelessFwInfo() command.

SHCI_GetWirelessFwInfo() command reads the informations relative to the loaded wireless binary.

A description of this command is available in AN5289 chapter 4.10 Device information table. Returned information is the Wireless firmware version, the Wireless Firmware Memory required by the wireless firmware and the Wireless firmware information.

Codes are listed in the shci.h file

AKwiek
AKwiekAuthor
Associate II
February 11, 2022

Thanks. Is there (beside ReleaseNote.html) any application note that describes in detail characteristic and functionality of each firmware binaries and its API?

Remi QUINTIN
ST Technical Moderator
February 11, 2022

AN5270 is explaining the API used for all projects/stacks. they are of HCI or ACI levels.

AKwiek
AKwiekAuthor
Associate II
February 14, 2022

Hello, what version of stack it should be used in BLE application? 

UM2550 don't describe it clearly.

Remi QUINTIN
ST Technical Moderator
February 14, 2022

Version of WB FW package or type of stack?

For the version of the package, you should use the latest one that is located here

https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32cube-mcu-mpu-packages/stm32cubewb.html

the latest one is v1.13.0 with a patch v1.13.1.

For the type of stack you should use for a BLE application, you can use stm32wb5x_BLE_Stack_full_fw.

stm32wb5x_BLE_Stack_light_fw is a light one with less features.

Other stacks are also provided depending of the system level you want to implement on the M4 core.

Please read the releases notes to get the description of each of them.

All the stacks are located under STM32Cube_FW_WB_VX.Y.Z\Projects\STM32WB_Copro_Wireless_Binaries

AKwiek
AKwiekAuthor
Associate II
February 14, 2022

Yes, I asked of type of BLE firmware. Now I'm using the HCILayer_fw with stm32wb55VGY on Zephyr. And I would want to know that is there more appropriate firmware. And is there (over ReleaseNotes.html) some detailed description of characteristics of particular binaries of wireless stack for this MCU?

Remi QUINTIN
ST Technical Moderator
February 14, 2022

For the version available today, it is possible to use one the 2 stacks:

stm32wb5x_BLE_Stack_full_fw.bin

stm32wb5x_BLE_HCILayer_fw.bin                        => More appropriate as smaller

From version v1.13.2 onward, it is recommended to use one of the stacks listed below:

stm32wb5x_BLE_Stack_full_extended_fw.bin

stm32wb5x_BLE_HCILayer_fw.bin                        => More appropriate but no extended functions

stm32wb5x_BLE_HCILayer_extended_fw.bin      => In case extended function are needed

AKwiek
AKwiekAuthor
Associate II
February 15, 2022

What is the _extended_fw.bin ? I can't find it in STM32WB_Copro_Wireless_Binaries.

Remi QUINTIN
ST Technical Moderator
February 15, 2022

It is located there STM32Cube_FW_WB_V1.13.0\Projects\STM32WB_Copro_Wireless_Binaries\STM32WB5x but you may have to apply the V1.13.1 which is a patch containing this stack.

Extract from the release notes:

tm32wb5x_BLE_Stack_full_extended_fw.bin

  • Full BLE Stack 5.2 certified : Link Layer, HCI, L2CAP, ATT, SM, GAP and GATT database
  • BT SIG Certification listing : Declaration ID D042164
  • Following features are kept:
    • GAP peripheral, central (LL Master up to 6 links with Slave up to 2 links/ Master up to 7 links with Slave up to 1 links/ Master up to 8 links )
      • BLE Extended advertizing (under application flag selection with predefined fixed configuration: 2 sets maximum number, 1650 bytes maximum advertizing data length)
    • GATT server, client
    • Data length extension
    • 2Mbit PHY / PHY update
    • Privacy
    • White list
    • Legacy Pairing, LE secure connections
    • HCI interface (full, like stm32wb5x_BLE_HCILayer_fw.bin)
    • Direct Test Mode
    • L2CAP connection oriented channels support (IP over BLE enabler)
    • Channel selection #2 (under application flag selection)