cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB55 BLE Unexpected Event

ezza23
Associate

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?

1 ACCEPTED SOLUTION

Accepted Solutions
STTwo-32
ST Employee

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.

View solution in original post

3 REPLIES 3
STTwo-32
ST Employee

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.

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
ST Employee

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.