In my application I already follow the "Power Management For The CC2530" docs,
compile option: POWER_SAVING
f8wConfig.cfg
-DRFD_RCVC_ALWAYS_ON=FALSE
I have some questions:
TIMER sleep: what is the period length of the timeout before it goes to TIMER sleep?
DEEP sleep: what is the period length of the timeout before it goes to DEEP sleep?
From OSAL.c
#if defined( POWER_SAVING ) && !defined(USE_ICALL)
else // Complete pass through all task events with no activity?
{
osal_pwrmgr_powerconserve(); // Put the processor/system into sleep
}
#endif
How to force it to enter sleep mode in application?
For example I want to do it like this using button:
if ( keys & HAL_KEY_SW_6 )
{
???? // Put the processor/system into sleep
}
Thank you