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: Use of Power down mode on CC2650

Part Number: CC2650

Tool/software: TI-RTOS

Hello

I want to enter to power down mode. I wish to be awake on gpio. And to wake up I wish to make a reset

Can you explain how to configure this.

I found in the examples : Power_shutdown(unsigned int shutdownState, uint32_t shutdownTime);

But I do not know how to set the wake up pin and I do not know how to use the parameters of the function.

i use the sensotag(cc2650)

Thanks

  • What version of TI-RTOS are you using?

    Have you seen the pinShutdown example that comes with TI-RTOS?  It sets up a pin for a button to put the device into shutdown, and another pin for a different button to wake the device from shutdown. 

    You can find this example in the CCS Resource Explorer, for example:

    And the sources are at a location similar to:  C:\ti\tirtos_cc13xx_cc26xx_2_21_00_06\examples\TI\CC2650STK\pinShutdown

    Regarding the parameters to Power_shutdown()... for CC2650 both of these parameters are not used, since there is only one shutdown state, and there is no support for a timed wake from shutdown.  So for example, you can use a call such as:  Power_shutdown(NULL, 0);

    Regards,
    Scott

  • Thanks

    my problem is solved.
    i use this exemple

    Best regards