STM32 LowPower modes testing

  Рет қаралды 12,241

cbm80amiga

cbm80amiga

5 жыл бұрын

Features:
- regular mode
- ADC disabled
- pins set to analog input
- all not used peripherals clocks disabled
- prescaler modes
- HSI PLL modes
- stop
- standby (max deep sleep)
The code:
github.com/cbm80amiga/N5110_S...

Пікірлер: 35
@greensasque
@greensasque 4 жыл бұрын
Very nice. Thanks for posting this.
@ackmaniac5101
@ackmaniac5101 4 жыл бұрын
Great video.
@pablojeldes1212
@pablojeldes1212 2 жыл бұрын
hello, I am currently doing my thesis project, part of my job is to achieve low power consumption in a bluepill, I have doubts in low consumption modes, according to the data sheet in stop mode the stm32 reaches currents of order of the micro Ampere in the stop mode, however I never get those consumptions for the stop mode, in fact the current consumption gives me practically the same as what you show in this video. my teacher insists that the consumption of the bluepill must be equal to that of the stm32, my question is, do you know what the consumption is due to? in stop/8MHz mode I get 2mA and in run mode I get 9.8mA.
@Philip8888888
@Philip8888888 5 жыл бұрын
Nice video! How about clocking on LSI instead of HSI?
@eka3911
@eka3911 4 жыл бұрын
very nice you are the best tnx
@muaazbadrulhisham8313
@muaazbadrulhisham8313 3 жыл бұрын
Hai great tutorial there !, i want to ask question, if it is possible to wake up from standby mode using wakeup pin PA0 pin as button?
@user-fj9lp7ot7v
@user-fj9lp7ot7v 8 ай бұрын
Hi, I read from datasheet that the current consumption goes down to tens of microamps in standby mode. It is 0.32mA in the video? How can we further reduce it?
5 жыл бұрын
Very interesting. Some time ago I was looking for examples on how to reduce the STM32F103 power consumption, and found very little. Will you publish your code?
@cbm80amiga
@cbm80amiga 5 жыл бұрын
I've just added the link to my GitHub
@jacobdavis000
@jacobdavis000 4 жыл бұрын
Does anybody know what this song is?
@thomaspetit1994
@thomaspetit1994 5 жыл бұрын
Did you try with a screen i2c type SSD1302? I ask you the question, because with microcontrollers type atmega328, there are conflicts between the i2c and deep sleep modes.
@cbm80amiga
@cbm80amiga 5 жыл бұрын
I tried it with OLED too (SSD1306). But OLED i not lowpower friendly so I prefer LCDs in such applications. I didn't notice any issues with I2C, maybe because I use SoftwareI2C which is much faster and uses much less memory that Arduino Wire.
@thomaspetit1994
@thomaspetit1994 5 жыл бұрын
@@cbm80amiga Seeking why the alarm clock is not done, I realized that when I use an analogRead, the bug occurs .... When in my code I do not use analogRead, tut goes well
@thomaspetit1994
@thomaspetit1994 5 жыл бұрын
Looking a little not to put the pin analog standby, I can not do it, what do you think?
@thomaspetit1994
@thomaspetit1994 5 жыл бұрын
It s all right now: "sleepMode(false,delTime/1000); setPLL(RCC_PLLMUL_9); adc_enable(ADC1);" adc_enable(ADC1) at the end of function sleepMode() Thanks for your work ;)
@michaelpey932
@michaelpey932 5 жыл бұрын
boloss
@rocchirodrigo
@rocchirodrigo 3 жыл бұрын
How did you get as low as 1mA? On stop mode@24MHz I measured 3.9mA on my board! Do removing debugger pins (SWIO, SWCLK) make a difference? I see you just power it up with 3.3 and GND...
@cbm80amiga
@cbm80amiga 3 жыл бұрын
I only removed power LED. Make sure you have genuine STM32 bluepill, those fake chips can work different way.
@kolokarimsoro3293
@kolokarimsoro3293 4 жыл бұрын
Very Very good job ! Is a way to wakup from serial incoming value ? Thank you !
@jacobdavis000
@jacobdavis000 4 жыл бұрын
No.
@j.ag.3537
@j.ag.3537 4 жыл бұрын
yes you can ,on devices with LPUART.
@svvelanautica2374
@svvelanautica2374 5 жыл бұрын
Hello, thats a great demo showing the low power modes. Do you have any examples for using the STM32 generic core HAL Timer / interrupt timer.h ?
@chiraggoyal7637
@chiraggoyal7637 3 жыл бұрын
What libraries do I need to install in order to get this code working? Please tell, I have a delayed project just waiting because I have to implement sleep mode.
@cbm80amiga
@cbm80amiga 3 жыл бұрын
Mainly Roger's stm32duino. For N5110 I used my own N5110_SPI available at my github
@chiraggoyal7637
@chiraggoyal7637 3 жыл бұрын
@@cbm80amiga Thanks so much brother. Subscribed to your channel. Great content
@dr.emmettbrown8466
@dr.emmettbrown8466 2 жыл бұрын
Super
@annaoaulinovna
@annaoaulinovna Жыл бұрын
good chip
@irongarden8415
@irongarden8415 5 жыл бұрын
what is "stop" mode?
@cbm80amiga
@cbm80amiga 5 жыл бұрын
Look at STM32 datasheet for more details: 2.3.12 Low-power modes
@user-br6gp7hc4l
@user-br6gp7hc4l 2 ай бұрын
Спасибо
STM32. Low power mode
11:59
ФРТК МФТИ
Рет қаралды 1,8 М.
Testing power consumption of more than 20 development board
16:28
Volos Projects
Рет қаралды 6 М.
UNO!
00:18
БРУНО
Рет қаралды 3,5 МЛН
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 56 МЛН
STM32 HAL CUBE STANDBY MODE
9:11
ElectroHobby
Рет қаралды 12 М.
Fun with Transistors
24:33
HackMakeMod
Рет қаралды 87 М.
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
Analog Watch/Clock with STM32 RTC and ST7789 IPS LCD
3:34
cbm80amiga
Рет қаралды 20 М.
Stop, Intel’s Already Dead!
13:47
Linus Tech Tips
Рет қаралды 884 М.
Low Power Arduino! Deep Sleep Tutorial
24:14
Kevin Darrah
Рет қаралды 137 М.
Top Fifteen Mistakes People Make When Designing Prototype PCBs
12:26
Cosplay Light and Sound
Рет қаралды 142 М.
STM32. Обзор. Семейство STM32G0
35:36
NR.electronics
Рет қаралды 4,2 М.
Vision Pro наконец-то доработали! Но не Apple!
0:40
ÉЖИ АКСЁНОВ
Рет қаралды 691 М.