Official ST low power library:
https://github.com/stm32duino/STM32LowPower
All low power modes are explained there also.
The most power efficient mode without loosing RAM is deepsleep.
Search found 405 matches
- Wed Jun 03, 2020 8:11 pm
- Forum: General discussion
- Topic: Sleep modes for STM32F1
- Replies: 5
- Views: 9825
- Tue May 26, 2020 2:52 pm
- Forum: General discussion
- Topic: What causes the stm32 RTC to reset?
- Replies: 18
- Views: 13686
Re: What causes the stm32 RTC to reset?
"rtc.setClockSource(STM32RTC::LSE_CLOCK); " needs to be called before rtc.begin();
all about rtc library:
https://github.com/stm32duino/STM32RTC
- Sun May 10, 2020 11:06 pm
- Forum: General discussion
- Topic: What causes the stm32 RTC to reset?
- Replies: 18
- Views: 13686
Re: What causes the stm32 RTC to reset?
It's just source for RTC, nothing else.
Don't know what board you're using, but with blue pills I found built-in RTC unreliable, probably due to bad quality oscillators.
Don't know what board you're using, but with blue pills I found built-in RTC unreliable, probably due to bad quality oscillators.
- Sun May 03, 2020 10:29 pm
- Forum: General discussion
- Topic: What causes the stm32 RTC to reset?
- Replies: 18
- Views: 13686
Re: What causes the stm32 RTC to reset?
You need to set RTC source to LSE if you want it to work in shutdown mode or without power (just with RTC battery).
- Sat Jan 25, 2020 12:08 am
- Forum: General discussion
- Topic: Blue pill current usage
- Replies: 8
- Views: 9856
Re: Blue pill current usage
It all depends on what peripherals you have enabled as each one of them uses power if enabled.
I get from about 30 to 50mA (with 1.3" OLED).
I've attached page from stm32f103x8 datasheet with graphs showing current consumption.
each LED on blue pill board uses about 2mA.
I get from about 30 to 50mA (with 1.3" OLED).
I've attached page from stm32f103x8 datasheet with graphs showing current consumption.
each LED on blue pill board uses about 2mA.