Skip to main content
Visitor II
July 4, 2024
Solved

STM32WB55 BLE Unexpected Event

I got the STM32W55 MCU.

We keep receiving an event from the stack:

Event type: 0xff --> 

 

 

HCI_VENDOR_SPECIFIC_DEBUG_EVT_CODE

 

 

Event e-code: 0x04 

 

 

/* ACI_HAL_END_OF_RADIO_ACTIVITY_EVENT code */
#define ACI_HAL_END_OF_RADIO_ACTIVITY_VSEVT_CODE 0x0004U

 

 

 We receive it in an infinite loop.

Can you please advice?

This topic has been closed for replies.
STTwo-32
STTwo-32Best answer
ST Technical Moderator
July 8, 2024

Hello @ezza23 

Hi Ezza,

This event is triggered because most probably in your code you registered to receive radio_activity_event ( By default it is the case in ST code example)

To register to radio activity event, I suppose you have a call to aci_hal_set_radio_activity_mask()

This command allow to define radio activity report you want to receive.

If you don't want to receive such report ( ACI_HAL_END_OF_RADIO_ACTIVITY_VSEVT_CODE). You simply need to remove call to aci_hal_set_radio_activity_mask().

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.

3 replies

STTwo-32
ST Technical Moderator
July 4, 2024

Hello @ezza23 and welcome to the ST Community :smiling_face_with_smiling_eyes:.

Can you give more details about your exact configurations to reproduce this behavior.

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.
Billy OWEN
ST Employee
July 5, 2024

Hi @ezza23 

 

This post has been escalated to the ST Online Support Team for additional assistance.  We'll contact you directly.

 

Regards,

Billy

STTwo-32
STTwo-32Best answer
ST Technical Moderator
July 8, 2024

Hello @ezza23 

Hi Ezza,

This event is triggered because most probably in your code you registered to receive radio_activity_event ( By default it is the case in ST code example)

To register to radio activity event, I suppose you have a call to aci_hal_set_radio_activity_mask()

This command allow to define radio activity report you want to receive.

If you don't want to receive such report ( ACI_HAL_END_OF_RADIO_ACTIVITY_VSEVT_CODE). You simply need to remove call to aci_hal_set_radio_activity_mask().

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.