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.

[FAQ] CC2652R: CC13x2 CC26x2 SDK Zigbee Known Issues and Fixes

Guru 93650 points

Replies: 1

Views: 383

Part Number: CC2652R

simplelink_cc13x2_26x2_sdk_3_20_00_68

1. The zed_sw_ota_client project's oad_app.cfg file is used in the debug configuration.

Delete the original oad_app.cfg inside your workspace, copy app_release.cfg from <SDK_source>\source\ti\zstack\rtos into the project, rename it to oad_app.cfg and edit m3Hwi.resetVectorAddress = 0xA8;

2. The default poll rates are mistakenly initialized in a pre-compiled library which renders POLL_RATE in zstack_config.h as ineffective

Users should update their poll rate inside the application at run-time.  An example of this is shown in the zcl_samplesw.c file inside the BDB_COMMISSIONING_NWK_STEERING case with Z_POWER_TEST and POWER_TEST_POLL_[ACK/DATA] defined.

zstack_sysConfigWriteReq_t writeReq = { 0 };
// Set the new poll rates
writeReq.has_pollRate = true;
writeReq.pollRate = POLL_RATE;
writeReq.pollRateType = POLL_RATE_TYPE_DEFAULT;
Zstackapi_sysConfigWriteReq(appServiceTaskId, &writeReq);
// disable response and queued poll rates
writeReq.pollRate = 0xFFFFFFFF;
writeReq.pollRateType = POLL_RATE_TYPE_QUEUED;
Zstackapi_sysConfigWriteReq(appServiceTaskId, &writeReq);
writeReq.pollRateType = POLL_RATE_TYPE_RESPONSE;
Zstackapi_sysConfigWriteReq(appServiceTaskId, &writeReq);

3. The incorrect CCS version is provided in the SDK Release Notes

CCS-9.1.0 should be used instead of CCS-9.0.0

4. Power consumption is higher than expected for ZEDs not commissioned into a Zigbee network

Make the following changes to zstackstartup.c

#include “nwk_util.h”
...
static void stackInit(void)
{
...
    // Initialize basic NV items
    zgInit();
 
    // Since the AF isn't a task, call it's initialization routine
    afInit();
 
    stackServiceFxnsInit();
 
    //Initialize default poll rates
    nwk_InitializeDefaultPollRates();
 
    osal_nv_write(ZCD_NV_POLL_RATE,0, sizeof(nwk_pollRateTable), &nwk_pollRateTable);
 
    /* Initialize MAC buffer */
    macLowLevelBufferInit();
...
}

5. Devices will not automatically rejoin the network if the UI is disabled

This is due to BDB commissioning initialization starting inside UI_Init, if BOARD_DISPLAY_USE_UART is removed from the project pre-defined symbols then the following code should be placed inside of the application initialization:

zstack_bdbStartCommissioningReq_t zstack_bdbStartCommissioningReq;
zstack_bdbStartCommissioningReq.commissioning_mode = 0;
Zstackapi_bdbStartCommissioningReq(uiAppEntity,&zstack_bdbStartCommissioningReq);

Regards,
Ryan

To better aid the community, please click on the "This Resolved my issue" button whenever a post answers your question!

1 Reply

  • Good to know, thanks!

    Regards,
    Toby

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.