3116 views|1 replies

3180

Posts

0

Resources
The OP
 

STM32L151 low power consumption problem [Copy link]

My schematic diagram has an indicator light, 10 buttons, and a Bluetooth module. For low power mode, a MOS tube is used to cut off the Bluetooth power supply. Now, when the Bluetooth power supply is cut off, it enters the stop mode. Stop_Mode(); …… void Stop_Mode(void) { /*Enter low power mode*/ LP_Run_Mode(); RCC->APB1ENR|=1<<28; //Enable power clock PWR_VoltageScalingConfig(PWR_VoltageScaling_Range2);//1.5v PWR->CR &= ~(3<<0); //Clear PDDS and LPDSR PWR->CR |= 1<<0; //set LPDSR /* Set SLEEPDEEP bit of Cortex System Control Register */ SCB->SCR |= SCB_SCR_SLEEPDEEP; RCC->APB1ENR &= ~(1<<28); /*Turn off power clock*/ __WFI(); /* Reset SLEEPDEEP bit of Cortex System Control Register */ SCB->SCR &= (uint32_t)~((uint32_t)SCB_SCR_SLEEPDEEP); } I measured the current and it was about 360uA. Is the power consumption a bit high? Also, after entering low power consumption, the operating frequency seems to be reduced. What's going on? Thank you!

This post is from stm32/stm8

Latest reply

Check the device manual according to the low power mode you use to see if it is consistent. If it obviously exceeds the parameters in the device manual, check the peripheral and IO configuration.  Details Published on 2019-4-17 14:46
Personal signature为江山踏坏了乌骓马,为社稷拉断了宝雕弓。
 

1w

Posts

142

Resources
2
 
Check the device manual according to the low power mode you use to see if it is consistent. If it obviously exceeds the parameters in the device manual, check the peripheral and IO configuration.
This post is from stm32/stm8
 
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list