This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2F: Receiving UTIL_SystemError event from BLE Stack

Part Number: CC2640R2F
Other Parts Discussed in Thread: BLE-STACK,

Hello,
we have a problem probably related to the ble-stack on our hardware. The chip being used is the CC2640R2F.

The ble-chip runs using passive scanning mode. We are reading GAP_Advertiser/Scanner_Events from the chip over a socket connected to /dev/ttyMSM1 on a linux system.
This works fine but after a while (sometimes <10 minutes), on some hardware, the ble-stack returns a UTIL_SystemError over the socket. This event usually comes 2 times in succession and soon after, no events are being send any more.

This is the event that we see before data output ends, the second line are the bytes of the event:
 780288 [1682071783.94972] blescanner:log_info: LBS_DEBUG (blescanner) event type 1666
 780295 [1682071783.95031] blescanner:log_info: 0x4 0xff 0x6 0x82 0x6 0x7 0x1 0x13 0x6

The only info about this event we have found comes from ble5stack/vendor_specific_guide and it gives us a rough idea on what's going on:
  UTIL_SystemError 0xFF 1    5   2     0x0682 (1666)

Right now, the only solution we see is restarting the chip.

The goal is to somehow make the chip send data/events again without having to restart it or ideally, completely avoid the state that no events are being send anymore.
Any ideas on how to debug this further would be very appreciated.

Kind regards,
Dajo