Skip to main content
gocchan
Senior
Aug 22, 2026 5:01 PM UTC
Solved

How to use LEDs with BLE_HeartRate

I'm developing for the NUCLEO-WBA25CE1 using BLE_HeartRate.

In the main function, I called MX_APPE_Init(NULL) followed by BSP_LED_Init() to initialize each LED, but they seem to be blinking rapidly throughout the operation.

I want to disable this blinking, but I can't find where to do so.

Could you tell me how to deal with this?

 

Imen.DBest answer
ST Technical Moderator
Aug 22, 2026 5:04 PM UTC

Hello  @gocchan  ,

Did you try the example with STM32CubeWBA package?

STM32CubeWBA/Projects/NUCLEO-WBA25CE/Applications/BLE/BLE_HeartRate at main STMicroelectronics/STM32CubeWBA GitHub

You can follow this wiki article, that will help you on the configuration of the LEDs using STM32CubeMX: STM32WBA Bluetooth Low Energy - STM32CubeMX Application Conception - stm32mcu

 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks

1 reply

Imen.DBest answer
ST Technical Moderator
Aug 22, 2026 5:04 PM UTC

Hello  @gocchan  ,

Did you try the example with STM32CubeWBA package?

STM32CubeWBA/Projects/NUCLEO-WBA25CE/Applications/BLE/BLE_HeartRate at main STMicroelectronics/STM32CubeWBA GitHub

You can follow this wiki article, that will help you on the configuration of the LEDs using STM32CubeMX: STM32WBA Bluetooth Low Energy - STM32CubeMX Application Conception - stm32mcu

 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks