Tool/software: TI-RTOS
Hi,
My goal is to put my msp432 into sleep and to wake it up x hour later or by an external interrupt(I will need to switch this policies).
I have enabled the sleep policy.
const PowerMSP432_Config PowerMSP432_config = {
.policyInitFxn = &PowerMSP432_initPolicy,
.policyFxn = &PowerMSP432_sleepPolicy,
.initialPerfLevel = 2,
.enablePolicy = true,
.enablePerf = true
};
So the processor should go to sleep when I call Task_sleep().
But I as I see the processor dos not go to sleep.
Moreover I don't know how to enable the RTC_C to wake up later on.
The examples I found are only for MspWare.
Can you please help how can I put msp432 to sleep & wake it up on interrupt or RTC alarm with TI RTOS.
Thank you