Tool/software:
The VREF is setup at SYSCFG.
The VREF module needs to be turn off to save the power before enter the STANDBY mode.
Here is the code:
{
DL_VREF_disablePower(VREF);
CheckTimer = false;
NVIC_EnableIRQ(TIMER_0_INST_INT_IRQN); //1s timer
DL_TimerG_startCounter(TIMER_0_INST);
// DL_SYSCTL_setPowerPolicySTOP2(); // test 550ua current
DL_SYSCTL_setPowerPolicySTANDBY0(); // test 200ua current
while (false == CheckTimer) {
__WFE();
}
The STANDBY current is about 200ua for above code.
But if VREF is not setup (deleted) at SYSCFG. The STANDBY current is only 5ua.
It seems the DL_VREF_disablePower(VREF) does not work.
Do I miss some coding ?
