cancel
Showing results for 
Search instead for 
Did you mean: 

Receiving HCI_HARDWARE_ERROR_EVENT from BLE Stack

MLancaster
Associate

MCU: STM32WB55

BLE: BLE Stack Full V1.8.0

Hello,

I am using STM's BLE OTA example project (bootloader) and have it working with my custom firmware. I have noticed an issue that happens when updating my custom firmware via ota. Every so often I am unable to connect to the BLE_OTA firmware to download a new application. I was able to debug the BLE_OTA and find that the firmware acts up when an error event (HCI Event) is received.

I have noticed power cycling the MCU fixes the issue and the BLE OTA is able to function correctly. If I perform a software reset via NVIC_SystemReset() the BLE_OTA will run and Advertise BLE Data for maybe 10 seconds until receiving the error event again. I would like to fix this issue without power cycling the MCU.

Error Description found in Doc AN5270 Section 3.1 and 3.1.4

HCI_HARDWARE_ERROR_EVENT with error code 0x02 (event_time_overrun err)

I was wondering if anyone knows of any potential fixes, where I can find more information on the cause of the error event or what could potentially cause the error event.

Thank you for your help in advance.

0 REPLIES 0