2025-11-04 12:32 PM - last edited on 2025-11-04 12:42 PM by Andrew Neil
Hello, ST Community
I’m currently working with the NUCLEO-WB55RG board to enable BLE communication.
Initially, BLE advertising worked perfectly when the board was powered via USB (connected to a PC or 5V Adaptor).
However, now BLE advertising do not start, when I power it via USB - 5V adapter.
The 5V adapter is not the issue — it’s a stable power source rated at 5V / 3A.
I powered using CN15(ST-Link 5V-usb) in both cases before and now.
System setup
Board: NUCLEO-WB55RG
Expansion board: X-NUCLEO-NFC08A1
Initialization sequence in main.c:
int main(void)
{
HAL_Init();
MX_APPE_Config();
SystemClock_Config();
PeriphCommonClock_Config();
MX_IPCC_Init();
MX_GPIO_Init();
MX_RTC_Init();
MX_X_CUBE_NFC6_Init();
MX_RF_Init();
MX_APPE_Init(); // BLE initialization
NFC08A1_LED_Init();
rfalInitialize();
}When I toggle an LED for debugging, the program appears to stop or hang inside MX_APPE_Init() when i connect to adaptor for power.
What I’ve already checked
Linker script verified — .MB_MEM2 section syntax is correct (no extra dot issue). regarding this forum https://community.st.com/t5/stm32-mcus-wireless/stm32wb55rg-ble-advertising-issue/td-p/127368
Following photo is what I captured at STM32cubeProgrammer after FUS and Wireless BLE Stack update
The board was running perfectly until recently, and it’s unclear why BLE initialization now fails.. (i never edited the code)
I’d be really grateful for any suggestions or checks I could try — even small details or things that might seem obvious.
Best regards,
Yeji
Edited to apply source code formatting - please see How to insert source code for future reference.
2025-11-04 12:43 PM
Have you tried using the debugger to see where & why it's hanging?
2025-11-04 12:44 PM - edited 2025-11-04 12:45 PM
it works well when i connect to PC with USB (ST-Link), BLE advertising does not work when i connect to 5V adaptor via USB at CN15
2025-11-04 12:50 PM
So have you tried using the debugger to see where & why it's hanging when you power it from the 5V adaptor?
You'd have to use a separate ST-Link ...
2025-11-04 12:55 PM - edited 2025-11-04 1:13 PM
Sorry, I am really new to this board so my response might not be clear...
May I ask where should i connect separate ST-Link when I power the board with 5V Adaptor through CN15, which is also connected to ST-Link in Nucleo-wb55rg board?
Should I power 5V to CN1 (USB_USER) and connect another cable from CN15 to PC?
i don't know where i can connect the separate ST Link to my nucleo board, maintaining 5V Adaptor powered.
I really appreciate your help!
2025-11-04 1:11 PM
I tried to power the board not with 5V Adaptor, but with VIN with power supply, then it the BLE advertising works well.
However still don't know why BLE advertising not works when i use 5V adpator..
Thank you
2025-11-04 1:12 PM - edited 2025-11-04 1:20 PM
That should be described in the User Manual for the board, which should be available on the 'Documentation' tab of the Product Page:
https://www.st.com/en/evaluation-tools/nucleo-wb55rg.html#documentation
But it seems to be missing.
Perhaps @Imen.D can help with that?
PS:
But the schematics are available on the 'CAD Resources' tab:
https://www.st.com/en/evaluation-tools/nucleo-wb55rg.html#cad-resources
so you could check from there...