cancel
Showing results for 
Search instead for 
Did you mean: 

Can not init BLE stack on CPU2

JR2963
Senior II

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;
}

 

2 REPLIES 2
STTwo-32
ST Employee

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

 

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.

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?