Other Parts Discussed in Thread: CC2652RB, , SIMPLELINK-CC13XX-CC26XX-SDK, SYSCONFIG
Hello There,
We try to save power and shutdown/wake-up a CC2652RB (developing with launchpad and custom board, too), final product should be CC2652RB based running on a battery. The current implementation discharges one battery per day so it is not feasible to use meaning power consumption must be drastically reduced.
The idea was shutting down the processor using Power_shutdown(PowerCC26XX_ENTERING_SHUTDOWN, 10000); so that the processor goes down for about 10s, then it wakes up, does its job and then gets shut down again .The final application would not reboot like every 10s, rather like every 5 minutes or so.
I looked into the document titled as SimpleLink SDK Power Management and read that CC26XX has three sleep states: WFI, IDLE and STANDBY. So, by calling the actual Power_shutdown I was hoping to get into STANDBY state and then get rebooted after a given time from the second function parameter. The standby state is initiated properly but the LP-CC2652RB LaunchPad never wakes up to restart/reboot the application.
The documentation of Power.h mentions that some device families support the second parameter: shutdownTime while others do not. Does actually CC2652RB support it and should it wake up after the time is expired?
If yes, is there a common issue what it can cause the processor not to wake up? If CC2652RB would not support that feature then probably the Sensor Controller could: Is the Sensor Controller able to trigger a complete reboot based on a timer or is it only able to wake it up from Task_sleep?
So, the ideal solution for us would be stopping the cortex core completely and restart only on a timer after which it stops itself and awaken by a timer again.
What do you think, what is the best approach to get this behavior working - and is Power_shutdown supposed to use the reboot timer for CC26XX?
Thank you,\
Sandor