This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
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
Ed,
Sorry for the delay in responses.
Please let me know anything else we can do to help with your issue.
Regards,
Cody
Thanks Cody
I measured about 14mA, it is approximately number because I can only measure with input of buck-boost switcher only which power the micro.
Here is sequence for going to HALT mode:
SysCtl_enterHaltMode();
EALLOW;
// CpuSysRegs.LPMCR.bit.LPM = 0x2;
// ClkCfgRegs.CLKSRCCTL1.bit.WDHALTI = 1 ;
Flash_powerDown(FLASH0CTRL_BASE); //Turnoff Flash
ClkCfgRegs.SYSPLLCTL1.bit.PLLEN = 0; // power down PLL
EDIS;
I don't see any current change when I shutdown the Flash and PLL.
Thanks
Ed
Ed,
Please see the first response in this E2E post and follow the steps detailed in the document.
Regards,
Ozino