I'm trying to set the F28004x in HALT mode for lowest power consumption, here is following code for enter HALT, but it cannot acthived the current as data sheet:
EALLOW;
ClkCfgRegs.CLKSRCCTL1.bit.OSCCLKSRCSEL = 2; // use INTOSC1
ClkCfgRegs.XTALCR.bit.OSCOFF = 1; //Turn off XTALOSC
ClkCfgRegs.SYSPLLCTL1.bit.PLLCLKEN = 0;
ClkCfgRegs.CLKSRCCTL1.bit.WDHALTI = 0 ;
EDIS;
SysCtl_enterHaltMode();
Do I missed any command?
I don't configure the pin for wakeup and use external watchdog to reset the power to micro, is it OK to do this way?
Thanks
Ed Wong