cancel
Showing results for 
Search instead for 
Did you mean: 

stm32wb55cc freezes in function Ble_Hci_Gap_Gatt_Init()

SIvan.2
Associate

Hello. I am trying to run an example of a P2P server on my own board built on the stm32wb55cc chip, I hang on the line

Ble_Hci_Gap_Gatt_Init (); 

more specifically in the loop

  while((EvtSet & EvtWaited) == 0)
  {
    UTIL_SEQ_EvtIdle(current_task_id_bm, EvtWaited);
  }

and I can’t get out of it

why is this happening. Has anyone encountered such a problem?

2 REPLIES 2
ibrncfe
Associate

it's stuck because of no event response come from transport layer in function TlEvtReceived.

i have the same problem and i didn't know how to solve it yet.

i solved the problem. the problem was that I took an empty chip and the stm32wb5x_BLE_Stack firmware was not written on it. You need to write BLE stask through the STM32CubeProgrammer program