cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB55RG BLE not advertising when connected to 5V adaptor

yeji_jang
Associate II

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

 

 

Following photo is what I captured at STM32cubeProgrammer after FUS and Wireless BLE Stack update

yeji_jang_0-1762287631329.png

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.

6 REPLIES 6
Andrew Neil
Super User

Have you tried using the debugger to see where & why it's hanging?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

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

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 ...

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

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!

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 

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...

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.