donsbin 发表于 2017-4-17 20:18:05

STM32F030停机模式功耗随激励电压变化

想用030C4的片子做低功耗的产品,发现电源在3.3V的时候电流消耗60uA
然后把电源电压调整到2.8V,电流变成了5uA。最小系统板,外围没接任何东西
static void Goip_Init(void)
{
    GPIO_InitTypeDef      GPIO_InitStructure;

    RCC_AHBPeriphClockCmd(RCC_AHBPeriph_GPIOA|RCC_AHBPeriph_GPIOB|RCC_AHBPeriph_GPIOC, ENABLE);
    GPIO_InitStructure.GPIO_Pin = GPIO_Pin_All;
    GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AN;
    GPIO_InitStructure.GPIO_OType = GPIO_OType_PP;
    GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
    GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_DOWN;
    GPIO_Init(GPIOA, &GPIO_InitStructure);
    GPIO_Init(GPIOB, &GPIO_InitStructure);
    GPIO_Init(GPIOC, &GPIO_InitStructure);   
}

int main(void)
{
    RCC_APB1PeriphClockCmd(RCC_APB1Periph_PWR,ENABLE);
      Goip_Init();
    PWR_EnterSTOPMode(PWR_Regulator_LowPower,PWR_STOPEntry_WFI);
      while(1);
}

gujiamao 发表于 2017-8-11 09:16:39

这么小的电流 怎么测量的

jack_mcu 发表于 2017-8-11 10:46:27

LSI关掉,看门狗也关掉

无薪税绵 发表于 2017-8-11 12:33:39

理论上,功耗应该是恒定的,
会不会是测量方法不对呢?
页: [1]
查看完整版本: STM32F030停机模式功耗随激励电压变化