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.

RTOS/CC2652R: CC2652R SDK 3.10 zed_sw_ota_client could not enter sleep mode forever even joined successful(power consumption current ~ 4.1mA)

Part Number: CC2652R


Tool/software: TI-RTOS

1. bim_offchip project build utilize IAR 8.32.3 with Debug_unsecure option.

2. the poll rate 30 minutes:

/* Determine whether the radio on an End Device is always on */
#ifndef RFD_RCVC_ALWAYS_ON
#define RFD_RCVC_ALWAYS_ON            FALSE
#endif

/* The number of milliseconds to wait between data request polls to the coordinator. */
/* 1000*60*30=30 minutes */
#ifndef POLL_RATE
#define POLL_RATE                     1800000
#endif

3. macro definition:

ZCL_READ
ZCL_DISCOVER
ZCL_WRITE
ZCL_BASIC
ZCL_IDENTIFY
ZCL_SCENES
ZCL_GROUPS
ZCL_ON_OFF
TIMAC_ROM_IMAGE_BUILD
TIMAC_ROM_PATCH
FREQ_2_4G
OSAL_PORT2TIRTOS
OSAL_PORT2TIRTOS_OSALMAP
STACK_LIBRARY
RCN_APP_ASSERT
HAL_ASSERT_SPIN
ZDO_API_BASIC
TC_LINKKEY_JOIN
NV_RESTORE
NV_INIT
FEATURE_NON_BEACON_MODE
ZCL_STANDALONE
MAX_DEVICE_TABLE_ENTRIES=50
DEVICE_FAMILY=cc26x0
CC26X2R1_LAUNCHXL
DeviceFamily_CC26X2
SET_CCFG_BL_CONFIG_BL_LEVEL=0x00
SET_CCFG_BL_CONFIG_BL_ENABLE=0xC5
SET_CCFG_BL_CONFIG_BL_PIN_NUMBER=0x0F
SET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE=0xC5
OTA_CLIENT_CC26XX
OTA_CLIENT=TRUE
OTA_HA
OTA_MANUFACTURER_ID=0xBEBE
OTA_APP_VERSION=0x00000001
SWITCH_OTA
NVSSPI
CC26X2
OTA_TYPE_ID=0x2652
Board_EXCLUDE_NVS_EXTERNAL_FLASH
OTA_STANDALONE

  • Hi behold,

    Did you evaluate the same project with the v2.40 SDK? There is a known issue involving zed_sw_ota_client specifically regarding the v3.10 SDK where oad_app.cfg is used in the debug configuration. This will be corrected in the next release but until then You can fix the issue by deleting oad_app.cfg, making a copy of app_release.cfg then renaming it to oad_app.cfg and editing m3Hwi.resetVectorAddress = 0x50;, and reimporting any OTA client projects or copying the new oad_app.cfg into your workspace. Let us know if this improves the power consumption of your device.

    Edit: This fix was not implemented in the v3.20 release and will still need to be updated manually for this version of the SDK.

    Regards,
    Ryan

  • Yes,you are right,modify oad_app.cfg according your suggestion,the sleep mode power consumption current from 4.1mA to 0.001mA,very good.