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/CC2650: Does the CC2650 support a timed wakeup from shutdown?

Part Number: CC2650
Other Parts Discussed in Thread: CC3200, CC2640, CC2640R2F

Tool/software: TI-RTOS

The comments in the Power_shutdown() routine in the Power.h file in RTOS 2.18 indicate the TI CC3200 supports a timed wakeup from shutdown, but does not say whether the CC2650 supports this.

Does someone know whether the timed wakeup from shutdown is supported by the CC2650? the CC2640? the CC2640r2f?

Thanks,

John

  • Hi,

    wakeup from shutdown is supported, but can be done only via GPIO events. The GPIOs have to be configured in a special way for that. You may want to try the pinShutdown example project.

    Here is also an overview take from the Technical Reference Manual. It shows which power mode supports what:

  • Thanks Richard,

    Is there a way to tell whether the chip experienced a hard reset?

    I would like to pursue a shutdown policy, whereby power is allowed to drain to the point where the cc2650 brownout detector triggers, resulting in a hard reset.

    My custom board will handle this correctly, so long as the GPIO's are released when the hard reset occurs.

    Do you know if anyone has been successful doing this?

    Regards,

    John

  • Please have a look at the pinShutdown example where this is shown. The function SysCtrlResetSourceGet() returns one of the following values:

    #define RSTSRC_PWR_ON               (( AON_SYSCTL_RESETCTL_RESET_SRC_PWR_ON    ) >> ( AON_SYSCTL_RESETCTL_RESET_SRC_S ))
    #define RSTSRC_PIN_RESET            (( AON_SYSCTL_RESETCTL_RESET_SRC_PIN_RESET ) >> ( AON_SYSCTL_RESETCTL_RESET_SRC_S ))
    #define RSTSRC_VDDS_LOSS            (( AON_SYSCTL_RESETCTL_RESET_SRC_VDDS_LOSS ) >> ( AON_SYSCTL_RESETCTL_RESET_SRC_S ))
    #define RSTSRC_VDD_LOSS             (( AON_SYSCTL_RESETCTL_RESET_SRC_VDD_LOSS  ) >> ( AON_SYSCTL_RESETCTL_RESET_SRC_S ))
    #define RSTSRC_VDDR_LOSS            (( AON_SYSCTL_RESETCTL_RESET_SRC_VDDR_LOSS ) >> ( AON_SYSCTL_RESETCTL_RESET_SRC_S ))
    #define RSTSRC_CLK_LOSS             (( AON_SYSCTL_RESETCTL_RESET_SRC_CLK_LOSS  ) >> ( AON_SYSCTL_RESETCTL_RESET_SRC_S ))
    #define RSTSRC_SYSRESET             (( AON_SYSCTL_RESETCTL_RESET_SRC_SYSRESET  ) >> ( AON_SYSCTL_RESETCTL_RESET_SRC_S ))
    #define RSTSRC_WARMRESET            (( AON_SYSCTL_RESETCTL_RESET_SRC_WARMRESET ) >> ( AON_SYSCTL_RESETCTL_RESET_SRC_S ))
    #define RSTSRC_WAKEUP_FROM_SHUTDOWN ((( AON_SYSCTL_RESETCTL_RESET_SRC_M        ) >> ( AON_SYSCTL_RESETCTL_RESET_SRC_S )) + 1 )
  • Thanks, Richard,

    Good answer...especially because it was the one I was hoping for.

    John

  • Thanks. But I realize only now that you were asking for timed wakeup, not a general wakeup. Timed wakeup from shutdown is not supported on CC13xx/CC26xx devices because all clocks are switched off as well. You would need an external RTC device or generate a GPIO event in a different way.