SDK metric and RCX

reference: LPCBARESDK-882

Status: Open

First reported: 6.0.16.1144

Fixed in: TBD

Description

The DA14585 (SDK6) system software provides a simple API to enable the BLE statistics measurement feature. When enabled with the CFG_BLE_METRICS in da1458x_config_advanced.h file, code is added in the radio data to compare between programmed sleep time and real sleep time, this comparison might not work under certain conditions when DA14585/586 is using RCX as the low power clock.This results in a Hardfault. Here are some observations.

  • The hardfault is only observed when compiled in debug mode and can’t happen when the SDK is built in production mode. In debug mode the mis-calculation might result in a miss of the next BLE event.

  • The hardfault occurred in certain DA14585/586 samples.

  • The hardfault can be reproduced with previous SDK6 releases (e.g SDK 6.0.16).

Note Same issue is seen also on the LPCBARESDK-692, the only difference is that on the LPCBARESDK-692 the fail is systematically when temperature is higher than 105ºC.

Workaround

This issue shows up only on some DA14585/DA14586 samples in the specific conditions described previously, it is a corner case. Contact your Renesas representative to obtain appropriate support.