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.

CC1312R: Cannot wake-up from shutdown

Part Number: CC1312R

Hi,
I test the RTC wake-up

I try to test gioshutdown example from TI, first.
I test by LAUNCHXL CC1312R1.

When press BTN-1, module goes to shutdown, LED off.
But, when press BTN-2 to wake-up CC1312, but module do not wake-up. No blinking LED.
GPIO14 goes to low.

What is the problem?

BR
Paul

  • Hi Paul,

    Please make sure you are not in the debug mode.

    After you flash the firmware, reset the device once. After this, you shall see the intended behavior of the application. 

    This is mentioned in the Readme of the example.

    If you flash the firmware and then press btn 1 without issuing a reset I see that it does not wake up when pressing Btn 2. The reset is necessary after flashing the firmware. 

    Regards,

    Sid

  • Hi,

    Thanks.

    gpioshutdown works well.

    My app. can shutdown and wake-up well.
    But, after wake-up, it looks run not on from first my code.
    I have 4 threads running. one of them call shutdown function.
    All thread some print out to uart at thread start, but only shutdown thread print is shown at wake-up, other threads looks runing continuously.

    gioshutdown app looks run  from first code. Is that why gioshutdown has one thread?
    Only restarted thread is the thread calling shutdown?

    My app is OK?

    BR
    Paul

  • Hi Paul, 

    You could measure the current to check if the device is in shutdown. 

    In the 4 thread scenario, I would expect the device to still go into shutdown.

    Regards,

    Sid

  • Hi Paul,

    There is an explanation of the behavior. 

    When you call the Power_shutdown() API. The system shuts down and freezes all the latches of the pins.

    There is no prints possible until you run the release latches API. 

    In the GPIO_shutdown example, this is done in the mainThread if button 2 is pressed to wake up from shut_down.

    /* Application code must always disable the IO latches when coming out of shutdown */
    PowerCC26X2_releaseLatches();

    And it is also done when you reset the device.

    So, in your case, if the other UART prints happens before the latches are released, they are not printed out. Try releasing the latches in the highest priority thread. This should fix the issue. 

    Regards,

    Sid