Skip to main content
SIvan.2
Visitor II
June 10, 2020
Question

stm32wb55cc freezes in function Ble_Hci_Gap_Gatt_Init()

  • June 10, 2020
  • 1 reply
  • 752 views

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?

This topic has been closed for replies.

1 reply

ibrncfe
Visitor II
November 2, 2021

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.

SIVAN.1
Visitor II
November 2, 2021

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