Skip to main content
JR2963
Senior II
January 13, 2025
Question

Can not init BLE stack on CPU2

  • January 13, 2025
  • 1 reply
  • 654 views

Hi, I want to develop a BLE application on the STM32WB55, but I'm having trouble initializing the BLE stack on CPU2. I call the functions to initialize it (like in the Heart Rate Monitor example), and then I receive an RX_IRQ from the IPCC where incoming data from CPU2 is checked, but currently the list is empty. Where is the problem? I received the IRQ, but there is no data in the list. In that case the init can not be finished.

Probably I missed something. FUS and BLE stack are activated via CubeMX. 

Thank you for help.

image.png

oid HW_IPCC_SYS_EvtNot( void )
{
 TL_EvtPacket_t *p_evt;

 while(LST_is_empty(&SystemEvtQueue) == FALSE)
 {
 LST_remove_head (&SystemEvtQueue, (tListNode **)&p_evt);

 OutputDbgTrace(TL_MB_SYS_ASYNCH_EVT, (uint8_t*)p_evt );

 SYS_EVT_IoBusCallBackFunction( p_evt );
 }

 return;
}

 

1 reply

STTwo-32
Technical Moderator
January 13, 2025

Hello @JR2963 

The STM32WB FUS and Stack can be uploaded and activated using STM32CubeProgrammer. 

So, can you try to update your FUS and Stack using the .bin files on the last STM32CuebWB (V1.21.0). Follow this Wiki and don't forget to click on the "Start wireless stack" button before disconnecting the baord.

Best Regards.

STTwo-32

 

JR2963
JR2963Author
Senior II
January 13, 2025

Thank you, I know what are you talking about, But I am sure this is correct;  I already have a project that works with the BLE stack, so I know how to handle it. Maybe I'm not calling all the BLE initialization functions correctly? 

STTwo-32
Technical Moderator
January 30, 2025

@JR2963 wrote:

Maybe I'm not calling all the BLE initialization functions correctly? 


It may be, have you been able to test it?

Best Regards.

STTwo-32