Part Number:CC2640R2F
Tool/software:TI-RTOS
I am using TI BLE stack version 3.1.0(blestack not ble5stack), SDK(simplelink_cc2640r2_sdk_1_40_00_45)
My application uses "PowerCC26XX_standbyPolicy" in Power26XX.c as a power policy function
const PowerCC26XX_Config PowerCC26XX_config = {
.policyInitFxn = NULL,
.policyFxn = &PowerCC26XX_standbyPolicy,
.calibrateFxn = &PowerCC26XX_calibrate,
.enablePolicy = TRUE,
.calibrateRCOSC_LF = TRUE,
.calibrateRCOSC_HF = TRUE,
};From the defenition of PowerCC26XX_standbyPolicy,I have the following observations
1)When entering Standby ,the wake up interrupt is set considering RTOS input ( ticks = Clock_getTicksUntilInterrupt(); ),which is not done when switching to IDLE mode of cpu and also when entering PRCMSleep(); ,Do we have reason for this?
2)When doing it in this way we are struck in IDLE mode or WFI forever unitl we trigger some interrupt?
Do you have any time dependent parameter in above cases?
Do you have any recommended policy that can resolve my issue?