2025-03-13 3:57 AM - edited 2025-03-13 5:22 AM
I want to use HSE/1000 instead of LSE for the BLE Radio Sleep Timer Clock mux on the WBA6.
Advertising works (being BLE peripheral), but after a connect, I immediately get a BLE disconnect (reason 8) when selecting the HSE/1000 input.
HSEON bit is set on RCC; I'm not using any low power mode.
2025-03-13 5:29 AM
Hello @Creemers
I've tested this using the P2P server example available on the STM32CubeWBA - STM32Cube MCU Package for STM32WBA series (HAL, Low-Layer APIs and CMSIS, File system, RTOS, BLE/802.15.4, Thread and Zigbee stacks - and examples running on ST boards) - STMicroelectronics for the NUCLEO-WBA65RI and I've changed the clock source of the BLE Radio Sleep Timer Clock mux from LSE to HSE/1000:
My node is advertising and I'm able to connect to the ST BLE Toolbox app without any disconnection.
You may refer to the example and compare the difference of configurations between your code and the example code.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-03-13 5:59 AM - edited 2025-03-13 6:21 AM
I tried, but I have troubles getting the examples to work. Examples seem to get stuck in the MX_APPE_Init() call (more concrete: inside SNVMA_Init())
More people seem to have similar issue: see https://community.st.com/t5/stm32-mcus-wireless/stm32wba-family-use-of-stack-ble-without-lse-with-lsi2/m-p/703187
IDE 1.18.0
FW_WBA 1.6.0
2025-03-13 9:08 AM
Hi @Creemers
This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.
Regards,
Billy