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.

CC1352P: How to use RCOSC with simplelink_cc13x2_sdk_2_30_00_45(ZStack)

Part Number: CC1352P
Other Parts Discussed in Thread: SIMPLELINK-CC13X2-26X2-SDK, CC2652R, , CC1352R

Hi all,

In BLE Stack,  

tell us how to use RCSOC. How about Zigbee Stack? Please tell me how to config RCOSC in ZStack(simplelink_cc13x2_sdk_2_30_00_45) Thank you

  • Hi Kimi,

    Have you considered changing the SET_CCFG_MODE_CONF_SCLK_LF_OPTION in ccfg.c?

    Regards,
    Ryan
  • Hi Ryan,

    Yes, After I add "#define SET_CCFG_MODE_CONF_SCLK_LF_OPTION 0x3" and remove external crystal. I got 2mA in idle mode, looks like the system doesn't enter sleep. Do I need change anything else to use RCSOC? Thank you
  • Hi Kimi,

    Are you using a ZED project for which RFD_RCVC_ALWAYS_ON=FALSE and the device has already been commissioned into the network? There are several power consumption issues involving the older SDKs and my recommendation is that you evaluate a CC2652R with the SIMPLELINK-CC13X2-26X2-SDK v3.10 for the same issue.  This is in preparation for the upcoming RTM of the CC1352P.

    Regards,
    Ryan

  • Hello Kimi,

    Is your issue resolved?

    Regards,
    Ryan

  • Hi Ryan,

    We follow your suggestion that porting the project to v3.1. After change SET_CCFG_MODE_CONF_SCLK_LF_OPTION to 0x3 and remove crystal, the power consumption increase to 1.6mA. When reconnect the crystal, it go back to 10uA. Can you help to verify this issue? BTW, this issue only see in OTA project

  • Hey Kimi,

    Have you replaced the oad_app.cfg file for v3.10? e2e.ti.com/.../

    Regards,
    Ryan
  • we will try the solution in the link you mentioned to see if the issue can be solved. By the way, does TI provides a known issue list that you already find in SDK 3.10?
  • Hi YK,

    Known/Fixed Issues and New Features are reported in the Stack README of every quarterly SIMPLELINK-CC13X2/26X2-SDK update, but a few issues that are observed between releases are delayed before they are publicly announced in the newest SDK version.

    Regards,
    Ryan
  • Hi Ryan,

    Yes, if I do not replace the oad_app.cfg, the power consumption is 4.1mA

  • It must be replaced as instructed for the optimal power consumption numbers, otherwise features are enabled for the debugger which drain additional current.

    Regards,
    Ryan
  • Hi Ryan,

    What do you mean "It must be replaced as instructed for the optimal power consumption numbers" ? My step is showing below. Do I need change  "SET_CCFG_MODE_CONF_SCLK_LF_OPTION" to other value?

    1. Import project and remove UART display and ROM – bootloder in predefined symbol

    xBOARD_DISPLAY_USE_UART

    xSET_CCFG_BL_CONFIG_BL_LEVEL=0x00

    xSET_CCFG_BL_CONFIG_BL_ENABLE=0xC5

    xSET_CCFG_BL_CONFIG_BL_PIN_NUMBER=0x0F

    xSET_CCFG_BL_CONFIG_BOOTLOADER_ENABLE=0xC5

    2. Compile and download project

    3. Reboot device(without joining network), the power consumption is 3~4mA

    4. replace oad_app.cfg(refer to https://e2e.ti.com/support/wireless-connectivity/zigbee-and-thread/f/158/t/790931/)

    5. Re-build, download and reboot, the the power consumption < 10uA

    6. Change setting to RCSOC, add "SET_CCFG_MODE_CONF_SCLK_LF_OPTION=0x3" in predefined symbol

    7. Re-build, download and reboot, the the power consumption < 10uA (we confirm that the 32.768K crystal does not work)

    8. remove external 32.768K crystal, the the power consumption is 1~2mA

  • Hi Kimi,

    The BIM application has to be flashed along with the ZED OTA client switch application, otherwise the device will not operate as expected. This is covered in the project README as well as the Zigbee User's Guide: dev.ti.com/.../ota_upgrade.html

    Are you aware of this and have already programmed the BIM?  The LF option should be set as well inside of this project's pre-definitions. Otherwise, are you stating that current consumption is as expected when a dysfunctional crystal is installed but then increases when it is removed? Have you also removed the load caps so that the pins are essentially not connected, as recommended in the device datasheet? And once more, is this behavior only noticed with OTA client projects?

    Regards,
    Ryan

  • Hi Ryan,

    Are you aware of this and have already programmed the BIM?

    --> Yes

    are you stating that current consumption is as expected when a dysfunctional crystal is installed but then increases when it is removed?

    -->Yes

    Have you also removed the load caps so that the pins are essentially not connected, as recommended in the device datasheet?

    -->Yes

     is this behavior only noticed with OTA client projects?

    -->Yes

  • Can you help to test this on your rev.E CC1352P LaunchPad?
  • Hi Ryan,
    we did below test. We find OTA project with internal RCOSC have power consumption problem. (We don't have CC1352P-2 launchpad rev.B. We just replace CC1352P rev.E chip on CC1352P-2 lauchpad.)
    We build 3 devices.
    1st device is CC1352R launchpad which is built with light of coordination.
    2nd device is CC1352P-2 launchpad which is built with Zed_SW_OTA and run SET_CCFG_MODE_CONF_SCLK_LF_OPTION=0x3, remove 32.768Khz crystal.
    3rd device is CC1352P-2 launchpad which is built with Zed_SW_OTA and SET_CCFG_MODE_CONF_SCLK_LF_OPTION=0x2 from default, 32.768Khz is on board.

    After the 2nd & 3rd devices join the 1st device, we measure power consumption. The 2nd device is around 1~2mA, 3rd device can be down to 0.001mA .
  • I tested with an updated Rev E LAUNCHXL-CC1352P-2 and was not able to recreate the symptoms described, both before and after commissioning the device into the network. I will loop in the hardware team to comment on any changes between versions that could affect power consumption, meanwhile I would recommend that you resource an updated LaunchPad.

    Regards,
    Ryan
  • Hi Ryan,

    We can solve this problem when add SET_CCFG_MODE_CONF_SCLK_LF_OPTION=0x3 in BIM project. Thank you for your help.