Hello, support team!
I am testing DA 14585 using the latest SDK 6.0.8.
And I am using the Dialog evaluation kit (Pro).
Setting it to LP_CLK_XTAL32 (external clock) is working.
If this is set to LP_CLK_RCX 20 (internal colck) it will stop working.
When debugging, line 447 of rwip.c
It seems to stop with ASSERT_WARNING (! USE_XTAL16M_ADAPTIVE_SETTLING).
The setting is as follows.
*Used Project Name: ble_app_barebone
*Changed code:
\ user_config.h
static const sleep_state_t app_default_sleep_mode = ARCH_EXT_SLEEP_ON
.intv_min = MS_TO_BLESLOTS (417.5)
.intv_max = MS_TO_BLESLOTS (417.5)
\ da 1458 x _ config_advanced.h
#define CFG_LP_CLK LP_CLK_RCX 20
#define CFG_ENABLE_SMP_SECURE // 6.0.8 only
\ arch.h
#define STARTUP_SLEEP_DELAY_DEFAULT (160) // 0.1 sec & 6.0.4 / 6.0.8 only
I have tested that it works on both XTAL32 and RCX20 setting in the older version (I tested with SDK 6.0.4 and 6.0.6).
When using RCX 20 settings with the latest SDK 6.0.8, do I have to set something else?
Is SDK 6.0.8 different from the previous version?
Best regards,
Jun-ichi

Hello, support team!
I will update about setting conditions.
An error occurs (stops at line 447 of rwip.c) under the following conditions.
* SDK 6.0.8 only
* \ user_config.h
static const sleep_state_t app_default_sleep_mode = ARCH_EXT_SLEEP_ON
* \ da 1458 x _ config_advanced.h
#define CFG_LP_CLK LP_CLK_RCX 20
When SDK 6.0.6 is used, it works normally.
Best regards,
Jun-ichi
Hi
I found a similar problem
试着改变这个da1458x_config_adva # undefnced.h
/****************************************************************************************************************/
/* Enable power optimizations using the XTAL16M adaptive settling algorithm. */
/* NOTE: The XTAL16M adaptive settling algorithm works only with XTAL23K and not with RCX, as the LP clock. */
/****************************************************************************************************************/
#undef CFG_XTAL16M_ADAPTIVE_SETTLING
This allowed the device to run with the internal oscillator.
Hi Jun-ichi Tobe,
Thank you for using our new SDK. The XTAL16M adaptive settling algorithm works only with XTAL23K and not with RCX, as the LP clock, so you should undefine theCFG_XTAL16M_ADAPTIVE_SETTLINGfrom da1458x_config_advanced.h header file. Could you please let us know if your problem fixed with that?
Thanks, PM_Dialog
Hi boydy1989 & PM_Dialog !
I can confirm that it is working on RXC 20 setting while setting #undef CFG_XTAL16M_ADAPTIVE_SETTLING setting.
Thank you for your support.
Jun-ichi