Hello Champions,
for power saving I would like to switch off TXCO when CC1352P goes in StandBy mode, and re-enable it when system wakes up.
I used this to register a callback
Power_registerNotify(&rFSwitchPowerNotifyObj, PowerCC26XX_ENTERING_STANDBY | PowerCC26XX_AWAKE_STANDBY, (Power_NotifyFxn) extTCXOStatusCb, NULL);
On the Callback we manage the DIO_x status :
static uint8_t extTCXOStatusCb (uint8_t eventType, uint32_t *eventArg, uint32_t *clientArg) { if (eventType == PowerCC26XX_ENTERING_STANDBY) { Board_RF_TCXO_Off(); } else if (eventType == PowerCC26XX_AWAKE_STANDBY) { Board_RF_TCXO_On(); } // Notification handled successfully return Power_NOTIFYDONE; }
This way is not working, CC1352P get reset each time TI-RTOS enters in STDBY . I think I'm switching off TCXO before System has really activated STDBY mode.
Have you any suggestion how I can reach my goal
Thank you,
Paolo