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.

CC3220S: Regarding the LPDS configuration

Part Number: CC3220S

Hi,

We need confirmation regarding two things about putting the device into LPDS mode.

1) Is it possible to configure multiple GPIO wakeup sources for waking up from the LPDS mode?

2) Is it possible to use the RTC wakeup and GPIO wakeup in conjunction? If yes, we would need a code sample for the same as we have tried using these two in conjunction but the device once put into sleep would not wakeup with out the sem_post even if the sleep timer (sleep(ms)  function which is used for RTC wakeup) is over.

Regards

Ravija 

  • Hi Ravija,

    1) You can only wakeup from LPDS from one GPIO source

    2)We don't have an example of this, but i can explain one way of accomplishing this. First you can configure the GPIO to wakeup the device in LPDS by looking at the power struct in CC3220_launchxl.c. Once this is configured you can enable the power policy if TI-RTOS determines it can go into LPDS it will. The next step you could take is in your idle function, and a timer so that you sleep for a specific amount of time, and not indefinitely. I would just use a software timer, so calling sleep(10) would put you to sleep for 10 seconds.

    Best Regards,,

    Vince