Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

CC1310: How to Wake up the microcontroller from the stand-by mode using I/O Interrupt?

Part Number: CC1310

Hello,

I am using CC1310 Launchpad and CCS to program it. I want my microcontroller to wake up from stand-by mode when I/O interrupts occurs. I am using the sleep() function to put into standby mode. I am building noRTOS application. Following is the API I am using to wake it up.

 AONEventMcuWakeUpSet(AON_EVENT_MCU_WU2,AON_EVENT_DIO1);       //Wake up on edge detect on IO1 pin

Following is the pseudo code to help you understand what my application needs to do

ISR()
{
   Wake up;
   FLAG = 1;
}

main()
{

Required Configurations;

while(1)

{
   if(FLAG = 0)
     sleep(infinite time);
   else
   {
      Clear the interrupt;
      tx the data; 
      FLAG = 0;
    }
}

}

But the problem is microcontroller is not waking up. As soon as an interrupt occurs it execute the ISR and then goes to sleep again i.e. it resumes wherever it stops before going to ISR.

why i am not able to wake it up using the above API? what configurations i am missing?