2019-12-09 06:47 PM
void main(void)
{
clock_setup();
GPIO_Config();
CLK->ICKCR |= 0x10;//SAHALT; //0.03ma
CLK_HaltConfig(CLK_Halt_FastWakeup,ENABLE);
FLASH_PowerWaitModeConfig(FLASH_Power_IDDQ);
PWR_UltraLowPowerCmd(ENABLE); // no diff
FLASH_PowerWaitModeConfig(FLASH_Power_IDDQ);//no diff
disableInterrupts(); //no diff
halt();
while(1)
{
//halt();
}
i have try using stvd to develope stml052R8
while i am using the halt mode to make it in the LOWest power consumption mode, however, i measure the current there 's still 0.08ma ...
can anyone suggest or pinpointing my problem?
thanks
Jeff