-
Notifications
You must be signed in to change notification settings - Fork 21
Description
I have WeAct Studio STM32WB55 board STM32WB55 board. I use Arduino IDE 2.3.6. I use "STM32 MCU based boards by STM" 2.11.0 platform. I use "STM32duinoBLE" 1.4.1 library. I uploaded suggested firmware stack for radio module MCU for this chip (stm32wb5x_BLE_HCILayer_fw.bin 1.24.0). I tried to use "Peripheral -> Advertising -> RawDataAdvertising" example.
The result is my code is hanging in the infinite loop inside BLE.begin() function.
The further investigation showed that the code is hanging in HCISharedMemTransportClass::write() function in the line:
while (!phase_reset);
during the HCI.reset() stage. The phase_reset flag set just in one place: in function evt_received() which is never called.
I added some log in code so there is a result:
Starting application...
syscmd_status_not, status:1
WB copro FW version = 1.24.0
syscmd_status_not, status:0
syscmd_status_not, status:1
IPM Channel Open Completed
Command tx -> 0x1 0x3 0xC 0x0
Invoking mbox_write()...
mbox_write() done
I expected phase_reset done message which never happened because of infinite loop in while (!phase_reset);
I attached my sketch directory and library directory to reproduce the error. The only differences are adding log messages (I prepended them with /TEMP+/ prefix). Also I attached Arduino settings for my board.
STM32duinoBLE.zip
stm32wb55_ble_RawDataAdvertising.zip

Metadata
Metadata
Assignees
Labels
Type
Projects
Status